- 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
Line 55:
Line 55:
− 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()),+
− special = false,+
− }, "<br />"),+
+
no edit summary
function EquipmentListKai:stats(equipment)
function EquipmentListKai:stats(equipment)
local stats = {
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()),
special = false,
}
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,