Core/Spells: Fire OnEffectSuccessfulDispel for SPELL_EFFECT_DISPEL_MECHANIC

Port From (https://github.com/TrinityCore/TrinityCore/commit/9f401946d3b2c246469b5b2702a5d08c0472b4fa)
This commit is contained in:
Hondacrx
2025-08-11 19:53:15 -04:00
parent 2c9db326f6
commit f967062529
+2
View File
@@ -3894,6 +3894,8 @@ namespace Game.Spells
dispel_list.RemoveAt(0);
}
CallScriptSuccessfulDispel(effectInfo.EffectIndex);
m_UniqueTargetInfo.Find(p => p.TargetGUID == unitTarget.GetGUID()).ProcHitMask |= ProcFlagsHit.Dispel;
}