Module:Monsters: Difference between revisions

more typo fixes. really wish i could test this in the console but it's borked right now
(typo fixes!)
(more typo fixes. really wish i could test this in the console but it's borked right now)
Line 636: Line 636:


function p._getDungeonRewards(area)
function p._getDungeonRewards(area)
   local bossMonster = p.getMonsterByID(area[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]