fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)

Fixes #13330
This commit is contained in:
UltraNix
2023-01-06 00:50:53 +01:00
committed by GitHub
parent ac2466030e
commit 96fa9c5c7b
7 changed files with 28 additions and 16 deletions

View File

@@ -126,7 +126,7 @@ class spell_dru_t10_balance_4p_bonus : public AuraScript
SpellInfo const* triggeredSpell = sSpellMgr->GetSpellInfo(triggered_spell_id);
int32 amount = CalculatePct(eventInfo.GetDamageInfo()->GetDamage(), aurEff->GetAmount()) / triggeredSpell->GetMaxTicks();
eventInfo.GetProcTarget()->CastDelayedSpellWithPeriodicAmount(GetTarget(), triggered_spell_id, SPELL_AURA_PERIODIC_DAMAGE, amount, EFFECT_0);
eventInfo.GetProcTarget()->CastDelayedSpellWithPeriodicAmount(GetTarget(), triggered_spell_id, SPELL_AURA_PERIODIC_DAMAGE, amount, aurEff, EFFECT_0);
//GetTarget()->CastCustomSpell(triggered_spell_id, SPELLVALUE_BASE_POINT0, amount, eventInfo.GetProcTarget(), true, nullptr, aurEff);
}