Exemplo n.º 1
0
        public override int Fight(Creature opponent)
        {
            if (opponent.Health >= Health * 2)
            {
                Health = 0;
            }
            else
            {
                opponent.Health -= AttackValue;
            }

            return opponent.Health;
        }
Exemplo n.º 2
0
 public virtual int Fight(Creature opponent)
 {
     opponent.Health -= AttackValue;
     return opponent.Health;
 }