- 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
Line 475:
Line 475:
− +
Fix bug in AS calculation
function ShipData:air_power()
function ShipData:air_power()
local air_power = 0
local air_power = 0
for i = 1, self:slots() or 0 do
for i = 1, self:slots_length() or 0 do
local slot_equipment, slot_space = self:slot(i)
local slot_equipment, slot_space = self:slot(i)
if slot_equipment == nil or slot_space == nil then
if slot_equipment == nil or slot_space == nil then