aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2024-06-27 20:12:16 +0200
committerShauren <shauren.trinity@gmail.com>2024-12-08 18:42:57 +0100
commit752ea0f8e9a04abd53a3b811de2fbb91b689e69f (patch)
treea0b7953a0cce2eb71305798bf56ad77fea4a5976 /src/server/game/Spells
parent4e89a302fcce7644bcd8cf239edad3b409950438 (diff)
Core/Players: Improve reset spell cooldowns when entering arenas (#30032)
Co-authored-by: Shauren <shauren.trinity@gmail.com> (cherry picked from commit 97b19a54457d6239a8e57f61281bda1cd16b8984)
Diffstat (limited to 'src/server/game/Spells')
-rw-r--r--src/server/game/Spells/SpellHistory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/SpellHistory.h b/src/server/game/Spells/SpellHistory.h
index f46bbd0c941..25c8a53788e 100644
--- a/src/server/game/Spells/SpellHistory.h
+++ b/src/server/game/Spells/SpellHistory.h
@@ -178,6 +178,8 @@ public:
void PauseCooldowns();
void ResumeCooldowns();
+ static void GetCooldownDurations(SpellInfo const* spellInfo, uint32 itemId, Duration* cooldown, uint32* categoryId, Duration* categoryCooldown);
+
void SaveCooldownStateBeforeDuel();
void RestoreCooldownStateAfterDuel();
@@ -195,8 +197,6 @@ private:
void SendSetSpellCharges(uint32 chargeCategoryId, ChargeEntryCollection const& chargeCollection);
- static void GetCooldownDurations(SpellInfo const* spellInfo, uint32 itemId, Duration* cooldown, uint32* categoryId, Duration* categoryCooldown);
-
Unit* _owner;
CooldownStorageType _spellCooldowns;
CooldownStorageType _spellCooldownsBeforeDuel;