adjust amount of gems as win reward
This commit is contained in:
parent
d16f83af00
commit
95649a5f14
@ -1228,8 +1228,13 @@ public class UHC extends TeamGame
|
||||
if (teamsAlive.size() <= 1)
|
||||
{
|
||||
if (teamsAlive.size() > 0)
|
||||
{
|
||||
for (Player player : teamsAlive.get(0).GetPlayers(false))
|
||||
AddGems(player, 8000, "Winning Team", false, false);
|
||||
{
|
||||
int gems = Math.round((System.currentTimeMillis() - getPlayerIngameTime(player))/1000);
|
||||
AddGems(player, gems, "Winning Team", false, false);
|
||||
}
|
||||
}
|
||||
|
||||
AnnounceEnd(teamsAlive.get(0));
|
||||
SetState(GameState.End);
|
||||
|
Loading…
Reference in New Issue
Block a user