Core/Spells: fixed tooltip display for Mage's triggered Pyroblast DoT
This commit is contained in:
1 parent
b5cb35691f
commit
a2a24b6abd
1 file changed
+1
-1
@@ -1995,7 +1995,7 @@ class spell_mage_pyroblast : public SpellScriptLoader
|
||||
if (Unit* caster = GetCaster())
|
||||
if (SpellInfo const* spell = sSpellMgr->GetSpellInfo(SPELL_MAGE_PYROBLAST))
|
||||
if (Aura* aura = target->GetAura(GetSpellInfo()->Id))
|
||||
aura->GetEffect(EFFECT_1)->SetBonusAmount(caster->SpellDamageBonusDone(target, spell, 0, DOT, EFFECT_1));
|
||||
aura->GetEffect(EFFECT_1)->SetAmount(aura->GetEffect(EFFECT_1)->GetAmount() + caster->SpellDamageBonusDone(target, spell, 0, DOT, EFFECT_1));
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in new issue
Block a user