public override void attack(IDefender DefenderVisitor) { int damage; damage = DefenderVisitor.Defend(this); this.GetDamage(damage); }
public override void attack(IDefender DefenderVisitor) { int damage; damage = DefenderVisitor.Defend(this); GetDamage(Math.Max(1, (damage - Armor))); }
public override void attack(IDefender DefenderVisitor) { int damage; damage = DefenderVisitor.Defend(this); if (damage != 0) { Speed++; } GetDamage(damage); }