Core/Spells: Fixed range checks for ON_NEXT_SWING spells broken in f02ac75007
This commit is contained in:
@@ -7346,7 +7346,10 @@ SpellRange Spell::GetMinMaxRange(bool strict) const
|
||||
SpellRange range;
|
||||
|
||||
if (strict && m_spellInfo->IsNextMeleeSwingSpell())
|
||||
{
|
||||
range = { .Min = 0.0f, .Max = 100.0f };
|
||||
return range;
|
||||
}
|
||||
|
||||
Unit* unitCaster = m_caster->ToUnit();
|
||||
if (m_spellInfo->RangeEntry)
|
||||
|
||||
Reference in New Issue
Block a user