Core/Spells: fixed duration clamping for haste based periodic auras and added support for rolling any tick over
* roll over remaining time until next tick over into a refreshed periodic aura's duration * this behavior is now being used for stackable spells, all HoTs and DoTs * fixed adding extra ticks when at certain tick thresholds * corrected implementation of SPELL_ATTR8_HASTE_AFFECTS_DURATION * implemented SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC
This commit is contained in:
1 parent
b6f0650303
commit
b6f8a68d61
10 files changed
+72
-97
No files matched your search
@@ -456,7 +456,7 @@ class spell_warl_everlasting_affliction : public SpellScript
|
||||
{
|
||||
aurEff->RecalculateAmount(caster);
|
||||
aurEff->CalculatePeriodic(caster, false, false);
|
||||
aurEff->GetBase()->RefreshDuration(true);
|
||||
aurEff->GetBase()->RefreshDuration();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1631,7 +1631,7 @@ class spell_warl_pandemic_script : public SpellScript
|
||||
{
|
||||
aurEff->RecalculateAmount(caster);
|
||||
aurEff->CalculatePeriodic(caster, false, false);
|
||||
aurEff->GetBase()->RefreshDuration(true);
|
||||
aurEff->GetBase()->RefreshDuration();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user