Core/Spells: reduced default periodic tick interval back to one second

* power obs spells such as food are suposed to have the same interval as their first effect counterpart which sits at one tick per second. This fixes % regeneration food to not restore mana within the intended interval
This commit is contained in:
Ovahlord
2020-04-16 15:10:40 +02:00
parent eb9b4718f5
commit 0b655a8a13

View File

@@ -639,9 +639,9 @@ void AuraEffect::CalculatePeriodic(Unit* caster, bool resetPeriodicTimer /*= tru
case SPELL_AURA_POWER_BURN:
case SPELL_AURA_PERIODIC_DUMMY:
case SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE:
// If no periodic timer is set, fall back to a 5 seconds interval to match client function
// If no periodic timer is set, fall back to a 1 second interval to match client function
if (!m_effectPeriodicTimer)
m_effectPeriodicTimer = 5 * IN_MILLISECONDS;
m_effectPeriodicTimer = 1 * IN_MILLISECONDS;
m_isPeriodic = true;
break;