Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipData
(view source)
Revision as of 08:14, 29 November 2016
74 bytes added
,
7 years ago
support recon seaplanes in air_power
Line 561:
Line 561:
end
end
−
function ShipData:air_power()
+
function ShipData:air_power(
count_recons
)
local air_power = 0
local air_power = 0
for i = 1, self:slots_length() or 0 do
for i = 1, self:slots_length() or 0 do
Line 577:
Line 577:
slot_equipment_type == 7 or
slot_equipment_type == 7 or
slot_equipment_type == 8 or
slot_equipment_type == 8 or
−
slot_equipment_type == 11) then
+
slot_equipment_type == 11
or
+
count_recons and slot_equipment_type == 10
) then
air_power = air_power +
air_power = air_power +
math.floor(math.sqrt(slot_space) * slot_equipment_aa)
math.floor(math.sqrt(slot_space) * slot_equipment_aa)
がか
cssedit, gkautomate
7,064
edits