• 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 49: Line 49:  
tablehtml = tablehtml .. '<tr><td style="text-align:center; font-size:18px; font-weight:bold;" '
 
tablehtml = tablehtml .. '<tr><td style="text-align:center; font-size:18px; font-weight:bold;" '
 
tablehtml = tablehtml .. 'rowspan="' .. numTypes[node] .. '">' .. node .. '</td>'
 
tablehtml = tablehtml .. 'rowspan="' .. numTypes[node] .. '">' .. node .. '</td>'
 
+
remTypes = numTypes[node] - 1
+
remTypes = numTypes[node]
 
for y, ship in pairs(shipTypes) do
 
for y, ship in pairs(shipTypes) do
 
if drops[node][ship] ~= nil then
 
if drops[node][ship] ~= nil then
 
tablehtml = tablehtml .. '<td style="text-align:center; width:70px;">' .. classLink[ship] .. '</td>'
 
tablehtml = tablehtml .. '<td style="text-align:center; width:70px;">' .. classLink[ship] .. '</td>'
 
tablehtml = tablehtml .. '<td>' .. drops[node][ship] .. '</td>'
 
tablehtml = tablehtml .. '<td>' .. drops[node][ship] .. '</td>'
end
  −
if remTypes > 0 then
  −
tablehtml = tablehtml .. '</tr><tr>'
   
remTypes = remTypes - 1
 
remTypes = remTypes - 1
else
+
if remTypes > 0 then
tablehtml = tablehtml .. '</tr>'
+
tablehtml = tablehtml .. '</tr><tr>'
break
+
else
 +
tablehtml = tablehtml .. '</tr>'
 +
break
 +
end
 
end
 
end
 
end
 
end
5,421

edits

Navigation menu