Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Calc
(view source)
Revision as of 22:16, 1 November 2021
220 bytes added
,
3 years ago
no edit summary
Line 479:
Line 479:
for _, e in ipairs(filterArg) do
for _, e in ipairs(filterArg) do
local kv = mw.text.split(e, "%s*~%s*")
local kv = mw.text.split(e, "%s*~%s*")
−
if tostring(ship[kv[1]](ship))
~
=
kv[2]
then
+
local xs = mw.text.split(kv[2], "%s*,%s*")
+
local test2 = false
+
for _, e2 in ipairs(xs) do
+
if tostring(ship[kv[1]](ship)) =
= e2 then
+
test2 = true
+
break
+
end
+
end
+
if not test2
then
test = false
test = false
break
break
がか
cssedit, gkautomate
7,064
edits