Fixed Judgement of Light not procing for non-mana users
Signed-off-by: Shauren <[email protected]>
This commit is contained in:
@@ -6530,12 +6530,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
// Judgement of Light
|
||||
case 20185:
|
||||
{
|
||||
if (pVictim->getPowerType() == POWER_MANA)
|
||||
{
|
||||
// 2% of base mana
|
||||
basepoints0 = int32(pVictim->CountPctFromMaxHealth(2));
|
||||
pVictim->CastCustomSpell(pVictim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
// Judgement of Wisdom
|
||||
|
||||
Reference in New Issue
Block a user