Core/Spells: Pain and Suffering will now also recalculate the periodic tick interval of Shadow Word: Pain

This commit is contained in:
Ovahlord
2021-05-23 13:27:20 +02:00
parent 01cef2e044
commit 76cee22609

View File

@@ -565,6 +565,7 @@ class spell_pri_pain_and_suffering_proc : public SpellScript
if (AuraEffect* aurEff = GetHitUnit()->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, 0x8000, 0, 0, caster->GetGUID()))
{
aurEff->RecalculateAmount(caster);
aurEff->CalculatePeriodic(caster, false, false);
aurEff->GetBase()->RefreshDuration();
}
}