public void SpyArmyNotOwned() { NotOwnedArmy.location = MyPlayerCharacter.location.ToString(); Character leader = NotOwnedArmy.GetLeader(); if (leader != null) { leader.location = MyPlayerCharacter.location; } this.SpyArmyTest(client, NotMyPlayerCharacter.charID, NotOwnedArmy.armyID); }
public void SpyArmyValid() { if (NotOwnedArmy == null) { Assert.Fail("NotOwnedArmy is null"); return; } NotOwnedArmy.location = MyPlayerCharacter.location.id; Character leader = NotOwnedArmy.GetLeader(); if (leader != null) { leader.location = MyPlayerCharacter.location; } this.SpyArmyTest(client, MyPlayerCharacter.charID, NotOwnedArmy.armyID); }