From 839b6e25d882f3e00d9153b59412f4b35718c90e Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 24 Aug 2015 02:15:41 -0400 Subject: [PATCH] Fix "same spell line" optimization for same spell mana burns ... --- zone/spells.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zone/spells.cpp b/zone/spells.cpp index 63c91fc48..340f8faf2 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2795,6 +2795,9 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2, break; } } + } else if (IsEffectInSpell(spellid1, SE_ManaBurn)) { + Log.Out(Logs::Detail, Logs::Spells, "We have a Mana Burn spell that is the same, they won't stack"); + return -1; } // check for special stacking overwrite in spell2 against effects in spell1