fix(Core/Spells): Restored special Rolling DoTs mechanic for Corruption and SW:Pain (#10206)

Fixes #9867
This commit is contained in:
UltraNix
2022-01-21 17:39:11 +01:00
committed by GitHub
parent fcd950c888
commit e1617a0044
4 changed files with 25 additions and 2 deletions

View File

@@ -462,7 +462,7 @@ class spell_pri_pain_and_suffering_proc : public SpellScript
if (Unit* unitTarget = GetHitUnit())
if (AuraEffect* aur = unitTarget->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, 0x8000, 0, 0, GetCaster()->GetGUID()))
{
aur->GetBase()->RefreshTimers();
aur->GetBase()->RefreshTimersWithMods();
aur->ChangeAmount(aur->CalculateAmount(aur->GetCaster()), false);
}
}