public void StealMana(int amount, Battler opponent, bool direct = false) { if (!direct && !CanStealMana(opponent)) { return; } opponent.Mana -= amount; Mana += amount; }
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; }
public bool CanStealMana(Battler opponent) { return(CanAttack() && !opponent.HasMonstersSummoned()); }