• 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 276: Line 276:  
         local battle_card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
 
         local battle_card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
 
         table.insert(drops, battle_card)
 
         table.insert(drops, battle_card)
         table.insert(self._rows, format{self._added_cell_template,
+
          
             content = "Notable Drops<br />" .. table.concat(drops, " "),
+
        local content = "Notable Drops<br />" .. (drops[1] or "") .. " " .. (drops[2] or "") .. " " .. (drops[3] or "")
             bg_color = self._extra_cells_bg,
+
        local index = 4
         })
+
        while drops[index] do
 +
            table.insert(self._rows, format{self._added_cell_template,
 +
                content = content,
 +
                bg_color = self._extra_cells_bg,
 +
            })
 +
             content = "<br />" .. (drops[index] or "") .. " " .. (drops[index + 1] or "") .. " " .. (drops[index + 2] or "")
 +
             index = index + 3
 +
         end
 
     end
 
     end
 
end
 
end
    
return NanaminFleet
 
return NanaminFleet
48

edits

Navigation menu