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:
hondacrx
2020-05-12 23:43:56 -04:00
parent d8104a0032
commit 09f26b305f
+1 -2
View File
@@ -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>();