mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: DUNGEON_COMBAT_INTERACT may slow to response
This commit is contained in:
parent
2b9e366468
commit
4138c4d9ca
@ -2,6 +2,7 @@ from module.base.decorator import run_once
|
||||
from module.exception import RequestHumanTakeover
|
||||
from module.logger import logger
|
||||
from tasks.combat.assets.assets_combat_finish import COMBAT_AGAIN, COMBAT_EXIT
|
||||
from tasks.combat.assets.assets_combat_interact import DUNGEON_COMBAT_INTERACT
|
||||
from tasks.combat.assets.assets_combat_prepare import COMBAT_PREPARE
|
||||
from tasks.combat.assets.assets_combat_team import COMBAT_TEAM_PREPARE, COMBAT_TEAM_SUPPORT
|
||||
from tasks.combat.interact import CombatInteract
|
||||
@ -136,9 +137,11 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
||||
self.interval_reset(COMBAT_PREPARE)
|
||||
trial += 1
|
||||
continue
|
||||
if self.appear(DUNGEON_COMBAT_INTERACT):
|
||||
if self.handle_combat_interact():
|
||||
self.map_A_timer.reset()
|
||||
continue
|
||||
else:
|
||||
if self.handle_ascension_dungeon_prepare():
|
||||
continue
|
||||
if self.handle_popup_confirm():
|
||||
|
Loading…
Reference in New Issue
Block a user