• 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
m
legacy abyssal id (501..721)
Line 551: Line 551:  
return false
 
return false
 
end
 
end
local is_enemy_submarine = self._ship:id() > 1500 and self:_is_submarine()
+
local is_enemy = self._ship:id() >= 501 and self._ship:_id() <= 721 or
local is_player_submarine = self._ship:id() <= 1500 and self:_is_submarine()
+
    self._ship:id() >= 1722
 +
local is_enemy_submarine = is_enemy and self:_is_submarine()
 +
local is_player_submarine = not is_enemy and self:_is_submarine()
 
     if
 
     if
 
         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
Anonymous user

Navigation menu