mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-03 07:39:43 +08:00
Fix: potato pc may spam click ash exit and end up in ASH_SHOWDOWN
This commit is contained in:
@@ -87,7 +87,8 @@ class OSAsh(UI, MapEventHandler):
|
|||||||
beacon_entrance_offset = (100, 100)
|
beacon_entrance_offset = (100, 100)
|
||||||
|
|
||||||
def is_in_ash(self):
|
def is_in_ash(self):
|
||||||
return self.appear(ASH_CHECK, offset=(100, 20))
|
return self.appear(ASH_CHECK, offset=(100, 20)) or \
|
||||||
|
self.appear(ASH_SHOWDOWN, offset=(30, 30))
|
||||||
|
|
||||||
def is_in_map(self):
|
def is_in_map(self):
|
||||||
return self.appear(IN_MAP, offset=(200, 5))
|
return self.appear(IN_MAP, offset=(200, 5))
|
||||||
|
|||||||
Reference in New Issue
Block a user