WoW:API Duel: Difference between revisions

10 bytes removed ,  10 February 2021
m
no edit summary
m (Formatting)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi|removed=(unknown, very early)|replace=Use [[API StartDuelUnit|StartDuelUnit]] instead}}
{{removedapi|(unknown, very early)|Use [[API StartDuelUnit|StartDuelUnit]] instead.}}
Invites the specified player to a duel.
Invites the specified player to a duel.


  Duel(playerName);
  Duel(playerName)


----
== Parameters ==
;''Arguments''
=== Arguments ===
* playerName (string) - The name of the player you wish to duel


:(String playerName)
=== Returns ===
: none


:;playerName : The name of the player you wish to duel
== Example ==
 
----
;''Returns''
 
:;nil
 
----
;''Example''
  Duel("Sembiance");
  Duel("Sembiance");


;''Result''
;Result
: Invite Sembiance to duel you.
: Invite Sembiance to duel you.