Changes
mLine 688:
Line 688:
− if not self:_is_aviation_ship() then
− return false
− end
Non-aviation ships (e.g. Supply Depot Princess B Summer Landing Mode Damaged, V.V. class) are also capable of opening airstrike. See also https://twitter.com/nocua_kancolle/status/1276745647153049600
-- Basic attack power for opening airstrike (returns an array with attack values per each bomber).
-- Basic attack power for opening airstrike (returns an array with attack values per each bomber).
function ShipCapabilities:opening_airstrike()
function ShipCapabilities:opening_airstrike()
local airstrikes = {}
local airstrikes = {}
for i = 1, self._ship:slots_length() or 0 do
for i = 1, self._ship:slots_length() or 0 do