From 1d6a185f0f9d82cf407e90883d9d65bfaa5c3f68 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 19 Aug 2015 22:21:17 -0400 Subject: [PATCH] Break "same spell line" optimizations for mana burns --- zone/spells.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 690cbf71f..63c91fc48 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2789,7 +2789,8 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2, bool effect_match = true; // Figure out if we're identical in effects on all slots. if (spellid1 != spellid2) { for (i = 0; i < EFFECT_COUNT; i++) { - if (sp1.effectid[i] != sp2.effectid[i]) { + // we don't want this optimization for mana burns + if (sp1.effectid[i] != sp2.effectid[i] || sp1.effectid[i] == SE_ManaBurn) { effect_match = false; break; }