2,877
edits
(Amend abyss depth icon type) |
No edit summary |
||
Line 207: | Line 207: | ||
end | end | ||
local result = p._getItemStat(item, StatName, ZeroIfNil) | local result = p._getItemStat(item, StatName, ZeroIfNil) | ||
if formatNum then result = | if formatNum then result = Num.formatnum(result) end | ||
return result | return result | ||
end | end | ||
Line 473: | Line 473: | ||
-- For Summoning combat familiars, show the max hit | -- For Summoning combat familiars, show the max hit | ||
if item.equipmentStats ~= nil and item.equipmentStats.summoningMaxhit ~= nil then | if item.equipmentStats ~= nil and item.equipmentStats.summoningMaxhit ~= nil then | ||
table.insert(resultPart, "\r\n|-\r\n|'''Max Hit:''' " .. | table.insert(resultPart, "\r\n|-\r\n|'''Max Hit:''' " .. Num.formatnum(item.equipmentStats.summoningMaxhit * 10)) | ||
end | end | ||
--For potions, show the number of charges | --For potions, show the number of charges | ||
Line 666: | Line 666: | ||
local areaIcon = Icons.Icon({area.name, type=reqDefn.imgType, notext=true}) | local areaIcon = Icons.Icon({area.name, type=reqDefn.imgType, notext=true}) | ||
result = '\r\n!style="text-align:right;"| '..areaIcon..' Completions' | result = '\r\n!style="text-align:right;"| '..areaIcon..' Completions' | ||
result = result..'\r\n|style="text-align:right;"| '.. | result = result..'\r\n|style="text-align:right;"| '..Num.formatnum(req.count) | ||
end | end | ||
end | end |
edits