*Remove obsolete code for Judgement of Light.
--HG-- branch : trunk
This commit is contained in:
@@ -6199,14 +6199,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
// Judgement of Light
|
||||
case 20185:
|
||||
{
|
||||
// Get judgement caster
|
||||
Unit *caster = triggeredByAura->GetCaster();
|
||||
if (!caster)
|
||||
return false;
|
||||
float ap = caster->GetTotalAttackPowerValue(BASE_ATTACK);
|
||||
int32 holy = caster->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_HOLY) +
|
||||
caster->SpellBaseDamageBonusForVictim(SPELL_SCHOOL_MASK_HOLY, this);
|
||||
basepoints0 = int32(ap*0.10f + 0.10f*holy);
|
||||
pVictim->CastCustomSpell(pVictim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user