Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(bp)
(Create page.)
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
Returns the quest ID of the quest most recently discussed with an NPC.
+
Returns the [[experience]] reward of the quest most recently discussed with an NPC.
questID = GetQuestID()
+
xp = GetRewardXP()
  +
  +
== Arguments ==
  +
None
   
 
== Returns ==
 
== Returns ==
  +
; xp : Number - Amount of experience points to be received upon completing the quest, including any bonuses to experience gain such as [[Rest]] and [[Enlightenment (spell)]].
; questID : Number - quest ID of the offered/discussed/completed quest.
 
   
 
== Details ==
 
== Details ==

Revision as of 07:46, 30 November 2014

Returns the experience reward of the quest most recently discussed with an NPC.

xp = GetRewardXP()

Arguments

None

Returns

xp
Number - Amount of experience points to be received upon completing the quest, including any bonuses to experience gain such as Rest and Monk ability transcendence [Enlightenment].

Details