mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11200] Move hard-coded AP coefficients for spells 1776, 8680, 13218 and ranks to spell_bonus_data table.
This commit is contained in:
parent
07734bafd4
commit
3f86c5a865
6 changed files with 13 additions and 21 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue