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:08, 16 November 2016
65 bytes removed
,
8 years ago
no edit summary
Line 619:
Line 619:
local i = 0
local i = 0
local count = 0
local count = 0
−
for j
=
0, 2
do
+
while i ~
=
nil
do
−
local prev = i
_, i = string.find(str,"]]",i)
_, i = string.find(str,"]]",i)
−
if i
=
= nil then
+
if i
~
= nil then
−
i = prev
−
else
count = count + 1
count = count + 1
if count % 3 == 0 and str ~= nil then
if count % 3 == 0 and str ~= nil then
IbarakiIbuki
5,421
edits