Module:Giants Foundry experience calculator: 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

17 October 2024

  • curprev 00:1200:12, 17 October 2024Alex talk contribs 510 bytes +510 Created page with "local p = {} local commas = require('Module:Addcommas') local paramTest = require('Module:Paramtest') function p._main(args) local quality = paramTest.default_to(tonumber(args.quality), 0) local experience = (math.floor(quality^2 / 73) + math.floor(1.5 * quality) + 1) * 30 return 'Turning in a sword with ' .. quality .. ' quality rewards ' .. commas._add(experience) .. ' Smithing experience.' end function p.main(frame) local args = frame:getParent().args..."