SPELL_RANGE_CHECK_UPDATE
Used in conjunction with EnableSpellRangeCheck to inform the UI when a spell goes in or out of range with the current target.
declare event SPELL_RANGE_CHECK_UPDATE(spellIdentifier: SpellIdentifier, isInRange: boolean, checksRange: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | spellIdentifier | SpellIdentifier | |
| 2 | isInRange | boolean | Whether or not the current target is in range of the spell. Should not be used if the 'checksRange' parameter is false. |
| 3 | checksRange | boolean | Can be false if a range check was not made for any reason, for example there is not a current target. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with
mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Spell system, camelot 1.60.1). Description: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).