Fixed Judgement of Light not procing for non-mana users

Signed-off-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Lazzalf authored and Shauren committed 2011-01-31 15:32:21 +01:00
1 parent 42007bb0a9
commit c0b15c0091
1 file changed
-3
-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