Module:BTD6 hero xp: Difference between revisions

Created page with "local p = {} local level_reqs = { 180, 460, 1000, 1860, 3280, 5180, 8320, 9380, 13620, 16380, 14400, 16650, 14940, 16380, 17820, 19260, 20700, 16470, 17280 } local difficulty_modifiers = { 1, 1.1, 1.2, 1.3 } function p.main(frame) local wikitable = { '{|class="wikitable" style="text-align:center"\n!rowspan="2"|Level!!rowspan="2"|XP required!!colspan="4"|<abbr title="if placed on round 1">Rounds to reach level</abbr>\n|-\n!Beginner!!Intermediate!!Advanced..."
 
mNo edit summary
Line 49: Line 49:
insert_rounds(4, total_required)
insert_rounds(4, total_required)
end
end
table.insert(wikitable, '|}')
return table.concat(wikitable, '\n')
return table.concat(wikitable, '\n')