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 11:25, 29 June 2020
10 bytes added
,
4 years ago
m
no edit summary
Line 100:
Line 100:
equipment_range = function(ship)
equipment_range = function(ship)
−
return U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.
name
):range() or 0 end), 0)
+
return U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.
equipment
):range() or 0 end), 0)
end,
end,
equipment_range_diff = function(ship)
equipment_range_diff = function(ship)
−
local equipment_range = U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.
name
):range() or 0 end), 0)
+
local equipment_range = U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.
equipment
):range() or 0 end), 0)
return (ship:range() or 0) - equipment_range
return (ship:range() or 0) - equipment_range
end,
end,
がか
cssedit, gkautomate
7,064
edits