mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
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)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user