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:
@@ -7233,6 +7233,12 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
if (!victim)
|
if (!victim)
|
||||||
return false;
|
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();
|
Unit* beaconTarget = triggeredByAura->GetBase()->GetCaster();
|
||||||
if (!beaconTarget || beaconTarget == this || !beaconTarget->GetAura(53563, victim->GetGUID()))
|
if (!beaconTarget || beaconTarget == this || !beaconTarget->GetAura(53563, victim->GetGUID()))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user