示例#1
0
 public static void engagement(List <Humanoid> attackerTeam, List <Humanoid> attackedTeam, Humanoid attacker, Humanoid attacked, bool TurnInfo)
 {
     attacker.fight(attacked);
     if (attacked.health <= 0)
     {
         attackedTeam.Remove(attacked);
     }
 }
示例#2
0
 public void forceattack(Humanoid person)
 {
     if (strength > person.strength)
     {
         fight(person);
     }
     else
     {
         person.fight(this);
     }
 }