public override void OnResponse(NetState sender, RelayInfo info) { var entryID = info.ButtonID - 1; if (entryID < 0 || entryID >= AnimalForm.Entries.Length) { return; } var mana = m_Spell.ScaleMana(m_Spell.RequiredMana); var entry = AnimalForm.Entries[entryID]; if (mana > m_Caster.Mana) { // You must have at least ~1_MANA_REQUIREMENT~ Mana to use this ability. m_Caster.SendLocalizedMessage(1060174, mana.ToString()); } else if (m_Caster is PlayerMobile mobile && mobile.MountBlockReason != BlockMountType.None) { mobile.SendLocalizedMessage(1063108); // You cannot use this ability right now. }