[11200] Move hard-coded AP coefficients for spells 1776, 8680, 13218 and ranks to spell_bonus_data table.

This commit is contained in:
Lynx3d 2011-02-23 12:58:58 +01:00
parent 07734bafd4
commit 3f86c5a865
6 changed files with 13 additions and 21 deletions

View file

@ -650,21 +650,6 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
damage += combo*40;
}
}
// Gouge
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000008))
{
damage += int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK)*0.21f);
}
// Instant Poison
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000002000))
{
damage += int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK)*0.10f);
}
// Wound Poison
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000010000000))
{
damage += int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK)*0.04f);
}
break;
}
case SPELLFAMILY_HUNTER: