mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 11:19:30 +00:00
12 lines
317 B
Python
12 lines
317 B
Python
|
from module.handler.assets import STRATEGY_OPEN_1
|
||
|
from module.handler.info_bar import InfoBarHandler
|
||
|
|
||
|
|
||
|
class StrategyHandler(InfoBarHandler):
|
||
|
def handle_opened_strategy_bar(self):
|
||
|
if self.appear_then_click(STRATEGY_OPEN_1):
|
||
|
self.device.sleep(0.5)
|
||
|
return True
|
||
|
|
||
|
return False
|