v0.13.8

UNIT_SPELLCAST_START

eventimplementedavailable in: camelot

Fires when a unit starts casting a spell with a cast time. Blizzard's cast bars start showing the cast. · description by wowlua

declarationwowlua
declare event UNIT_SPELLCAST_START(unitTarget: string, castGUID: string, spellID: number, castBarID: UnitCastBarID?)

Payload

#nametypedescription
1unitTargetstringThe unit casting.
2castGUIDstringGUID of this cast.
3spellIDnumberThe spell being cast.
4castBarIDUnitCastBarID?The cast bar the cast is 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 and inventory models. 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.