Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
20200122.3
Browse files Browse the repository at this point in the history
+ added delay at event.py
+ change version.txt
  • Loading branch information
Walofz committed Jan 22, 2020
1 parent 8b52186 commit 6aa612c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions modules/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def event_logic_wrapper(self):
if self.pre_combat_handler():
self.combat_handler()
Logger.log_msg(f"Finished EX {event.replace('_', ' ')} combat.")
Utils.script_sleep(1)

while ('H' in self.levels):
Utils.update_screen()
if Utils.find(f"event/{event}/hard_completed"):
Expand All @@ -71,6 +73,8 @@ def event_logic_wrapper(self):
if self.pre_combat_handler():
self.combat_handler()
Logger.log_msg(f"Finished Hard {event.replace('_', ' ')} combat.")
Utils.script_sleep(1)

while ('N' in self.levels):
Utils.update_screen()
if Utils.find(f"event/{event}/normal_completed"):
Expand All @@ -81,6 +85,8 @@ def event_logic_wrapper(self):
if self.pre_combat_handler():
self.combat_handler()
Logger.log_msg(f"Finished Normal {event.replace('_', ' ')} combat.")
Utils.script_sleep(1)

while ('E' in self.levels):
Utils.update_screen()
if Utils.find(f"event/{event}/easy_completed"):
Expand All @@ -91,6 +97,7 @@ def event_logic_wrapper(self):
if self.pre_combat_handler():
self.combat_handler()
Logger.log_msg(f"Finished Easy {event.replace('_', ' ')} combat.")
Utils.script_sleep(1)

Logger.log_msg("Finished all event combats, going back to menu.")

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.0.7-original
20200122.02
20200122.03

0 comments on commit 6aa612c

Please sign in to comment.