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); } }
public void forceattack(Humanoid person) { if (strength > person.strength) { fight(person); } else { person.fight(this); } }