mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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
|
||||
if (aura)
|
||||
{
|
||||
// DoT not have applied spell bonuses in m_amount
|
||||
int32 damagetick = m_caster->SpellDamageBonusDone(unitTarget, aura->GetSpellProto(), aura->GetModifier()->m_amount, DOT);
|
||||
damagetick = unitTarget->SpellDamageBonusTaken(m_caster, aura->GetSpellProto(), damagetick, DOT);
|
||||
int32 damagetick = aura->GetModifier()->m_amount;
|
||||
damage += damagetick * 4;
|
||||
|
||||
// Glyph of Conflagrate
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9801"
|
||||
#define REVISION_NR "9802"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue