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
|
// Judgement of Light
|
||||||
case 20185:
|
case 20185:
|
||||||
{
|
{
|
||||||
if (pVictim->getPowerType() == POWER_MANA)
|
|
||||||
{
|
|
||||||
// 2% of base mana
|
// 2% of base mana
|
||||||
basepoints0 = int32(pVictim->CountPctFromMaxHealth(2));
|
basepoints0 = int32(pVictim->CountPctFromMaxHealth(2));
|
||||||
pVictim->CastCustomSpell(pVictim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
|
pVictim->CastCustomSpell(pVictim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Judgement of Wisdom
|
// Judgement of Wisdom
|
||||||
|
|||||||
Reference in New Issue
Block a user