• 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
Reverted edits by Remi Scarlet (talk) to last revision by IbarakiIbuki
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 nodestuff = mw.text.split(k,"_")[1]
+
             local letter = mw.text.split(k,"")[1]
             local letter = string.sub(nodestuff,1,-2)
+
             local num = mw.text.split(k,"")[2]
            local num = string.sub(nodestuff,-1,-1)
+
            if letter == 'z' then
 
+
            val = string.find(k, "-")
             if validNodeLetters[letter] then
+
            if val ~= nil then
 +
            letter = mw.text.split(k, "-")[1]
 +
            num = mw.text.split(k, "")[val + 1]
 +
            end
 +
            end
 +
             if validNodeLetters[letter] and tonumber(num) ~= nil then
 
                 mapEncounterTable[letter] = {}
 
                 mapEncounterTable[letter] = {}
 
                 if letter>bossNode then
 
                 if letter>bossNode then
2,922

edits

Navigation menu