Module:Experience/dataunr: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "local ret = {} local total = 0 ret[1] = 0 for i = 1, 125 do total = math.floor(total + i + 300 * math.pow(2, i / 7)) ret[i + 1] = math.floor(total/4) end return ret")
 
(No difference)

Latest revision as of 01:24, 16 October 2024

Documentation for this module may be created at Module:Experience/dataunr/doc

local ret = {}
local total = 0

ret[1] = 0
for i = 1, 125 do
    total = math.floor(total + i + 300 * math.pow(2, i / 7))
    ret[i + 1] = math.floor(total/4)
end

return ret