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

@@ -133,7 +133,7 @@ class spell_sha_t10_restoration_4p_bonus : public AuraScript
}
int32 amount = CalculatePct(healInfo->GetHeal(), aurEff->GetAmount()) / triggeredSpell->GetMaxTicks();
eventInfo.GetProcTarget()->CastDelayedSpellWithPeriodicAmount(GetTarget(), triggered_spell_id, SPELL_AURA_PERIODIC_HEAL, amount, EFFECT_0);
eventInfo.GetProcTarget()->CastDelayedSpellWithPeriodicAmount(GetTarget(), triggered_spell_id, SPELL_AURA_PERIODIC_HEAL, amount, aurEff, EFFECT_0);
}
void Register() override