Core/Spells: Pain and Suffering will now also recalculate the periodic tick interval of Shadow Word: Pain
This commit is contained in:
1 parent
01cef2e044
commit
76cee22609
1 file changed
+1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user