UNIT_SPELLCAST_FAILED
eventimplementedavailable in: camelot
Fires when a unit's cast fails, such as for lack of a target or resources. · description by wowlua
declare event UNIT_SPELLCAST_FAILED(unitTarget: string, castGUID: string, spellID: number, castBarID: UnitCastBarID?)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | unitTarget | string | The unit that tried to cast. |
| 2 | castGUID | string | GUID of this cast. |
| 3 | spellID | number | The spell that failed. |
| 4 | castBarID | UnitCastBarID? | The cast bar the cast was shown on. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
implementedThe emulator fires it on its own, from its casting model. what the statuses mean
sources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.