예제 #1
0
        public override int Fight(Creature opponent)
        {
            if (opponent.Health >= Health * 2)
            {
                Health = 0;
            }
            else
            {
                opponent.Health -= AttackValue;
            }

            return opponent.Health;
        }
예제 #2
0
 public virtual int Fight(Creature opponent)
 {
     opponent.Health -= AttackValue;
     return opponent.Health;
 }