Fixed double bonus for Hammer of Wrath, already in spell_bonus_data
--HG-- branch : trunk
This commit is contained in:
@@ -699,15 +699,6 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
|||||||
}
|
}
|
||||||
case SPELLFAMILY_PALADIN:
|
case SPELLFAMILY_PALADIN:
|
||||||
{
|
{
|
||||||
// Hammer of Wrath
|
|
||||||
if (m_spellInfo->SpellFamilyFlags[1]&0x00000080)
|
|
||||||
{
|
|
||||||
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
|
|
||||||
int32 holy = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo)) +
|
|
||||||
m_caster->SpellBaseDamageBonusForVictim(GetSpellSchoolMask(m_spellInfo), unitTarget);
|
|
||||||
|
|
||||||
damage += int32(ap * 0.15f) + int32(holy * 0.15f);
|
|
||||||
}
|
|
||||||
// Hammer of the Righteous
|
// Hammer of the Righteous
|
||||||
else if (m_spellInfo->SpellFamilyFlags[1]&0x00040000)
|
else if (m_spellInfo->SpellFamilyFlags[1]&0x00040000)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user