mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: Running free weekly for planner
This commit is contained in:
parent
2621cb5d53
commit
83c9fb9b06
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user