mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Add: predict_submarine
The ammo icon of submarines could make 'is_fleet' labeled to wrong grids. The main popurse of the commit is to fix this.
This commit is contained in:
@@ -41,7 +41,7 @@ class GridInfo:
|
||||
is_ammo = False # AM
|
||||
is_fleet = False # FL
|
||||
is_current_fleet = False
|
||||
is_submarine = False # SS
|
||||
is_submarine = False # ss
|
||||
is_siren = False # SI
|
||||
is_portal = False
|
||||
portal_link = ()
|
||||
@@ -104,6 +104,7 @@ class GridInfo:
|
||||
'FL': 'is_current_fleet',
|
||||
'Fc': 'is_caught_by_siren',
|
||||
'Fl': 'is_fleet',
|
||||
'ss': 'is_submarine',
|
||||
'MY': 'is_mystery',
|
||||
'AM': 'is_ammo',
|
||||
'==': 'is_cleared'
|
||||
@@ -239,6 +240,7 @@ class GridInfo:
|
||||
self.is_caught_by_siren = False
|
||||
self.is_carrier = False
|
||||
self.is_movable = False
|
||||
self.is_submarine = False
|
||||
|
||||
def reset(self):
|
||||
"""
|
||||
@@ -247,7 +249,6 @@ class GridInfo:
|
||||
self.wipe_out()
|
||||
self.is_fleet = False
|
||||
self.is_current_fleet = False
|
||||
self.is_submarine = False
|
||||
self.is_cleared = False
|
||||
|
||||
def covered_grid(self):
|
||||
|
||||
Reference in New Issue
Block a user