fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)

Fixes #8543
This commit is contained in:
UltraNix
2021-10-24 06:23:04 +02:00
committed by GitHub
parent 993570fa8b
commit 96441a91dc
8 changed files with 103 additions and 35 deletions

View File

@@ -629,7 +629,7 @@ void SpellScript::CreateItem(uint32 effIndex, uint32 itemId)
SpellInfo const* SpellScript::GetTriggeringSpell()
{
return m_spell->m_triggeredByAuraSpell;
return m_spell->m_triggeredByAuraSpell.spellInfo;
}
void SpellScript::FinishCast(SpellCastResult result)