Module:Sandbox/One Bar: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
local createTableHeader = mw.html.create("tr") | local createTableHeader = mw.html.create("tr") | ||
for _, v in ipairs(pi_souls_list) do | for _, v in ipairs(pi_souls_list) do | ||
local souls_formatted = string.format("%.1fK", v / 1000) | local souls_formatted = string.format("%.1fK", (v + 400) / 1000) | ||
createTableHeader:tag("th"):wikitext(souls(frame, souls_formatted)):done() | createTableHeader:tag("th"):wikitext(souls(frame, souls_formatted)):done() | ||
end | end | ||
| Line 71: | Line 71: | ||
local level = hero["LevelScaling"][property] | local level = hero["LevelScaling"][property] | ||
local shots = hero["BulletsPerShot"] | local shots = hero["BulletsPerShot"] | ||
local burst = hero["BulletsPerBurst"] | |||
local bullet_mult = shots * burst | |||
if (bullet_mult > 1) then | |||
base = base * bullet_mult | |||
level = level * bullet_mult | |||
end | |||
local tableData = mw.html.create("tr") | local tableData = mw.html.create("tr") | ||
tableData | tableData | ||