• 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
no edit summary
Line 100: Line 100:     
function NodeInfo:insert_item(node, formation, fleet, as, tags, as_complete)
 
function NodeInfo:insert_item(node, formation, fleet, as, tags, as_complete)
--[[
+
--[=[
 
     -- Can give weird results when major contributors to air power are unknown
 
     -- Can give weird results when major contributors to air power are unknown
     -- TODO: use tooltips with explanations instead
+
     -- [[Category:TODO]] : use tooltips with explanations instead
 
     local air_parity = (as_complete or as > 0) and string.format("%.1d", math.ceil((2./3.) * as)) or "??"
 
     local air_parity = (as_complete or as > 0) and string.format("%.1d", math.ceil((2./3.) * as)) or "??"
 
     local air_superiority = (as_complete or as > 0) and string.format("%.1d", math.ceil(as * (3 / 2))) or "??"
 
     local air_superiority = (as_complete or as > 0) and string.format("%.1d", math.ceil(as * (3 / 2))) or "??"
Line 108: Line 108:  
     local air_string = not as_complete and as > 0 and (air_parity .. "+/" .. air_superiority .. "+/" .. air_supremacy .. "+")
 
     local air_string = not as_complete and as > 0 and (air_parity .. "+/" .. air_superiority .. "+/" .. air_supremacy .. "+")
 
         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 "??"
cssedit, gkautomate
6,941

edits

Navigation menu