• 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
no edit summary
Line 325: Line 325:  
if not firepower then
 
if not firepower then
 
return nil
 
return nil
 +
end
 +
local has_bomber_planes = false
 +
for i = 1, self._ship:slots_length() do
 +
local equipment, size = self._ship:slot(i)
 +
if equipment and self:_is_bomber(equipment) and size and size > 0 then
 +
has_bomber_planes = true
 +
break
 +
end
 
end
 
end
 
local is_installation_bbv = self._ship:speed() == 0 and self._ship:type() == 10
 
local is_installation_bbv = self._ship:speed() == 0 and self._ship:type() == 10
if not self:_is_carrier() and not is_installation_bbv then
+
if not self:_is_carrier() and (not is_installation_bbv or not has_bomber_planes) then
 
if firepower > 0 then
 
if firepower > 0 then
 
for i = 1, self._ship:slots_length() do
 
for i = 1, self._ship:slots_length() do
cssedit, gkautomate
7,064

edits

Navigation menu