• 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 15: Line 15:  
local shipCapabilities = {}
 
local shipCapabilities = {}
    +
-- $('.calc-debug').show().appendTo('#mw-content-text')
 
local debug = {}
 
local debug = {}
   Line 240: Line 241:  
function interpret_args()
 
function interpret_args()
 
     debugLog("#args", #args)
 
     debugLog("#args", #args)
 +
    debugLog("type(args)", type(args))
 +
    local i = 1
 
     local values = {}
 
     local values = {}
 
     repeat
 
     repeat
 
         for _, arg in ipairs(args) do
 
         for _, arg in ipairs(args) do
 +
            debugLog("i", i)
 
             debugLog("arg", arg)
 
             debugLog("arg", arg)
 
             local value = interpret_arg(arg)
 
             local value = interpret_arg(arg)
Line 249: Line 253:  
                 table.insert(values, value)
 
                 table.insert(values, value)
 
             end
 
             end
 +
            i = i + 1
 
         end
 
         end
 
     until not sequence or sequence_position > #sequence
 
     until not sequence or sequence_position > #sequence
Line 267: Line 272:  
         Calc.format(nil, {
 
         Calc.format(nil, {
 
             format = "table",
 
             format = "table",
 +
            debug = "true",
 
             "!Nagato/Kai Ni",
 
             "!Nagato/Kai Ni",
 
             "!_equipment ~ 41cm Triple Gun Mount Kai, 41cm Triple Gun Mount Kai, Type 13 Air Radar Kai",
 
             "!_equipment ~ 41cm Triple Gun Mount Kai, 41cm Triple Gun Mount Kai, Type 13 Air Radar Kai",
cssedit, gkautomate
7,064

edits

Navigation menu