Example #1
0
 public override void Attack(Character target)
 {
     this.Mana -= 100;
     target.Health -= 2 * this.Damage;
 }
Example #2
0
 public abstract void Attack(Character target);
Example #3
0
 public override void Attack(Character target)
 {
     target.Health -= this.Damage;
 }
Example #4
0
 public void Heal(Character target)
 {
     this.Mana -= 100;
     target.Health += 150;
 }