Esempio n. 1
0
 public Damage Attack(LivingBase target, Damage damage)
 {
     if (isDead)
     {
         return(Damage.NONE);
     }
     return(target.DoDamage(damage));
 }
Esempio n. 2
0
 public Damage Attack(LivingBase target)
 {
     if (isDead)
     {
         return(Damage.NONE);
     }
     return(target.DoDamage(new Damage(power)));
 }
Esempio n. 3
0
 public int Attack(LivingBase target)
 {
     if (isDead)
     {
         return(-1);
     }
     return(target.DoDamage(new Damage(power)));
 }