mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
Break "same spell line" optimizations for mana burns
This commit is contained in:
parent
60c6583c54
commit
1d6a185f0f
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user