Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EventComp
(view source)
Revision as of 07:16, 18 September 2016
5 bytes added
,
8 years ago
m
no edit summary
Line 58:
Line 58:
local types_allowed = { [6] = true, [7] = true, [8] = true, [11] = true }
local types_allowed = { [6] = true, [7] = true, [8] = true, [11] = true }
if types_allowed[equip:type()] and equip:aa() then
if types_allowed[equip:type()] and equip:aa() then
−
self._fighter_power = self._fighter_power + math.floor(math.sqrt(planes) * equip:aa())
+
self._fighter_power = self._fighter_power + math.floor(math.sqrt(planes
or 0
) * equip:aa())
end
end
がか
cssedit, gkautomate
7,064
edits