4,951
edits
(_getMonsterTable: Add excludeDungeons parameter & show dungeons on full monster table) |
Falterfire (talk | contribs) (Fixed dungeon rewards to account for off-by-one error on the GP reward.) |
||
Line 774: | Line 774: | ||
local bossMonster = p.getMonsterByID(area.monsters[Shared.tableCount(area.monsters)]) | local bossMonster = p.getMonsterByID(area.monsters[Shared.tableCount(area.monsters)]) | ||
local gpMin = bossMonster.dropCoins[1] | local gpMin = bossMonster.dropCoins[1] | ||
local gpMax = bossMonster.dropCoins[2] | local gpMax = bossMonster.dropCoins[2] - 1 | ||
local chestID = bossMonster.lootTable[1][1] | local chestID = bossMonster.lootTable[1][1] | ||
local chestQty = bossMonster.lootTable[1][3] | local chestQty = bossMonster.lootTable[1][3] |