• 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 103: Line 103:  
                 return format_lua(lua)
 
                 return format_lua(lua)
 
             end
 
             end
        else
  −
            return key
   
         end
 
         end
 
     end
 
     end
Line 203: Line 201:  
         end
 
         end
 
     else
 
     else
         return arg
+
         return args.format == "table" and ("|" .. arg .. "\n") or arg
 
     end
 
     end
 
end
 
end
Line 255: Line 253:  
     mw.log(
 
     mw.log(
 
         Calc.format(nil, {
 
         Calc.format(nil, {
             "!Nagato/Kai Ni:_hp = 1",
+
            format = "table",
             --"!_level = 99",
+
             "!Nagato/Kai Ni",
             --"!_accuracy = 10",
+
             "!_level ~ 99",
             --"!!Destroyer Ro-Class",
+
             "!_accuracy ~ 10",
             "?hp"
+
             "!!Destroyer Ro-Class",
 +
             "?link",
 +
            "?level",
 +
            "??link",
 +
            "?test",
 +
            "Some text..."
 
         })
 
         })
 
     )
 
     )
cssedit, gkautomate
6,928

edits

Navigation menu