diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-06-24 11:34:47 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-06-24 11:34:47 +0200 |
| commit | 8963ea8e4c215e750aa7a473bbf780b403dc8839 (patch) | |
| tree | 980ceb40b5783d73cc80fa8bc3599904548545ff /src/server/game/Spells/Spell.cpp | |
| parent | 0d5a1b175fbd4ae7410a84bf60645c52abf712ee (diff) | |
Core/Spells: Rename more SpellAttr9 to official names
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 8c3408c9394..f55193cdb82 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -7235,7 +7235,7 @@ SpellCastResult Spell::CheckArenaAndRatedBattlegroundCastRules() // check USABLE attributes // USABLE takes precedence over NOT_USABLE - if (isRatedBattleground && m_spellInfo->HasAttribute(SPELL_ATTR9_USABLE_IN_RATED_BATTLEGROUNDS)) + if (isRatedBattleground && m_spellInfo->HasAttribute(SPELL_ATTR9_IGNORE_DEFAULT_RATED_BATTLEGROUND_RESTRICTIONS)) return SPELL_CAST_OK; if (isArena && m_spellInfo->HasAttribute(SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS)) |
