• 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 326: Line 326:  
return nil
 
return nil
 
end
 
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
 +
]]--
 
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 then
Line 613: Line 623:  
local is_player_submarine = not is_enemy and self:_is_submarine()
 
local is_player_submarine = not is_enemy and self:_is_submarine()
 
     if
 
     if
 +
    self._ship:opening_torpedo() == true or
 
         not is_enemy_submarine and self:_find_equipment(Self._is_active_midget_submarine) or
 
         not is_enemy_submarine and self:_find_equipment(Self._is_active_midget_submarine) or
 
         is_player_submarine and self._ship:level() and self._ship:level() >= 10 or
 
         is_player_submarine and self._ship:level() and self._ship:level() >= 10 or
cssedit, gkautomate
6,940

edits

Navigation menu