Skip to content

Commit

Permalink
fix out of combat
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 5, 2024
1 parent 69767bc commit fae89f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/char/BaseChar.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def click_liberation(self, wait_end=True, con_less_than=-1, send_click=False):
self.task.in_liberation = True
if send_click:
self.task.click(interval=0.1)
if time.time() - start > 0:
if time.time() - start > 7:
self.task.raise_not_in_combat('too long a liberation, the boss was killed by the liberation')
self.task.next_frame()
self.task.in_liberation = False
Expand Down

0 comments on commit fae89f0

Please sign in to comment.