138
edits
(getThievingSourcesForItem: Amend weightings for general rare items to be integers (allows Items/SourceTables to express chances as fractions)) |
(add base XP/s and GP/s to Fishing table) |
||
Line 278: | Line 278: | ||
result = result..'\r\n| style="text-align:right"|'..fish.fishingXP | result = result..'\r\n| style="text-align:right"|'..fish.fishingXP | ||
result = result..'\r\n| style="text-align:right"|'..fish.sellsFor | result = result..'\r\n| style="text-align:right"|'..fish.sellsFor | ||
local XPs = fish.fishingXP / (timeSortVal / 1000) | |||
local GPs = fish.sellsFor / (timeSortVal / 1000) | |||
result = result..'||style="text-align:right"|'..Shared.round(XPs, 2, 2) | |||
result = result..'||style="text-align:right" data-sort-value="'..GPs..'"|'..Icons.GP(Shared.round(GPs, 2, 2)) | |||
local cookStr = "N/A" | local cookStr = "N/A" |
edits