mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 03:16:08 +00:00
Fix: 修复战术学院收获
This commit is contained in:
parent
65de042dd3
commit
43b359464f
BIN
assets/reward/TACTICAL_CLASS_CANCEL.png
Normal file
BIN
assets/reward/TACTICAL_CLASS_CANCEL.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
@ -6,7 +6,7 @@ from module.base.timer import Timer, time_range_active
|
|||||||
from module.base.utils import area_offset, get_color, color_similar, color_similarity_2d
|
from module.base.utils import area_offset, get_color, color_similar, color_similarity_2d
|
||||||
from module.handler.popup import PopupHandler
|
from module.handler.popup import PopupHandler
|
||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
from module.reward.assets import TACTICAL_CLASS_START, REWARD_2
|
from module.reward.assets import *
|
||||||
from module.ui.assets import TACTICAL_CHECK
|
from module.ui.assets import TACTICAL_CHECK
|
||||||
from module.ui.ui import UI, page_tactical, page_reward
|
from module.ui.ui import UI, page_tactical, page_reward
|
||||||
|
|
||||||
@ -216,7 +216,8 @@ class RewardTacticalClass(UI, PopupHandler):
|
|||||||
continue
|
continue
|
||||||
if self.handle_popup_confirm():
|
if self.handle_popup_confirm():
|
||||||
continue
|
continue
|
||||||
if self.appear(TACTICAL_CLASS_START, offset=(30, 30), interval=1):
|
if self.appear(TACTICAL_CLASS_CANCEL, offset=(30, 30), interval=1) \
|
||||||
|
and self.appear(TACTICAL_CLASS_START, offset=(30, 30)):
|
||||||
self._tactical_books_choose()
|
self._tactical_books_choose()
|
||||||
self.device.click(TACTICAL_CLASS_START)
|
self.device.click(TACTICAL_CLASS_START)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user