Changes

bombing for bb type installation
Line 297: Line 297:  
end
 
end
 
local is_installation = self:_is_installation()
 
local is_installation = self:_is_installation()
 +
local shiptype = self._ship:type()
 +
local is_installation_bb = ((shiptype == 8) or (shiptype == 9)) and is_installation
 
if not self:_is_carrier() and not is_installation then
 
if not self:_is_carrier() and not is_installation then
 
if firepower > 0 then
 
if firepower > 0 then
Line 343: Line 345:  
end
 
end
 
end
 
end
if has_planes then
+
if is_installation_bb or has_planes then
 
if vs_installation then
 
if vs_installation then
 
if bombing > 0 then
 
if bombing > 0 then
Anonymous user