Core/Spells: Rename more SpellAttr9 to official names

Port From (https://github.com/TrinityCore/TrinityCore/commit/8963ea8e4c215e750aa7a473bbf780b403dc8839)
This commit is contained in:
Hondacrx
2024-08-26 17:53:38 -04:00
parent 49d10ebebb
commit ce08437402
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6425,7 +6425,7 @@ namespace Game.Spells
// check USABLE attributes
// USABLE takes precedence over NOT_USABLE
if (isRatedBattleground && m_spellInfo.HasAttribute(SpellAttr9.UsableInRatedBattlegrounds))
if (isRatedBattleground && m_spellInfo.HasAttribute(SpellAttr9.IgnoreDefaultRatedBattlegroundRestrictions))
return SpellCastResult.SpellCastOk;
if (isArena && m_spellInfo.HasAttribute(SpellAttr4.IgnoreDefaultArenaRestrictions))