(self, target_click)
| 326 | logger.info('Battle End') |
| 327 | |
| 328 | def _realm(self, target_click): |
| 329 | # 结界 |
| 330 | config = self.con |
| 331 | while 1: |
| 332 | self.screenshot() |
| 333 | if not self.appear(self.I_DE_LOCATION): |
| 334 | logger.info('Battle Start') |
| 335 | break |
| 336 | if self.appear_then_click(self.I_DE_REALM_FIRE, interval=0.7): |
| 337 | continue |
| 338 | |
| 339 | if self.click(target_click, interval=1): |
| 340 | continue |
| 341 | if self.run_general_battle(config): |
| 342 | logger.info('Battle End') |
| 343 | |
| 344 | def _mystery(self, target_click): |
| 345 | # 神秘任务, 不做 |
no test coverage detected