(bp) |
(Create page.) |
||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
− | Returns the |
+ | Returns the [[experience]] reward of the quest most recently discussed with an NPC. |
− | + | 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
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 [Enlightenment].
Details
- This function is not related to your quest log.
- The return values update when the QUEST_DETAIL, QUEST_COMPLETE events fire.