Core/Spells: Rename more SpellAttr9 to official names
Port From (https://github.com/TrinityCore/TrinityCore/commit/8963ea8e4c215e750aa7a473bbf780b403dc8839)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user