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 07:56, 16 November 2016
228 bytes added
,
8 years ago
m
no edit summary
Line 619:
Line 619:
local i = 0
local i = 0
local count = 0
local count = 0
−
for j=0,
4
do
+
for j=0,
2
do
local prev = i
local prev = i
_, i = string.find(str,"]]",i)
_, i = string.find(str,"]]",i)
Line 628:
Line 628:
end
end
end
end
−
if count
%
3 == 0 and str ~= nil then
+
if count
==
3
and str ~
=
nil then
+
str
=
str:sub(
0
,i) .. "<br>" .. str:sub(i+1,#str)
+
end
+
if count == 6 and str ~= nil then
+
str = str:sub(0,i) .. "<br>" .. str:sub(i+1,#str)
+
end
+
if count == 9
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
IbarakiIbuki
5,421
edits