• 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
no edit summary
Line 55: Line 55:     
function EquipmentListKai:stats(equipment)
 
function EquipmentListKai:stats(equipment)
return {values = {value = Formatting:format_stat_bonuses({
+
    local stats = {
firepower = equipment:firepower(),  
+
firepower = equipment:firepower(),  
bombing = equipment:bombing(),  
+
bombing = equipment:bombing(),  
torpedo = equipment:torpedo(),  
+
torpedo = equipment:torpedo(),  
aa = equipment:aa(),  
+
aa = equipment:aa(),  
armor = equipment:armor(),  
+
armor = equipment:armor(),  
asw = equipment:asw(),  
+
asw = equipment:asw(),  
shelling_accuracy = equipment:shelling_accuracy(),
+
shelling_accuracy = equipment:shelling_accuracy(),
torpedo_accuracy = equipment:torpedo_accuracy(),
+
torpedo_accuracy = equipment:torpedo_accuracy(),
evasion = equipment:evasion(),
+
evasion = equipment:evasion(),
los = equipment:los(),
+
los = equipment:los(),
speed = Formatting:format_speed(equipment:speed()),
+
speed = Formatting:format_speed(equipment:speed()),
luck = equipment:luck(),
+
luck = equipment:luck(),
range = Formatting:format_range(equipment:range()),
+
range = Formatting:format_range(equipment:range()),
special = false,
+
special = false,
}, "<br />"),
+
}
 +
return {values = {value = equipment:type() == 48 and Formatting:format_stat_bonuses_interceptor(stats, "<br />") or Formatting:format_stat_bonuses(stats, "<br />"),
 
},  
 
},  
 
bg_color = self._transparent,  
 
bg_color = self._transparent,  
Anonymous user

Navigation menu