Core/Spell: fix broken Unit::GetHighestExclusiveSameEffectSpellGroupValue
- Affects 3 aura effects currently, should be rewritten with GetTotalAuraModifier maybe?
This commit is contained in:
1 parent
d2d7a2cb14
commit
2ed7602af2
1 file changed
+3
-3
@@ -1454,10 +1454,10 @@ void SpellMgr::LoadSpellGroupStackRules()
|
||||
continue;
|
||||
}
|
||||
|
||||
mSpellGroupStack.emplace(SpellGroup(group_id), SpellGroupStackRule(stack_rule));
|
||||
|
||||
// different container for same effect stack rules, need to check effect types
|
||||
if (stack_rule != SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT)
|
||||
mSpellGroupStack.emplace(SpellGroup(group_id), SpellGroupStackRule(stack_rule));
|
||||
else
|
||||
if (stack_rule == SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT)
|
||||
sameEffectGroups.push_back(group_id);
|
||||
|
||||
++count;
|
||||
|
||||
Reference in new issue
Block a user