Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
m
added missing character
(added thieving to item sources)
m (added missing character)
Line 624: Line 624:
--If fraction contains decimals, something screwy happened so just show only percentage
--If fraction contains decimals, something screwy happened so just show only percentage
--(happens sometimes with the rare thieving items)
--(happens sometimes with the rare thieving items)
table.insert(rowPart, '\r\ncolspan="2" ')
table.insert(rowPart, '\r\n|colspan="2" ')
else
else
     table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="' .. chance .. '"| ' .. Shared.fraction(weight, totalWeight) .. '\r\n|')
     table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="' .. chance .. '"| ' .. Shared.fraction(weight, totalWeight) .. '\r\n|')