Fix Judgement of Vengeance/Corruption damage. By footman, closes #88

--HG--
branch : trunk
This commit is contained in:
spp
2009-12-13 12:31:01 +01:00
parent 3fc61524ff
commit 5011397fba
+1 -1
View File
@@ -684,7 +684,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
damage += int32(0.25f*ap + 0.4f*sp); damage += int32(0.25f*ap + 0.4f*sp);
} }
// Judgement of Wisdom, Light, Justice // Judgement of Wisdom, Light, Justice
else if (m_spellInfo->SpellFamilyFlags[0]&0x00800000) else if (m_spellInfo->SpellFamilyFlags[0] & 0x00800000 && m_spellInfo->Id != 31804 && m_spellInfo->Id != 53733)
{ {
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK); float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo)); float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo));