fix(Core/Spells): Beacon of Light should not proc off from Glyph of Holy Light and Judgement of Light. (#10564)

Fixed #2782
This commit is contained in:
UltraNix
2022-03-14 15:51:09 +01:00
committed by GitHub
parent e25f4068f6
commit c0e12e297d

View File

@@ -7233,6 +7233,12 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
if (!victim)
return false;
// Do not proc from Glyph of Holy Light and Judgement of Light
if (procSpell->Id == 20267 || procSpell->Id == 54968)
{
return false;
}
Unit* beaconTarget = triggeredByAura->GetBase()->GetCaster();
if (!beaconTarget || beaconTarget == this || !beaconTarget->GetAura(53563, victim->GetGUID()))
return false;