Example #1
0
 public bool CurePetrify(Combatant source)
 {
     Petrify = false;
     if (!(Sleep || Stop || Paralysed || Imprisoned))
     {
         TurnTimer.Reset();
     }
     return(true);
 }
Example #2
0
        protected override void Kill()
        {
            _c.HP = 0;

            CureAll(this);
            TurnTimer.Reset();
            PauseTimers();

            // TODO: final attack
        }
Example #3
0
        protected override void Kill()
        {
            _hp    = 0;
            _death = true;

            CureAll(this);
            TurnTimer.Reset();
            PauseTimers();

            RunAICounterDeath();
        }
Example #4
0
 public void ChangeTurn()
 {
     _playerIndex++;
     if (_playerIndex >= AllPlayers.Length)
     {
         _playerIndex = 0;
     }
     ActivePlayer.StartTurn();
     TurnTimer.Stop();
     TurnTimer.Reset();
     TurnTimer.StartTimer();
     OnTurnChanged();
 }