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 17:30, 4 November 2017
48 bytes added
,
7 years ago
m
no edit summary
Line 96:
Line 96:
local a, b = shipCapabilities[key](shipCapabilities)
local a, b = shipCapabilities[key](shipCapabilities)
return format_lua(b or a)
return format_lua(b or a)
−
else
+
elseif ship then
local lua = ship[key]
local lua = ship[key]
if type(lua) == "function" then
if type(lua) == "function" then
Line 103:
Line 103:
return format_lua(lua)
return format_lua(lua)
end
end
+
else
+
return key
end
end
end
end
がか
cssedit, gkautomate
7,064
edits