mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[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:
parent
9b6900b9a3
commit
ff229af00a
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue