diff options
| author | Aqua Deus <95978183+aquadeus@users.noreply.github.com> | 2025-10-29 16:04:11 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-29 16:04:11 +0100 | 
| commit | ff256d20e52b980cde0000f0f7cfc947868c80dd (patch) | |
| tree | 0078c7119c21adca7ae5a558ff8ab19f05db0adb /src/server/game/Spells/SpellInfo.cpp | |
| parent | cca05feeb4cb5be081694ada75a90069c96dc13d (diff) | |
Core/Spells: Name SpellCategoryFlags with official names and implement ResetCooldownUponEndingEncounter flag (#31415)
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 4eaca9be938..968202593eb 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1763,7 +1763,7 @@ bool SpellInfo::IsCooldownStartedOnEvent() const          return true;      SpellCategoryEntry const* category = sSpellCategoryStore.LookupEntry(CategoryId); -    return category && category->Flags & SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT; +    return category && category->GetFlags().HasFlag(SpellCategoryFlags::CooldownEventOnLeaveCombat);  }  bool SpellInfo::IsDeathPersistent() const | 
