Anonymous

Module:Skills/Agility: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 11: Line 11:
local Items = require('Module:Items')
local Items = require('Module:Items')
local Icons = require('Module:Icons')
local Icons = require('Module:Icons')
local Num = require('Module:Number')


function p.getObstacleByID(obstID)
function p.getObstacleByID(obstID)
Line 216: Line 217:
result = result..'||data-sort-value="'..Time..'"|'..Shared.timeString(Time, true)
result = result..'||data-sort-value="'..Time..'"|'..Shared.timeString(Time, true)
-- Readded XP/Time and GP/Time (previously commented out)
-- Readded XP/Time and GP/Time (previously commented out)
result = result..'||'..Shared.round(XP / Time, 2, 2)
result = result..'||'..Num.round(XP / Time, 2, 2)
result = result..'||data-sort-value="'..rewardVal/Time..'"|'.. Icons._Currency('GP', Shared.round(rewardVal/Time, 2, 2))
result = result..'||data-sort-value="'..rewardVal/Time..'"|'.. Icons._Currency('GP', Num.round(rewardVal/Time, 2, 2))


local bonuses = {}
local bonuses = {}
2,875

edits