1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 06:27:20 +08:00

Fix: potato pc may spam click ash exit and end up in ASH_SHOWDOWN

This commit is contained in:
nEEtdo0d
2022-07-16 11:52:29 -04:00
parent 05af963397
commit ac93ac9487

View File

@@ -87,7 +87,8 @@ class OSAsh(UI, MapEventHandler):
beacon_entrance_offset = (100, 100)
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):
return self.appear(IN_MAP, offset=(200, 5))