mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 06:28:03 +08:00
Fix: check rest ap condition when cl1 cannot run (#2586)
Co-authored-by: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com>
This commit is contained in:
parent
f59ac5885f
commit
8610c5492b
@ -331,7 +331,7 @@ class OperationSiren(OSMap):
|
||||
# When not running CL1 and use oil
|
||||
keep_current_ap = True
|
||||
check_rest_ap = True
|
||||
if self.is_cl1_enabled:
|
||||
if self.is_cl1_enabled and self.get_yellow_coins() >= self.config.OS_CL1_YELLOW_COINS_PRESERVE:
|
||||
check_rest_ap = False
|
||||
if not self.is_cl1_enabled and self.config.OpsiGeneral_BuyActionPointLimit > 0:
|
||||
keep_current_ap = False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user