Fix some bard stacking issues (mainly AE DOT)

Please report if it breaks anything (shouldn't)
This commit is contained in:
Michael Cook (mackal)
2018-12-17 00:51:18 -05:00
parent bfe85a2f1b
commit bbbee6e6b2
3 changed files with 19 additions and 0 deletions
+4
View File
@@ -3021,6 +3021,10 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2,
if(effect1 != effect2)
continue;
if (IsBardOnlyStackEffect(effect1) && GetSpellLevel(spellid1, BARD) != 255 &&
GetSpellLevel(spellid2, BARD) != 255)
continue;
// big ol' list according to the client, wasn't that nice!
if (IsEffectIgnoredInStacking(effect1))
continue;