v0.13.8

SPELL_RANGE_CHECK_UPDATE

eventnot implementedC_Spellavailable in: camelot

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

declarationwowlua
declare event SPELL_RANGE_CHECK_UPDATE(spellIdentifier: SpellIdentifier, isInRange: boolean, checksRange: boolean)

Payload

#nametypedescription
1spellIdentifierSpellIdentifier
2isInRangebooleanWhether or not the current target is in range of the spell. Should not be used if the 'checksRange' parameter is false.
3checksRangebooleanCan 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 mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Spell system, camelot 1.60.1). Description: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).