WoW API: CancelDuel

From AddOn Studio
Revision as of 23:21, 5 March 2010 by WoWWiki>Turnoverranok (Clarify result of this API)
Jump to navigation Jump to search

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.