• 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 277: Line 277:  
         table.insert(drops, battle_card)
 
         table.insert(drops, battle_card)
 
          
 
          
         local index = 1
+
         local content = "Notable Drops<br />"
        local content
+
        for i in 1, #drops do
        while drops[index] do
+
            content = content .. drops[i] .. " "
            if index == 1 then
+
             if i % 4 == 0 then content = content .. "<br />" end
                content = "Notable Drops<br />" .. (drops[1] or "") .. " " .. (drops[2] or "") .. " " .. (drops[3] or "") .. " " .. (drops[4] or "")
  −
             else
  −
                content = "<br />" .. (drops[index] or "") .. " " .. (drops[index + 1] or "") .. " " .. (drops[index + 2] or "") .. " " .. (drops[index + 3] or "")
  −
            end
  −
            table.insert(self._rows, format{self._added_cell_template,
  −
                content = content,
  −
                bg_color = self._extra_cells_bg,
  −
            })
  −
            index = index + 4
   
         end
 
         end
 +
        table.insert(self._rows, format{self._added_cell_template,
 +
            content = content,
 +
            bg_color = self._extra_cells_bg,
 +
        })
 
     end
 
     end
 
end
 
end
    
return NanaminFleet
 
return NanaminFleet
48

edits

Navigation menu