From 6b8c39d388f01c104322503f46e4d1c609bbeef0 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 31 Mar 2017 14:30:17 -0400 Subject: [PATCH] Disable charm clicks at <= 0 --- zone/client_packet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 7e488487e..3d73089c6 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -8548,7 +8548,8 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app) (spells[spell_id].targettype == ST_Ring) || (IsSilenced() && !IsDiscipline(spell_id)) || (IsAmnesiad() && IsDiscipline(spell_id)) || - (IsDetrimentalSpell(spell_id) && !zone->CanDoCombat()) + (IsDetrimentalSpell(spell_id) && !zone->CanDoCombat()) || + inst->GetExp() <= 0 // charms don't have spells when less than 0 ) ) {