Esempio n. 1
0
 public void ClearAll()
 {
     Active = true;
     foreach (PlayerMobile opponent in OpponentTeam)
     {
         opponent.IsInChallenge = false;
     }
     foreach (PlayerMobile challenger in ChallengeTeam)
     {
         challenger.IsInChallenge = false;
     }
     ChallengeTeam.Clear();
     ChallengerDead.Clear();
     OpponentTeam.Clear();
     OpponentDead.Clear();
 }
Esempio n. 2
0
        public void ClearAll()
        {
            Active = true;
            ArrayList Players = new ArrayList();

            foreach (PlayerMobile opponent in OpponentTeam)
            {
                opponent.IsInChallenge = false;
                Players.Add(opponent);
                opponent.CloseGump(typeof(ReportMurdererGump));
            }
            foreach (PlayerMobile challenger in ChallengeTeam)
            {
                challenger.IsInChallenge = false;
                Players.Add(challenger);
                challenger.CloseGump(typeof(ReportMurdererGump));
            }
            ChallengeTeam.Clear();
            ChallengerDead.Clear();
            OpponentTeam.Clear();
            OpponentDead.Clear();
            new InvulTimer(Players).Start();
        }