mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: combat_wave_cost was reset in combat again
This commit is contained in:
parent
9f802e009a
commit
5a55a5917b
@ -86,8 +86,6 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
||||
support_set = False
|
||||
else:
|
||||
support_set = True
|
||||
# Reset combat_wave_cost, so handle_combat_interact() won't activate before handle_combat_prepare()
|
||||
self.combat_wave_cost = 10
|
||||
logger.info([support_character, support_set])
|
||||
trial = 0
|
||||
while 1:
|
||||
@ -363,6 +361,8 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
||||
finish = self.combat_finish()
|
||||
if self._combat_should_reenter():
|
||||
continue
|
||||
# Reset combat_wave_cost, so handle_combat_interact() won't activate before handle_combat_prepare()
|
||||
self.combat_wave_cost = 10
|
||||
if finish:
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user