Module:Calculator/ETA: Difference between revisions

m
Correct calling non-existent function
(First version)
 
m (Correct calling non-existent function)
Line 55: Line 55:
local currentLvl = shared.toNumberOrDefault(args.currentLvl, 0)
local currentLvl = shared.toNumberOrDefault(args.currentLvl, 0)


local targetLvl = p.toNumberOrError(args.targetLvl)
local targetLvl = shared.toNumberOrError(args.targetLvl)
local actionExp = p.toNumberOrError(args.actionExp)
local actionExp = shared.toNumberOrError(args.actionExp)
local actionTime = p.toNumberOrError(args.actionTime)
local actionTime = shared.toNumberOrError(args.actionTime)


-- Check Exp param for validity first, then Lvl
-- Check Exp param for validity first, then Lvl
1,010

edits