public SurvivorGump(Mobile from, SurvivorStone pSurvivorStone) : this() { caller = from; SurvivorStone = pSurvivorStone; this.InitializeGump(); }
public SurvivorInviteGump(Mobile from, SurvivorStone pSurvivorStone) : this() { caller = from; SurvivorStone = pSurvivorStone; }
public void AutoStartEvent() { // Sorteia alguma SurvivorStone pelo mundo List <SurvivorStone> survivorStoneList = new List <SurvivorStone>(); foreach (Item item in World.Items.Values) { if (item is SurvivorStone && ((SurvivorStone)item).IsArenaConfigValid()) { survivorStoneList.Add((SurvivorStone)item); } } if (survivorStoneList.Count > 0) { currentSurvivorStone = survivorStoneList[new Random().Next(survivorStoneList.Count)]; currentSurvivorStone.AnnounceAndStartSurvivor(null); } else { Logger.LogMessage("Survivor Automatico Cancelado. Nenhuma Arena Configurada.", "Survivor"); } }