Esempio n. 1
0
 public void attack(BattleCharacter performer, BattleCharacter target)
 {
     performer.subtractMP(cost);
     performer.Attack(target, new Attack {
         power = spellPower(performer),
         type  = attackTypeFromSpellType(type)
     });
 }
Esempio n. 2
0
 public static void Attack(BattleCharacter attacker, BattleCharacter defender)
 {
     attacker.Attack(defender, new Attack {
         power = attacker.character.strength
     });
 }