mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Fix detect m_attackType for wands
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
16dc210e24
commit
6d17820af2
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi
|
|||
break;
|
||||
default:
|
||||
// Wands
|
||||
if (m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_REQ_WAND)
|
||||
if (m_spellInfo->AttributesEx2 & SPELL_ATTR_EX2_AUTOREPEAT_FLAG)
|
||||
m_attackType = RANGED_ATTACK;
|
||||
else
|
||||
m_attackType = BASE_ATTACK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue