mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Core/Auras: don't skip stack rule check whenever spells have same ID
- The auras might not have the same amounts due to spellmods
Closes #1626
(cherry picked from commit 9414f50f5c)
This commit is contained in:
@@ -376,8 +376,6 @@ SpellGroupStackRule SpellMgr::CheckSpellGroupStackRules(SpellInfo const* spellIn
|
||||
|
||||
uint32 spellid_1 = spellInfo1->GetFirstRankSpell()->Id;
|
||||
uint32 spellid_2 = spellInfo2->GetFirstRankSpell()->Id;
|
||||
if (spellid_1 == spellid_2)
|
||||
return SPELL_GROUP_STACK_RULE_DEFAULT;
|
||||
|
||||
// find SpellGroups which are common for both spells
|
||||
SpellSpellGroupMapBounds spellGroup1 = GetSpellSpellGroupMapBounds(spellid_1);
|
||||
|
||||
Reference in New Issue
Block a user