359
edits
m (fixed rank 60 having wrong values, added 61 to 65) |
m (centerized rank; row increases size on higher ranks) |
||
Line 78: | Line 78: | ||
end | end | ||
return | return tosend | ||
end | end | ||
Line 84: | Line 84: | ||
local wiki_table = | local wiki_table = | ||
[[ | [[ | ||
{| class="wikitable" style="width: 80%; | {| class="wikitable" style="width: 80%; text-align: center;" | ||
! Rank | |||
! | ! Stamina | ||
! | ! Team Cost | ||
! | ! Friend Limit | ||
! | ! EXP Required<br>for Rank Up | ||
! | ! EXP in Total<br>from Rank Up | ||
]] | ]] | ||
local exptotal = 0 | local exptotal = 0 | ||
Line 96: | Line 96: | ||
for rank, tbl in ipairs( p.RankData ) do | for rank, tbl in ipairs( p.RankData ) do | ||
local pxdevn = #p.RankData - 30 | |||
local pxmath = math.floor(math.max( 14, (rank - pxdevn) / (#p.RankData - pxdevn) * 26 )) | |||
wiki_table = wiki_table .. | wiki_table = wiki_table .. | ||
[[ | [[ | ||
|- | |- style="font-size: ]].. pxmath ..[[px;" | | ||
| ]] .. rank .. [[ | | <b>]] .. rank .. [[</b> | ||
| ]] .. CheckEqualValues( preval[s], tbl[s] ) .. [[ | | style="text-align: left;" | ]] .. CheckEqualValues( preval[s], tbl[s] ) .. [[ | ||
| ]] .. CheckEqualValues( preval[t], tbl[t] ) .. [[ | | style="text-align: left;" | ]] .. CheckEqualValues( preval[t], tbl[t] ) .. [[ | ||
| ]] .. CheckEqualValues( preval[f], tbl[f] ) .. [[ | | style="text-align: left;" | ]] .. CheckEqualValues( preval[f], tbl[f] ) .. [[ | ||
| ]] .. CheckEqualValues( preval[e], tbl[e] ) .. [[ | | style="text-align: left;" | ]] .. CheckEqualValues( preval[e], tbl[e] ) .. [[ | ||
| ]] .. exptotal .. [[ | | style="text-align: left;" | ]] .. exptotal .. [[ | ||
]] | ]] | ||
edits