Beispiel #1
0
 public void AttackTooFarFromArmy()
 {
     OwnedArmy.location = OwnedFief.id;
     if (OwnedArmy.GetLeader() != null)
     {
         OwnedArmy.GetLeader().location.id = OwnedArmy.location;
     }
     this.AttackTest(client, OwnedArmy.armyID, NotOwnedArmy.armyID);
 }
Beispiel #2
0
 public void AttackBadArmy()
 {
     OwnedArmy.location = NotOwnedArmy.location;
     if (OwnedArmy.GetLeader() != null)
     {
         OwnedArmy.GetLeader().location.id = NotOwnedArmy.location;
     }
     this.AttackTest(client, OwnedArmy.armyID, "NotanArmyId");
 }
Beispiel #3
0
 public void AttackMyself()
 {
     OwnedArmy.location = NotOwnedArmy.location;
     if (OwnedArmy.GetLeader() != null)
     {
         OwnedArmy.GetLeader().location.id = NotOwnedArmy.location;
     }
     this.AttackTest(client, OwnedArmy.armyID, OwnedArmy.armyID);
 }
Beispiel #4
0
 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);
 }