Return information concerning the LFG Call to Arms rewards
See also Looking for group functions.
Signature:
eligible, forTank, forHealer, forDamage, itemCount, money, xp = GetLFGRoleShortageRewards(dungeonID, shortageIndex)
Arguments:
dungeonID- The dungeon index to query (number)shortageIndex- The shortage severity to query (number)LFG_ROLE_SHORTAGE_PLENTIFULLFG_ROLE_SHORTAGE_RARELFG_ROLE_SHORTAGE_UNCOMMON
Returns:
eligible- Whether or not the player is eligible for rewards (boolean)forTank- Whether or not there is a shortage of tanks (boolean)forHealer- Whether or not there is a shortage of healers (boolean)forDamage- Whether or not there is a shortage of damage dealers (boolean)itemCount- The number of item rewards available (number)money- The monetary rewards (in copper) (number)xp- The amount of experience as a reward (number)
Examples:
for i = 1, GetNumRandomDungeons() do local id, name = GetLFGRandomDungeonInfo(i) print(id .. ": " .. name) end