mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9802] Fix 17962 damage broken after [9798] commit
This commit is contained in:
parent
9d8aab98e6
commit
dbf19ba5e3
2 changed files with 2 additions and 4 deletions
|
|
@ -508,9 +508,7 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
|
||||||
// found Immolate or Shadowflame
|
// found Immolate or Shadowflame
|
||||||
if (aura)
|
if (aura)
|
||||||
{
|
{
|
||||||
// DoT not have applied spell bonuses in m_amount
|
int32 damagetick = aura->GetModifier()->m_amount;
|
||||||
int32 damagetick = m_caster->SpellDamageBonusDone(unitTarget, aura->GetSpellProto(), aura->GetModifier()->m_amount, DOT);
|
|
||||||
damagetick = unitTarget->SpellDamageBonusTaken(m_caster, aura->GetSpellProto(), damagetick, 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 "9801"
|
#define REVISION_NR "9802"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue