• 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 347: Line 347:  
             local letter = mw.text.split(k,"")[1]
 
             local letter = mw.text.split(k,"")[1]
 
             local num = mw.text.split(k,"")[2]
 
             local num = mw.text.split(k,"")[2]
 +
            if letter == 'z' then
 +
            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] and tonumber(num) ~= nil then
 
             if validNodeLetters[letter] and tonumber(num) ~= nil then
 
                 mapEncounterTable[letter] = {}
 
                 mapEncounterTable[letter] = {}
Line 373: Line 380:  
     for nodePattern,patternInfo in pairs(frame.args) do
 
     for nodePattern,patternInfo in pairs(frame.args) do
 
         local letter = mw.text.split(nodePattern,"")[1]
 
         local letter = mw.text.split(nodePattern,"")[1]
 +
        if letter == 'z' then
 +
        val = string.find(k, "-")
 +
            if val ~= nil then
 +
            letter = mw.text.split(k, "-")[1]
 +
            end
 +
        end
 +
 
         if mapEncounterTable[letter] ~= nil and nodePattern ~= "final_form" and nodePattern ~= "post_final_form" then
 
         if mapEncounterTable[letter] ~= nil and nodePattern ~= "final_form" and nodePattern ~= "post_final_form" then
 
             if mw.text.split(nodePattern,"")[2] ~= "_" then
 
             if mw.text.split(nodePattern,"")[2] ~= "_" then
5,421

edits

Navigation menu