Example #1
0
 public virtual int getSkillDamage(Hero t)
 {
     return(Math.Max(aSkill.Action(t) - t.def, 0));
 }
Example #2
0
 public bool checkDead(Hero t)
 {
     return(t.health <= 0);
 }
Example #3
0
 public override int Action(Hero target)
 {
     Console.WriteLine("Performing Mage's skill!");
     return(this.dmg);
 }
Example #4
0
 public abstract int Attack(Hero target);
Example #5
0
 public abstract int Action(Hero target);