WoW:API CancelDuel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
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''
 
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}}

Revision as of 12:17, 18 June 2006

WoW API < CancelDuel

Forfeits the current duel.

CancelDuel();

Arguments
none

Returns
nil

Example
CancelDuel();
Result

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