Lore archive · Warcraft Wiki, 2023 dump
API ActionHasRange
Last wiki revision 2023-08-13
Returns true if the action has has a range requirement. hasRange = ActionHasRange(slotID)
- slotID: - The slot ID to test.
- hasRange: - True if the specified slot contains an action which has a numeric range requirement.
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.
Source
https://warcraft.wiki.gg/wiki/API_ActionHasRange · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.