>wowhelm_
~/forever/addon-api/function/C_Spell.EnableSpellRangeCheck

C_Spell.EnableSpellRangeCheck

documented function · Spell
C_Spell.EnableSpellRangeCheck(spellIdentifier, enable)

Used in conjunction with SpellRangeCheckUpdate to inform the UI when a spell goes in or out of range with the current target.

──ARGUMENTS
spellIdentifier
SpellIdentifier
enable
bool (True if changes in range for the spell should dispatch SpellRangeCheckUpdate. False if the spell no longer needs the event.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.