Module:Combat level: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

31 March 2024

  • curprev 20:2220:22, 31 March 2024Hefner talk contribs 4,543 bytes +4,543 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[..."