diff options
author | xinef1 <w.szyszko2@gmail.com> | 2017-02-13 21:52:51 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-07-21 21:06:54 +0200 |
commit | fc9f00d35199fb53c5ba0e260f2993e117d9a4e3 (patch) | |
tree | 174072a807c759a3f3ef33eadb664de25c8c8e24 | |
parent | cfefd27cb8171b7fe28781eb8f1d903272830f22 (diff) |
Core/Spells: Fixed some item ranged spells dealing wrong damage (#19104)
(cherrypicked from e7a9549422b09da6c88b0a191bae072997cbeddb)
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 220bf980463..cc44b171d3a 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1621,7 +1621,8 @@ bool SpellInfo::IsBreakingStealth() const bool SpellInfo::IsRangedWeaponSpell() const { return (SpellFamilyName == SPELLFAMILY_HUNTER && !(SpellFamilyFlags[1] & 0x10000000)) // for 53352, cannot find better way - || (EquippedItemSubClassMask & ITEM_SUBCLASS_MASK_WEAPON_RANGED); + || (EquippedItemSubClassMask & ITEM_SUBCLASS_MASK_WEAPON_RANGED) + || (Attributes & SPELL_ATTR0_REQ_AMMO); } bool SpellInfo::IsAutoRepeatRangedSpell() const |