mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: combat_wave_cost was cleared after battle
This commit is contained in:
parent
4afe0bf908
commit
6c80316a0c
@ -402,10 +402,10 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
|||||||
finish = self.combat_finish()
|
finish = self.combat_finish()
|
||||||
if self._combat_should_reenter():
|
if self._combat_should_reenter():
|
||||||
continue
|
continue
|
||||||
# Reset combat_wave_cost, so handle_combat_interact() won't activate before handle_combat_prepare()
|
|
||||||
self.combat_wave_cost = 10
|
|
||||||
if finish:
|
if finish:
|
||||||
break
|
break
|
||||||
|
# Reset combat_wave_cost, so handle_combat_interact() won't activate before handle_combat_prepare()
|
||||||
|
self.combat_wave_cost = 10
|
||||||
|
|
||||||
logger.attr('combat_wave_done', self.combat_wave_done)
|
logger.attr('combat_wave_done', self.combat_wave_done)
|
||||||
return self.combat_wave_done
|
return self.combat_wave_done
|
||||||
|
Loading…
Reference in New Issue
Block a user