Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 06:20, 20 April 2015
154 bytes added
,
9 years ago
m
no edit summary
Line 277:
Line 277:
table.insert(drops, battle_card)
table.insert(drops, battle_card)
−
local
content
=
"Notable Drops<br />" .. (drops[
1
] or "") .. " " .. (drops[2] or "") .. " " .. (drops[3] or "")
+
local
index
= 1
−
local
index = 4
+
local
content
while drops[index] do
while drops[index] do
+
if index == 1 then
+
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,
table.insert(self._rows, format{self._added_cell_template,
content = content,
content = content,
bg_color = self._extra_cells_bg,
bg_color = self._extra_cells_bg,
})
})
−
content = "<br />" .. (drops[index] or "") .. " " .. (drops[index + 1] or "") .. " " .. (drops[index + 2] or "")
+
index = index +
4
−
index = index +
3
end
end
end
end
Nanamin
48
edits