Wowpedia
Advertisement
Wowpedia
240,505
pages
Game Flavors
Links
Patch
Added in 1.11.0 / 1.13.2

Returns true if the action has a numeric range requirement.

hasRange = ActionHasRange(slotID)

Arguments

slotID 
number - The slot ID to test.

Returns

hasRange 
boolean - True if the specified slot contains an action which has a numeric range requirement.

Details

This function returns true if the action in the specified slot ID has a numeric range requirement as shown in the action's tooltip, e.g. [Fire Blast] has a numeric range of 20 yards. For actions like Attack which have no numeric range requirement in their tooltip (even though they only work within a certain range), this function will return false.

Advertisement