GetQuestChoiceRewardFaction

From Wowpedia
Jump to: navigation, search

Returns the reputation reward of a given quest option.

factionId, reputation = GetQuestChoiceRewardFaction(optionIndex, factionIndex)

Arguments

optionIndex 
Number - index of the quest choice option to return information about, ascending from 1.
factionIndex 
Number - index of the reputation reward to return information about, ascending from 1.

Returns

factionId 
Number - faction ID of the faction towards which reputation will be awarded.
reputation 
Number - amount of reputation the quest option offers as a reward.

Patch history

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.


See also