[9027] Restore spell bonus apply to dot damage for 17962 damage calculation.

In fact reverting wrong part of my one from prev. commits.
This commit is contained in:
VladimirMangos 2009-12-19 20:59:15 +03:00
parent 9b6900b9a3
commit ff229af00a
2 changed files with 3 additions and 2 deletions

View file

@ -475,7 +475,8 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
// found Immolate or Shadowflame
if (aura)
{
int32 damagetick = aura->GetModifier()->m_amount;
// DoT not have applied spell bonuses in m_amount
int32 damagetick = m_caster->SpellDamageBonus(unitTarget, aura->GetSpellProto(), aura->GetModifier()->m_amount, DOT);
damage += damagetick * 4;
// Glyph of Conflagrate