Fix: Running free weekly for planner

This commit is contained in:
LmeSzinc 2024-07-15 21:47:59 +08:00
parent 2621cb5d53
commit 83c9fb9b06

View File

@ -133,6 +133,9 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
return False return False
if not self.handle_combat_prepare(): if not self.handle_combat_prepare():
return False return False
if self.is_doing_planner and self.combat_wave_cost == 0:
logger.info('Free combat gets nothing cannot meet planner needs')
return False
self.device.click(COMBAT_PREPARE) self.device.click(COMBAT_PREPARE)
self.interval_reset(COMBAT_PREPARE) self.interval_reset(COMBAT_PREPARE)
trial += 1 trial += 1