mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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
|
// found Immolate or Shadowflame
|
||||||
if (aura)
|
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;
|
damage += damagetick * 4;
|
||||||
|
|
||||||
// Glyph of Conflagrate
|
// Glyph of Conflagrate
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9026"
|
#define REVISION_NR "9027"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue