mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit 9d4047a3be)
This commit is contained in:
@@ -3799,7 +3799,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;
|
||||
|
||||
Reference in New Issue
Block a user