From e510608a3fad9f3f7a8901a91fb5015bfa05446c 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 f8ff9eddd..a0c0954e8 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -8545,7 +8545,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 ) ) {