Invulnerable olympiad participants until start timer ends.

This commit is contained in:
MobiusDevelopment
2020-04-29 23:04:35 +00:00
parent 9f5670d8e4
commit c8a31356a0
16 changed files with 32 additions and 0 deletions

View File

@ -245,6 +245,7 @@ public class OlympiadGameTask implements Runnable
delay = getDelay(BATTLE_START_TIME_FIRST);
if (_countDown <= 0)
{
_game.makePlayersInvul();
_game.resetDamage();
_stadium.openDoors();
@ -268,6 +269,7 @@ public class OlympiadGameTask implements Runnable
if (_countDown <= 0)
{
_state = GameState.BATTLE_STARTED;
_game.removePlayersInvul();
}
break;
}