AcceptSpellConfirmationPrompt

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4 / 1.13.2

Confirms a spell confirmation prompt (e.g. bonus loot roll).

AcceptSpellConfirmationPrompt(spellID)

Arguments

spellID
number - spell ID of the prompt to confirm.

Details

  • SPELL_CONFIRMATION_PROMPT fires when a spell confirmation prompt might be presented to the player; it provides the spellID and information about the type, text, and duration of the confirmation. Notably, the event does not guarantee that the player can actually cast the spell.
  • Calling this function accepts the spell prompt, performing the action in question.
  • SPELL_CONFIRMATION_TIMEOUT fires if the spell is not confirmed within the prompt duration.

Patch changes

Dragonflight Patch 10.0.7 (2023-03-21): Protected.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also