mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 00:20:39 +01:00
Core/Spells: Pain and Suffering will now also recalculate the periodic tick interval of Shadow Word: Pain
This commit is contained in:
@@ -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