mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 07:34:36 +00:00
Formatting, more flag hold points
This commit is contained in:
parent
6e13179850
commit
defba0c1fd
1 changed files with 6 additions and 6 deletions
|
|
@ -1554,8 +1554,8 @@ function LakRabbitGame::recalcScore(%game, %client)
|
||||||
%timeHoldingFlagMS = %client.flagTimeMS;
|
%timeHoldingFlagMS = %client.flagTimeMS;
|
||||||
if (isObject(%client.player.holdingFlag))
|
if (isObject(%client.player.holdingFlag))
|
||||||
%timeHoldingFlagMS += getSimTime() - %client.startTime;
|
%timeHoldingFlagMS += getSimTime() - %client.startTime;
|
||||||
if(Game.PubPro) %client.score = %client.flagGrabs + (%client.kills*5) + %client.morepoints + mFloor(%timeHoldingFlagMS / 4000);
|
if(Game.PubPro) %client.score = %client.flagGrabs + (%client.kills*5) + %client.morepoints + mFloor(%timeHoldingFlagMS / 3000);
|
||||||
else %client.score = %client.flagGrabs + %client.kills + %client.morepoints + mFloor(%timeHoldingFlagMS / 4000);
|
else %client.score = %client.flagGrabs + %client.kills + %client.morepoints + mFloor(%timeHoldingFlagMS / 3000);
|
||||||
messageClient(%client, 'MsgYourScoreIs', "", %client.score);
|
messageClient(%client, 'MsgYourScoreIs', "", %client.score);
|
||||||
%game.recalcTeamRanks(%client);
|
%game.recalcTeamRanks(%client);
|
||||||
%game.checkScoreLimit(%client);
|
%game.checkScoreLimit(%client);
|
||||||
|
|
@ -1953,15 +1953,15 @@ function LakRabbitGame::resetScore(%game, %client)
|
||||||
%client.morepoints = 0;
|
%client.morepoints = 0;
|
||||||
|
|
||||||
// new debriefing stuff
|
// new debriefing stuff
|
||||||
%client.mas = 0;
|
%client.mas = 0;
|
||||||
%client.totalSpeed = 0;
|
%client.totalSpeed = 0;
|
||||||
%client.totalDistance = 0;
|
%client.totalDistance = 0;
|
||||||
%client.totalChainAccuracy = 0;
|
%client.totalChainAccuracy = 0;
|
||||||
%client.totalChainHits = 0;
|
%client.totalChainHits = 0;
|
||||||
%client.totalSnipeHits = 0;
|
%client.totalSnipeHits = 0;
|
||||||
%client.totalSnipes = 0;
|
%client.totalSnipes = 0;
|
||||||
%client.totalShockHits = 0;
|
%client.totalShockHits = 0;
|
||||||
%client.totalShocks = 0;
|
%client.totalShocks = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function LakRabbitGame::enterMissionArea(%game, %playerData, %player)
|
function LakRabbitGame::enterMissionArea(%game, %playerData, %player)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue