Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }