WoW:API CancelDuel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API CancelDuel to API CancelDuel without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''CancelDuel''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Forfeits the current duel.
Cancel's a players duel invitation.


  CancelDuel();
  CancelDuel();
Line 20: Line 19:


;''Result''
;''Result''
 
Decline invitation to duel.
----
If you were in an active duel, you'll surrender to the opponent and the duel will be over.
;''Description''
 
: Cancel's a players duel invitation.
----
{{Template:WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < CancelDuel

Forfeits the current duel.

CancelDuel();

Arguments
none

Returns
nil

Example
CancelDuel();
Result

Decline invitation to duel. If you were in an active duel, you'll surrender to the opponent and the duel will be over.