fix(Core/Spells): Lightning Overload should not proc off from itself. (#15595)

Fixes #15499
This commit is contained in:
UltraNix
2023-03-29 06:28:00 +02:00
committed by GitHub
parent 7035e87543
commit d4f8134b3b

View File

@@ -8318,6 +8318,12 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
if (procEx & PROC_EX_CRITICAL_HIT)
damage /= 2;
// do not proc off from itself
if (procSpell->Id == 45297 || procSpell->Id == 45284)
{
return false;
}
do
{
uint32 spell = 0;