mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Add: keep enough AP for Hazard1Leveling
This commit is contained in:
parent
8db5e31d54
commit
6da909089b
@ -437,8 +437,10 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler):
|
|||||||
if self.is_cl1_enabled and get_os_reset_remain() > 2 \
|
if self.is_cl1_enabled and get_os_reset_remain() > 2 \
|
||||||
and self.get_yellow_coins() > self.config.cross_get(
|
and self.get_yellow_coins() > self.config.cross_get(
|
||||||
keys="OpsiHazard1Leveling.OpsiHazard1Leveling.OperationCoinsPreserve"):
|
keys="OpsiHazard1Leveling.OpsiHazard1Leveling.OperationCoinsPreserve"):
|
||||||
logger.info('Keep 1000 AP when CL1 available')
|
OpsiMeowfficerFarming_ActionPointPreservse = self.config.cross_get(
|
||||||
if not self.action_point_check(1000):
|
keys="OpsiMeowfficerFarming.OpsiMeowfficerFarming.ActionPointPreserve")
|
||||||
|
logger.info(f'Keep {OpsiMeowfficerFarming_ActionPointPreservse} AP when CL1 available')
|
||||||
|
if not self.action_point_check(OpsiMeowfficerFarming_ActionPointPreservse):
|
||||||
self.config.opsi_task_delay(cl1_preserve=True)
|
self.config.opsi_task_delay(cl1_preserve=True)
|
||||||
self.config.task_stop()
|
self.config.task_stop()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user