refactor(Core/Spell): Use ApplySpellFix with SpellInfo (#9938)
This commit is contained in:
parent
cfd9ebe107
commit
13643c969c
11 changed files with 1292 additions and 1268 deletions
|
|
@ -6681,7 +6681,7 @@ SpellCastResult Spell::CheckRange(bool strict)
|
|||
if (m_spellInfo->RangeEntry->ID == 1)
|
||||
return SPELL_CAST_OK;
|
||||
|
||||
range_type = m_spellInfo->RangeEntry->type;
|
||||
range_type = m_spellInfo->RangeEntry->Flags;
|
||||
}
|
||||
|
||||
Unit* target = m_targets.GetUnitTarget();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue