Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 11:50, 9 April 2015
84 bytes added
,
9 years ago
m
no edit summary
Line 159:
Line 159:
end
end
if item:type() == 6 or item:type() == 7 or item:type() == 8 or item:type() == 11 then
if item:type() == 6 or item:type() == 7 or item:type() == 8 or item:type() == 11 then
−
self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))) * item:aa())
+
if type(item:aa()) == "number" then
+
self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))) * item:aa())
+
end
end
end
end
end
Nanamin
48
edits