• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
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

Navigation menu