• 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
no edit summary
Line 345: Line 345:  
     for k,v in pairs(frame.args) do
 
     for k,v in pairs(frame.args) do
 
         if string.lower(k) ~= "boss_node" and string.lower(k) ~= "final_form" and string.lower(k) ~= "post_final_form" then
 
         if string.lower(k) ~= "boss_node" and string.lower(k) ~= "final_form" and string.lower(k) ~= "post_final_form" then
             local letter = mw.text.split(k,"")[1]
+
             local nodestuff = mw.text.split(k,"_")[0]
             local num = mw.text.split(k,"")[2]
+
             local letter = string.sub(nodestuff,1,-2)
             if letter == 'z' then
+
             local num = string.sub(nodestuff,-1,-1)
            val = string.find(k, "-")
+
 
            if val ~= nil then
  −
            letter = mw.text.split(k, "-")[1]
  −
            num = mw.text.split(k, "")[val + 1]
  −
            end
  −
            end
   
             if validNodeLetters[letter] then
 
             if validNodeLetters[letter] then
 
                 mapEncounterTable[letter] = {}
 
                 mapEncounterTable[letter] = {}
2,922

edits

Navigation menu