- 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
mLine 585:
Line 585:
− +
Line 598:
Line 598:
+
+
+
try to fix
function ShipCapabilities:asw_attack()
function ShipCapabilities:asw_attack()
local base_asw
local base_asw
local asw_override, opening, day, night = self._ship:asw_attack(), self._ship():opening_asw(), true, true
local asw_override, opening, day, night = self._ship:asw_attack(), false, true, true
if asw_override == false then
if asw_override == false then
return false
return false
return false
return false
end
end
if self._ship._opening_asw then
opening = true
end
local asw_leveled = self._ship:asw_leveled()
local asw_leveled = self._ship:asw_leveled()
local ship_asw, equipment_asw, depth_charge, sonar, bomber = (asw_leveled or 0), 0, false, false, false
local ship_asw, equipment_asw, depth_charge, sonar, bomber = (asw_leveled or 0), 0, false, false, false