Changes
no edit summary
function EquipmentListKai:stats(equipment)
function EquipmentListKai:stats(equipment)
return {values = {value = Formatting:format_stat("placeholder")}, bg_color = self._transparent}
return {values = {value = Formatting:format_stat_bonuses({
firepower = equipment:firepower(),
bombing = equipment:bombing(),
torpedo = equipment:torpedo(),
aa = equipment:aa(),
armor = equipment:armor(),
asw = equipment:asw(),
shelling_accuracy = equipment:shelling_accuracy(),
torpedo_accuracy = equipment:torpedo_accuracy(),
evasion = equipment:evasion(),
los = equipment:los(),
speed = Formatting:format_speed(equipment:speed()),
luck = equipment:luck(),
range = Formatting:format_range(equipment:range()),
}, "<br />"),
},
bg_color = self._transparent
}
end
end