mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Update zDarkTigerStats.cs
Record Team the player was on
This commit is contained in:
parent
6f9a19def4
commit
40834b1599
1 changed files with 5 additions and 0 deletions
|
|
@ -786,6 +786,8 @@ $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "shockHitMaxDist";
|
||||||
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "packpickupCount";
|
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "packpickupCount";
|
||||||
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "weaponpickupCount";
|
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "weaponpickupCount";
|
||||||
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "repairpackpickupCount";
|
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "repairpackpickupCount";
|
||||||
|
|
||||||
|
$dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "dtTeam";
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////
|
||||||
$dtStats::uFC["dtStats"] = 0; // not saved but used to calculate other stats that are saved
|
$dtStats::uFC["dtStats"] = 0; // not saved but used to calculate other stats that are saved
|
||||||
|
|
@ -3211,6 +3213,9 @@ function DefaultGame::postGameStats(%game,%client){ //stats to add up at the end
|
||||||
else if(%game.class $= "LakRabbitGame"){
|
else if(%game.class $= "LakRabbitGame"){
|
||||||
%client.flagTimeMin = mFloor((%client.flagTimeMS / 1000)/60);
|
%client.flagTimeMin = mFloor((%client.flagTimeMS / 1000)/60);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Record clients team
|
||||||
|
%client.dtTeam = %client.team;
|
||||||
}
|
}
|
||||||
|
|
||||||
function DefaultGame::getGamePct(%game)
|
function DefaultGame::getGamePct(%game)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue