Anonymous

Module:Mazunki/Monsters: Difference between revisions

From Melvor Idle
m
typo
m (names for items)
m (typo)
Line 163: Line 163:
for _, droppable in pairs(monster.lootTable) do
for _, droppable in pairs(monster.lootTable) do
table.insert(itemIds, droppable[1])
table.insert(itemIds, droppable[1])
table.insert(itemNames, Items.getItemById(droppable[1]))
table.insert(itemNames, Items.getItemByID(droppable[1]))
local numerator = droppable[2]
local numerator = droppable[2]
table.insert(itemWeights, numerator)
table.insert(itemWeights, numerator)
892

edits