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 06:54, 13 June 2021
14 bytes added
,
3 years ago
no edit summary
Line 464:
Line 464:
else
else
if filterArg then
if filterArg then
−
local kv =
U
.split(filterArg, "
=
")
+
local kv =
mw.text
.split(filterArg, "
%s*~%s*
")
if tostring(ship[kv[1]](ship)) == kv[2] then
if tostring(ship[kv[1]](ship)) == kv[2] then
return format_arg(format_value(string.sub(arg, 2), ship, target))
return format_arg(format_value(string.sub(arg, 2), ship, target))
Line 564:
Line 564:
Calc.format(nil, {
Calc.format(nil, {
"@all_names",
"@all_names",
−
"~hp_mod_married
=0
",
+
"~hp_mod_married
~ 1
",
"!@",
"!@",
"?link",
"?link",
がか
cssedit, gkautomate
7,064
edits