From 677df56d2da9eb5ae997537c9cc952ac86c8f8db Mon Sep 17 00:00:00 2001 From: ariel- Date: Fri, 14 Apr 2017 19:07:11 -0300 Subject: 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 9414f50f5c60b03871b4bd8d147786f77476ea04) --- src/server/game/Spells/SpellMgr.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 22f2e0cd530..b1d52d1906e 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -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); -- cgit v1.2.3