Module:Combat level: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

15 October 2024

  • curprev 22:5022:50, 15 October 2024Alex talk contribs 4,670 bytes +4,670 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[..."