MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / challenge

Method challenge

tasks/WantedQuests/script_task.py:192–199  ·  view source on GitHub ↗
(self, goto, num)

Source from the content-addressed store, hash-verified

190
191
192 def challenge(self, goto, num):
193 self.ui_click(goto, self.I_WQC_FIRE)
194 self.ui_click(self.I_WQC_LOCK, self.I_WQC_UNLOCK)
195 self.ui_click_until_disappear(self.I_WQC_FIRE)
196 self.run_general_battle()
197 self.wait_until_appear(self.I_WQC_FIRE, wait_time=4)
198 self.ui_click_until_disappear(self.I_UI_BACK_RED)
199 # 我忘记了打完后是否需要关闭 挑战界面
200
201 def secret(self, goto, num=1):
202 self.ui_click(goto, self.I_WQSE_FIRE)

Callers 1

execute_missionMethod · 0.95

Calls 4

ui_clickMethod · 0.95
run_general_battleMethod · 0.80
wait_until_appearMethod · 0.80

Tested by

no test coverage detected