Exemplo n.º 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);
 }
Exemplo n.º 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");
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }