OSDN Git Service

海防艦の対潜能力に対応する
[kancollesniffer/KancolleSniffer.git] / KancolleSniffer / ShipInfo.cs
index 30d69c1..5c51beb 100644 (file)
@@ -187,7 +187,8 @@ namespace KancolleSniffer
         }\r
 \r
         public bool CanOpeningAntiSubmarineAttack =>\r
-            Spec.Id == 141 || AntiSubmarine >= 100 && Slot.Any(item => item.Spec.IsSonar);\r
+            Spec.Id == 141 || Slot.Any(item => item.Spec.IsSonar) &&\r
+                (AntiSubmarine >= 100 || Spec.ShipType == 1 && AntiSubmarine >= 60);\r
 \r
         public double NightBattlePower\r
         {\r