public static void FirstRoundKind(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { ((Orc)evil).OwnWolf.Power -= kind.Power; if (((Orc)evil).OwnWolf.Power < 0) { ((Orc)evil).Power += ((Orc)evil).OwnWolf.Power; ((Orc)evil).OwnWolf.Power = 0; } }
public static void ThirdRoundEvil(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { if (kind is Wizard || kind is Rohhirim) { FirstRoundEvil(ref kind, ref evil); } else { kind.Power -= evil.Power; } }
public static void ThirdRoundKind(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { if (evil is Orc && ((Orc)evil).OwnWolf != null) { FirstRoundKind(ref kind, ref evil); } else { evil.Power -= kind.Power; } }
public static void FirstRoundEvil(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { if (kind is Rohhirim) { ((Rohhirim)kind).OwnHorse.Power -= evil.Power; if (((Rohhirim)kind).OwnHorse.Power < 0) { ((Rohhirim)kind).Power += ((Rohhirim)kind).OwnHorse.Power; ((Rohhirim)kind).OwnHorse.Power = 0; } } else if (kind is Wizard) { ((Wizard)kind).OwnHorse.Power -= kind.Power; if (((Wizard)kind).OwnHorse.Power < 0) { ((Wizard)kind).Power += ((Wizard)kind).OwnHorse.Power; ((Wizard)kind).OwnHorse.Power = 0; } } }
public static void SecondRoundEvil(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { kind.Power -= evil.Power; }
public static void SecondRoundKind(ref MiddleEarthCitizen kind, ref MiddleEarthCitizen evil) { evil.Power -= kind.Power; }