8
edits
No edit summary |
m (fixed part of it(still a bit broken, I just figured out how to use the console so should be fine from here on out)) |
||
Line 704: | Line 704: | ||
result = result..'\r\n!colspan="2"|Constellation!!'..Icons.Icon({"Astrology", type='skill', notext='true'})..' Level' | result = result..'\r\n!colspan="2"|Constellation!!'..Icons.Icon({"Astrology", type='skill', notext='true'})..' Level' | ||
result = result..'!!XP!!Skills!!Standard Modifiers!!Unique Modifiers!!XP/s!!Time to next constellation' | result = result..'!!XP!!Skills!!Standard Modifiers!!Unique Modifiers!!XP/s!!Time to next constellation' | ||
function SecondsToClock(seconds) | function SecondsToClock(seconds) | ||
local seconds = tonumber(seconds) | local seconds = tonumber(seconds) | ||
Line 720: | Line 719: | ||
for i, cons in ipairs(SkillData.Astrology.Constellations) do | for i, cons in ipairs(SkillData.Astrology.Constellations) do | ||
local xpByThreshold = {0, 1154, 3316, 8893, 23861, 64109, 172409, 463885, 1248441, 3360264} | |||
local name = cons.name | local name = cons.name | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
Line 750: | Line 750: | ||
result = result..'||'..xpPs | result = result..'||'..xpPs | ||
mw.log(xpByThreshold[i]) | |||
local seconds = xpByThreshold[i] | --local seconds = xpByThreshold[i] | ||
result = result..'||'..SecondsToClock(seconds) | --result = result..'||'..SecondsToClock(seconds) | ||
end | end |
edits