• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 218: Line 218:     
if rank and name and ship_table and ship_table._type then
 
if rank and name and ship_table and ship_table._type then
 +
    local luck_diff = ship_table._luck - 50
 
return format{
 
return format{
 
table_templates.table_dd_row,
 
table_templates.table_dd_row,
Line 228: Line 229:  
nb_da = "",
 
nb_da = "",
 
nb_ci = "",
 
nb_ci = "",
luck_minus_cap = ship_table._luck - 50,
+
luck_minus_cap =
 +
luck_diff == 0 and "0" or
 +
luck_diff < 0 and string.format("-%d", luck_diff) or
 +
string.format("+%d", luck_diff),
 
nb_ci_rate = "",
 
nb_ci_rate = "",
 
}
 
}
cssedit, gkautomate
7,064

edits

Navigation menu