mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-05 08:25:28 +00:00
优化长离
This commit is contained in:
parent
1c06af2bcb
commit
6487c713d8
@ -23,9 +23,7 @@ class Changli(BaseChar):
|
||||
|
||||
def do_perform(self):
|
||||
if self.has_intro or self.enhanced_normal:
|
||||
self.sleep(0.05)
|
||||
self.normal_attack()
|
||||
self.sleep(0.5)
|
||||
self.continues_normal_attack(0.5)
|
||||
self.enhanced_normal = False
|
||||
if self.is_forte_full():
|
||||
self.logger.debug('Changli click heavy attack without ult')
|
||||
|
@ -17,7 +17,7 @@ class Encore(BaseChar):
|
||||
def do_perform(self):
|
||||
target_low_con = False
|
||||
if self.has_intro:
|
||||
self.sleep(0.7)
|
||||
self.continues_normal_attack(.7)
|
||||
self.wait_down()
|
||||
elif self.can_resonance_step2(4):
|
||||
if self.click_resonance()[0]:
|
||||
@ -29,10 +29,6 @@ class Encore(BaseChar):
|
||||
self.logger.info(f'try Encore resonance_step2 wait_success:{wait_success}')
|
||||
|
||||
if self.still_in_liberation():
|
||||
# if time.time() - self.liberation_time > 7.5 and self.is_forte_full():
|
||||
# self.heavy_attack()
|
||||
# self.last_heavy = time.time()
|
||||
# else:
|
||||
target_low_con = True
|
||||
self.n4()
|
||||
elif self.click_resonance()[0]:
|
||||
|
@ -24,8 +24,8 @@ class AutoPickTask(TriggerTask, FindFeature):
|
||||
f_search_box = self.get_box_by_name('pick_up_f')
|
||||
f_search_box = f_search_box.copy(x_offset=-f_search_box.width / 2,
|
||||
width_offset=f_search_box.width,
|
||||
height_offset=f_search_box.height * 4,
|
||||
y_offset=-f_search_box.height / 2,
|
||||
height_offset=f_search_box.height * 9,
|
||||
y_offset=-f_search_box.height * 5,
|
||||
name='search_dialog')
|
||||
if f := self.find_one('pick_up_f', box=f_search_box,
|
||||
threshold=0.8):
|
||||
|
Loading…
x
Reference in New Issue
Block a user