Fixed Judgement of Light not procing for non-mana users

Signed-off-by: Shauren <[email protected]>
This commit is contained in:
Lazzalf
2011-01-31 15:32:21 +01:00
committed by Shauren
parent 42007bb0a9
commit c0b15c0091
-3
View File
@@ -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