Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EnemyEncounters
(view source)
Revision as of 08:51, 16 November 2016
263 bytes removed
,
7 years ago
revert to what works
Line 623:
Line 623:
if i ~= nil then
if i ~= nil then
count = count + 1
count = count + 1
−
if
(
count
==
3
or count
==
9)
and str
:sub(i+1,#str)
~=
""
then
+
if count
%
3 ==
0
and str ~=
nil
then
str = str:sub(0,i) .. "<br>" .. str:sub(i+1,#str)
str = str:sub(0,i) .. "<br>" .. str:sub(i+1,#str)
−
end
+
end
−
if count == 6 and str:sub(i+1,#str) ~= "" then -- >6 ships --> combined fleet
−
str = "<center><b>Main Fleet</b></center>" .. str:sub(0,i) .. "<center><b>Escort Fleet</b></center>" .. str:sub(i+1,#str)
−
end
end
end
end
end
IbarakiIbuki
5,421
edits