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

Fix: 修复一些稀有bug

This commit is contained in:
LmeSzinc
2020-04-21 13:56:05 +08:00
parent b3698d7ae6
commit 8f1d8fb363
2 changed files with 6 additions and 15 deletions

View File

@@ -5,14 +5,11 @@ from module.handler.assets import *
class InfoBarHandler(ModuleBase):
def info_bar_count(self):
if self.appear(INFO_BAR_1):
# if self.appear(INFO_BAR_2):
# if self.appear(INFO_BAR_3):
# return 3
# else:
# return 2
# else:
# return 1
if self.appear(INFO_BAR_3):
return 3
elif self.appear(INFO_BAR_2):
return 2
elif self.appear(INFO_BAR_1):
return 1
else:
return 0