• 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 241: Line 241:  
nb_ci = format_damage(ship, type_code, Combat.night_battle, "torpedo", Combat.modifier.night_attack.cut_in.torpedo),
 
nb_ci = format_damage(ship, type_code, Combat.night_battle, "torpedo", Combat.modifier.night_attack.cut_in.torpedo),
 
luck_minus_cap = luck_diff < 0 and "−" .. -luck_diff or luck_diff,
 
luck_minus_cap = luck_diff < 0 and "−" .. -luck_diff or luck_diff,
nb_ci_rate = string.format(
+
nb_ci_rate = format{
"%s%%, %s%%",
+
[[${torpedo}%, ${main}%]],
Combat.nb_cut_in_rate(ship, Combat.nb_cut_in_types.torpedo),
+
torpedo = Combat.nb_cut_in_rate(ship, Combat.nb_cut_in_types.torpedo),
Combat.nb_cut_in_rate(ship, Combat.nb_cut_in_types.main)),
+
main = Combat.nb_cut_in_rate(ship, Combat.nb_cut_in_types.main)},
 
}
 
}
 
else
 
else
cssedit, gkautomate
7,064

edits

Navigation menu