Fix: Reset combat_wave_cost before every combat

This commit is contained in:
LmeSzinc 2024-05-20 23:50:13 +08:00
parent 80802663be
commit de53612530

View File

@ -86,6 +86,8 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
support_set = False support_set = False
else: else:
support_set = True 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]) logger.info([support_character, support_set])
trial = 0 trial = 0
while 1: while 1: