mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fixed EN rank D assets, CN so those needs to be updated since I don't play CN I've only inserted dummy files so that button_extract module would run. Also added extra conditions for the exercise loop so that it exits the rank D screens
This commit is contained in:
@@ -40,15 +40,25 @@ class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment):
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
|
||||
# Finish
|
||||
# Finish - S or D rank
|
||||
if self.appear_then_click(BATTLE_STATUS_S):
|
||||
success = True
|
||||
end = True
|
||||
continue
|
||||
if self.appear_then_click(BATTLE_STATUS_D):
|
||||
success = True
|
||||
end = True
|
||||
logger.info("Exercise LOST")
|
||||
continue
|
||||
if self.appear_then_click(GET_ITEMS_1):
|
||||
continue
|
||||
if self.appear_then_click(EXP_INFO_S):
|
||||
continue
|
||||
if self.appear_then_click(EXP_INFO_D):
|
||||
continue
|
||||
# Last D rank screen
|
||||
if self.appear_then_click(OPTS_INFO_D, offset=(30,30)):
|
||||
continue
|
||||
|
||||
# Quit
|
||||
if not end:
|
||||
|
||||
Reference in New Issue
Block a user