- 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 88:
Line 88:
− +
+
− +
no edit summary
function NodeInfo:insert_item(node, formation, fleet, as, tags)
function NodeInfo:insert_item(node, formation, fleet, as, tags)
local air_parity = string.format("%.1d", as * (3 / 2))
local air_parity = string.format("%.1d", math.ceil((2./3.) * as))
local air_superiority = string.format("%.1d", math.ceil(as * (3 / 2)))
local air_supremacy = tostring(as * 3)
local air_supremacy = tostring(as * 3)
local air_string = as .. "/" .. air_parity .. "/" .. air_supremacy
local air_string = air_parity .. "/" .. air_superiority .. "/" .. air_supremacy
table.insert(self._items, {
table.insert(self._items, {
node = node,
node = node,