Core/Auras: don't skip stack rule check whenever spells have same ID
Port From (https://github.com/TrinityCore/TrinityCore/commit/677df56d2da9eb5ae997537c9cc952ac86c8f8db)
This commit is contained in:
@@ -396,8 +396,7 @@ namespace Game.Entities
|
||||
{
|
||||
uint spellid_1 = spellInfo1.GetFirstRankSpell().Id;
|
||||
uint spellid_2 = spellInfo2.GetFirstRankSpell().Id;
|
||||
if (spellid_1 == spellid_2)
|
||||
return SpellGroupStackRule.Default;
|
||||
|
||||
// find SpellGroups which are common for both spells
|
||||
var spellGroup1 = GetSpellSpellGroupMapBounds(spellid_1);
|
||||
List<SpellGroup> groups = new List<SpellGroup>();
|
||||
|
||||
Reference in New Issue
Block a user