Core/Spells: Implemented pausing spell cooldowns
Port From (https://github.com/TrinityCore/TrinityCore/commit/a814eb65b15c4fcef6a37adc1b13905d4c13b2a5)
This commit is contained in:
@@ -199,7 +199,8 @@ namespace Game.Entities
|
||||
|
||||
void _UpdateSpells(uint diff)
|
||||
{
|
||||
_spellHistory.Update();
|
||||
if (!_spellHistory.IsPaused())
|
||||
_spellHistory.Update();
|
||||
|
||||
if (GetCurrentSpell(CurrentSpellTypes.AutoRepeat) != null)
|
||||
_UpdateAutoRepeatSpell();
|
||||
|
||||
Reference in New Issue
Block a user