Fix one palain seal damage calculation (remove dead code)

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-17 20:24:24 +03:00
parent 2cd801a9ef
commit a17dd3c0a0
2 changed files with 11 additions and 19 deletions

View file

@ -1608,6 +1608,14 @@ void Spell::EffectDummy(uint32 i)
switch(m_spellInfo->Id)
{
// Judgement of Righteousness (0.2*$AP+0.32*$SPH) holy added in spellDamagBonus
case 20187:
{
if (!unitTarget)
return;
m_damage+=int32(0.2f*m_caster->GetTotalAttackPowerValue(BASE_ATTACK));
return;
}
case 31789: // Righteous Defense (step 1)
{
// 31989 -> dummy effect (step 1) + dummy effect (step 2) -> 31709 (taunt like spell for each target)