mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user