Skip to content

Commit

Permalink
优化安可, 允许使用1280x720分辨率
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 27, 2024
1 parent 127762e commit 91adbdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def calculate_pc_exe_path(running_path):
},
'supported_resolution': {
'ratio': '16:9',
'min_size': (1600, 900)
'min_size': (1280, 720)
},
'analytics': {
'report_url': 'http://111.231.71.225/report'
Expand Down
8 changes: 4 additions & 4 deletions src/char/Encore.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def do_perform(self):
target_low_con = False
if self.has_intro:
self.logger.debug('encore wait intro')
self.continues_normal_attack(.7)
self.continues_normal_attack(.8)
self.wait_down()
else:
while not self.still_in_liberation() and self.can_resonance_step2(2):
while not self.still_in_liberation() and self.can_resonance_step2():
if self.click_resonance()[0]:
self.last_resonance = 0
self.logger.info('try Encore resonance_step2 success')
self.sleep(0.3)
self.sleep(0.2)
break
else:
self.task.next_frame()
Expand Down Expand Up @@ -55,7 +55,7 @@ def count_resonance_priority(self):
def count_echo_priority(self):
return 40

def can_resonance_step2(self, delay=3.0):
def can_resonance_step2(self, delay=2):
return self.time_elapsed_accounting_for_freeze(self.last_resonance) < delay

def do_get_switch_priority(self, current_char: BaseChar, has_intro=False):
Expand Down

0 comments on commit 91adbdb

Please sign in to comment.