Alex
Created page with "-- Implements Calculator:Combat level/Template local paramTest = require('Module:Paramtest') local p = {} function p.calc(frame) local args = frame:getParent().args local stats = { 'attack', 'strength', 'defence', 'ranged', 'magic', 'hitpoints', 'prayer' } local lvls = {} for i, stat in pairs(stats) do if i == 6 then lvls[i] = paramTest.default_to( tonumber(args[stat]), 10 ) else lvls[i] = paramTest.default_to( tonumber(args[..."