Core/Spells: fixed tooltip display for Mage's triggered Pyroblast DoT

This commit is contained in:
Ovahlord committed 2018-05-20 15:07:31 +02:00
1 parent b5cb35691f
commit a2a24b6abd
1 file changed
+1 -1
+1 -1
View File
@@ -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