public void AttackTooFarFromArmy() { OwnedArmy.location = OwnedFief.id; if (OwnedArmy.GetLeader() != null) { OwnedArmy.GetLeader().location.id = OwnedArmy.location; } this.AttackTest(client, OwnedArmy.armyID, NotOwnedArmy.armyID); }
public void AttackBadArmy() { OwnedArmy.location = NotOwnedArmy.location; if (OwnedArmy.GetLeader() != null) { OwnedArmy.GetLeader().location.id = NotOwnedArmy.location; } this.AttackTest(client, OwnedArmy.armyID, "NotanArmyId"); }
public void AttackMyself() { OwnedArmy.location = NotOwnedArmy.location; if (OwnedArmy.GetLeader() != null) { OwnedArmy.GetLeader().location.id = NotOwnedArmy.location; } this.AttackTest(client, OwnedArmy.armyID, OwnedArmy.armyID); }
public void AttackNullArmy() { client.ClearMessageQueues(); OwnedArmy.location = NotOwnedArmy.location; if (OwnedArmy.GetLeader() != null) { OwnedArmy.GetLeader().location.id = NotOwnedArmy.location; } this.AttackTest(client, OwnedArmy.armyID, null); }