diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-06-14 13:37:35 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-06-14 13:37:35 +0200 |
| commit | 9d4047a3be5f3de8ca7c4818c265127578dbcc81 (patch) | |
| tree | 1b9fcd505fb80ea356cb512bda3e4a868281a2a5 /src/server/game/Spells/SpellInfo.cpp | |
| parent | 88d1078a1256fa9175110b3bec0f7f9fdd6b615d (diff) | |
Core/Spells: Rename more SpellAttr9 to official names
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 6d1e8e6ba6f..5adbd2bd01f 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3811,7 +3811,7 @@ uint32 SpellInfo::CalcCastTime(Spell* spell /*= nullptr*/) const if (spell) spell->GetCaster()->ModSpellCastTime(this, castTime, spell); - if (HasAttribute(SPELL_ATTR0_USES_RANGED_SLOT) && !IsAutoRepeatRangedSpell() && !HasAttribute(SPELL_ATTR9_AIMED_SHOT)) + if (HasAttribute(SPELL_ATTR0_USES_RANGED_SLOT) && !IsAutoRepeatRangedSpell() && !HasAttribute(SPELL_ATTR9_COOLDOWN_IGNORES_RANGED_WEAPON)) castTime += 500; return (castTime > 0) ? uint32(castTime) : 0; |
