Module:Items/SourceTables/Sandbox: Difference between revisions

getItemSourceTables: Format monster combat level
(Amend icon links & level derivation in buildRow())
(getItemSourceTables: Format monster combat level)
 
Line 850: Line 850:
table.insert(dropRows, {
table.insert(dropRows, {
source = Icons.Icon({iconName, type='monster'}),  
source = Icons.Icon({iconName, type='monster'}),  
level = Icons.Icon({'Monsters', img='Combat', notext=true}) .. ' Level ' .. monsterLevel,
level = Icons.Icon({'Monsters', img='Combat', notext=true}) .. ' Level ' .. Shared.formatnum(monsterLevel),
levelNum = monsterLevel,
levelNum = monsterLevel,
minqty = drop.minQty,  
minqty = drop.minQty,