1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 16:47:03 +08:00

Fix: sirens are not sea and cannot be passed through

We use 'is_sea' to find path in find_path_initial(). Sirens cannot be passed through, so they should not be tagged 'is_sea'.
This commit is contained in:
noname94
2021-03-28 11:44:31 +09:00
parent 038d1926be
commit 8b21d52326

View File

@@ -137,7 +137,7 @@ class GridInfo:
@property
def is_sea(self):
return False if self.is_land or self.is_enemy or self.is_boss else True
return False if self.is_land or self.is_enemy or self.is_siren or self.is_boss else True
@property
def may_carrier(self):