From 21acd79acf381f53111b8be6390311a84018daf4 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 2 Nov 2015 17:58:35 -0500 Subject: [PATCH] Fix procs that have end cost from consuming end --- zone/spells.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 6b5707278..9ec68c3ff 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2267,7 +2267,9 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16 } } // one may want to check if this is a disc or not, but we actually don't, there are non disc stuff that have end cost - if (spells[spell_id].EndurCost) { + // lets not consume end for custom items that have disc procs. + // One might also want to filter out USE_ITEM_SPELL_SLOT, but DISCIPLINE_SPELL_SLOT are both #defined to the same thing ... + if (spells[spell_id].EndurCost && !isproc) { auto end_cost = spells[spell_id].EndurCost; if (mgb) end_cost *= 2;