Fix "same spell line" optimization for same spell mana burns ...

This commit is contained in:
Michael Cook (mackal) 2015-08-24 02:15:41 -04:00
parent 39e35fa011
commit 839b6e25d8

View File

@ -2795,6 +2795,9 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2,
break; 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 // check for special stacking overwrite in spell2 against effects in spell1