v0.13.8

SPELL_CONFIRMATION_PROMPT

eventnot implementedavailable in: camelot

Fires when a spell asks the player to confirm it, such as a bonus roll. Blizzard shows a dialog or the bonus roll frame for the prompt. · description by wowlua

declarationwowlua
declare event SPELL_CONFIRMATION_PROMPT(spellID: number, effectValue: number, message: string, duration: number, currencyTypesID: number, currencyCost: number, currentDifficulty: number, displayItemID: number, itemContext: number, treasureContextLevel: number)

Payload

#nametypedescription
1spellIDnumberThe spell asking for confirmation.
2effectValuenumber
3messagestringThe text to show.
4durationnumberHow long the prompt stays open, in seconds.
5currencyTypesIDnumberThe currency the confirmation costs.
6currencyCostnumberHow much of that currency it costs.
7currentDifficultynumberThe current difficulty ID.
8displayItemIDnumber
9itemContextnumber
10treasureContextLevelnumber

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) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.