API GetLFGRoleShortageRewards

Return information concerning the LFG Call to Arms rewards.

eligible, forTank, forHealer, forDamage, itemCount, money, xp = GetLFGRoleShortageRewards(dungeonID, shortageSeverity)

Arguments

 * dungeonID : Number - The type of the dungeons to queue for. See table below.
 * shortageSeverity : Number - A number from 1 to LFG_ROLE_NUM_SHORTAGE_TYPES. See below for specific shortage types.

Returns

 * eligible, forTank, forHealer, forDamage, itemCount, money, xp


 * eligible : Boolean - Unknown. Possibly whether there are any shortages of this type, possibly whether the player is somehow eligible to participate
 * forTank : Boolean - Whether this shortage type applies to the tank role
 * forHealer : Boolean - Whether this shortage type applies to the healer role
 * forDamage : Boolean - Whether this shortage type applies to the damage role
 * itemCount : Number - Unknown. Related to the potential rewards
 * money : Number - Unknown. Most likely the amount of money you get as a reward
 * xp : Number - Unknown. Most likely the amount of xp you get as a reward

Dungeon IDs
The following snippet can be used to regenerate this list (for use with future patches): for i = 1, GetNumRandomDungeons do  local id, name = GetLFGRandomDungeonInfo(i) print(id .. ": " .. name) end

Shortage Severities

 * LFG_ROLE_SHORTAGE_RARE - 1
 * LFG_ROLE_SHORTAGE_UNCOMMON - 2
 * LFG_ROLE_SHORTAGE_PLENTIFUL - 3