Skip to content

Commit

Permalink
fix total assault
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Feb 17, 2024
1 parent 55cb408 commit de998d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion module/total_assault.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def implement(self):
tickets = 0
else:
tickets -= 1
while res == "WIN" and pri_total_assault != len(self.total_assault_difficulty_name) - 2 and tickets > 0 and self.flag_run:
while res == "WIN" and pri_total_assault != len(self.total_assault_difficulty_names) - 2 and tickets > 0 and self.flag_run:
if pri_total_assault == maxx:
break
max_sweepable = pri_total_assault
Expand Down Expand Up @@ -221,6 +221,8 @@ def to_total_assault(self, skip_first_screenshot):
"total_assault_room-info": (1123, 168),
'total_assault_inadequate-ticket': (886, 162),
'total_assault_edit-force': (62, 38),
'total_assault_total-assault-result': (640, 568),
'total_assault_win-reward-confirm': (772, 659),
"normal_task_sweep-complete": (643, 585),
'normal_task_skip-sweep-complete': (643, 506),
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/images/CN/x_y_range/total_assault.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
'battle-lost-confirm': (577, 636, 691, 683),
'battle-win-confirm': (1144, 649, 1194, 674),
'inadequate-ticket': (508, 311,754, 351),
'give-up-notice': (574, 315, 706, 347)
'give-up-notice': (574, 315, 706, 347),
'win-reward-confirm': (713, 637, 832, 680),
'total_assault_result': (539, 109, 728, 145),
}

0 comments on commit de998d9

Please sign in to comment.