public override void OnResponse(NetState sender, RelayInfo info) { Mobile from = sender.Mobile; if (_Altar == null) { return; } int button = info.ButtonID; switch (button) { case 0: { break; } case 1: { _Altar.Enter(from); break; } } }
public override void Confirm(Mobile from) { if (m_Altar == null) { return; } m_Altar.AddFighter(from, true); if (!m_Altar.IsAvailable && m_Altar.Peerless != null && m_Altar.Peerless.Alive) { m_Altar.AddFighter(from); m_Altar.Enter(from); } }