0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-05 08:25:28 +00:00

修复角色可能一直会平a

This commit is contained in:
firedcto@gmail.com 2024-08-09 00:08:19 +08:00
parent 3cd8e6b3eb
commit 0cd323d58a
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
text_white_color = {
'r': (255, 255), # Red range
'g': (255, 255), # Green range
'b': (255, 255) # Blue range
'r': (244, 255), # Red range
'g': (244, 255), # Green range
'b': (244, 255) # Blue range
}

View File

@ -189,8 +189,8 @@ class BaseChar:
continue
else:
self.task.in_liberation = False
now = time.time()
self.check_combat()
now = time.time()
current_resonance = self.current_resonance()
if not self.resonance_available(current_resonance) and (
not has_animation or now - start > animation_min_duration):

View File

@ -182,7 +182,7 @@ class FarmWorldBossTask(BaseCombatTask):
logger.info(f'sleep for the Bell-Borne model to appear')
self.sleep(15)
try:
self.combat_once()
self.combat_once(wait_before=0)
except CharDeadException:
logger.info(f'char dead try teleport to heal')
self.teleport_to_heal()