• 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
try to add estimation label
Line 50: Line 50:  
_asw_label = "ASW",
 
_asw_label = "ASW",
 
_high_asw_label = "High ASW",
 
_high_asw_label = "High ASW",
 +
_estimation_label = "Estimation",
 
}
 
}
   Line 155: Line 156:  
end
 
end
 
if air_power then
 
if air_power then
table.insert(roles, format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())})
+
    local ap_text = format{self._air_power_template, air_power = Formatting:format_stat(ship:air_power())}
 +
    if ship:air_power_estimation() then
 +
        ap_text = Formatting:tooltip(ap_text, self._estimation_label)
 +
        end
 +
table.insert(roles, ap_text)
 
end
 
end
 
if ShipCapabilities:_is_night_bombing(ship) then
 
if ShipCapabilities:_is_night_bombing(ship) then
Anonymous user

Navigation menu