Esempio n. 1
0
 public void StealMana(int amount, Battler opponent, bool direct = false)
 {
     if (!direct && !CanStealMana(opponent))
     {
         return;
     }
     opponent.Mana -= amount;
     Mana          += amount;
 }
Esempio n. 2
0
 public void StealMana(Monster attacker, Battler opponent, bool direct = false)
 {
     if (!attacker.CanAttack || (!direct && !CanStealMana(opponent)))
     {
         return;
     }
     StealMana(attacker.Level, opponent, direct);
     attacker.CanAttack = false;
     HasMoved           = true;
 }
Esempio n. 3
0
 public bool CanStealMana(Battler opponent)
 {
     return(CanAttack() && !opponent.HasMonstersSummoned());
 }