Core/Spells: added and updated SpellCategoryFlags and implemented SpellCategoryFlags::CooldownInDays
This commit is contained in:
1 parent
83298b52a2
commit
6301a324cd
6 files changed
+18
-30
No files matched your search
@@ -1377,7 +1377,7 @@ bool SpellInfo::IsCooldownStartedOnEvent() const
|
||||
if (HasAttribute(SPELL_ATTR0_DISABLED_WHILE_ACTIVE))
|
||||
return true;
|
||||
|
||||
return CategoryEntry && CategoryEntry->Flags & SPELL_CATEGORY_FLAG_COOLDOWN_STARTS_ON_EVENT;
|
||||
return CategoryEntry && CategoryEntry->GetFlags().HasFlag(SpellCategoryFlags::CooldownEventOnLeaveCombat);
|
||||
}
|
||||
|
||||
bool SpellInfo::IsDeathPersistent() const
|
||||
|
||||
Reference in new issue
Block a user