• 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
added AD
Line 11: Line 11:  
     !Formation
 
     !Formation
 
     !${node_type}
 
     !${node_type}
     !AP/AS/AS+]],
+
     !AD/AP/AS/AS+]],
 
     _column_cell_templates = {
 
     _column_cell_templates = {
 
         node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color}; background-color: ${bg_color};" |${values.node}]],
 
         node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color}; background-color: ${bg_color};" |${values.node}]],
Line 112: Line 112:  
         or (air_parity .. "/" .. air_superiority .. "/" .. air_supremacy)
 
         or (air_parity .. "/" .. air_superiority .. "/" .. air_supremacy)
 
--]=]
 
--]=]
     local air_parity = as_complete and string.format("%.1d", math.ceil((2./3.) * as)) or "??"
+
     local air_parity = as_complete and string.format("%.1d", math.ceil((2./3.) * as)) or "?"
     local air_superiority = as_complete and string.format("%.1d", math.ceil(as * (3 / 2))) or "??"
+
     local air_superiority = as_complete and string.format("%.1d", math.ceil(as * (3 / 2))) or "?"
     local air_supremacy = as_complete and tostring(as * 3) or "??"
+
     local air_supremacy = as_complete and tostring(as * 3) or "?"
     local air_string = air_parity .. "/" .. air_superiority .. "/" .. air_supremacy
+
    local air_denial = as_complete and string.format("%.1d", math.floor(as / 3 + 1)) or "?"
 +
     local air_string = air_denial .. "/" .. air_parity .. "/" .. air_superiority .. "/" .. air_supremacy
 +
   
 
     table.insert(self._items, {
 
     table.insert(self._items, {
 
         node = node,
 
         node = node,
cssedit, gkautomate
6,941

edits

Navigation menu