mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 14:27:00 +08:00
Fix: Oil limit too low
This commit is contained in:
@@ -137,10 +137,9 @@ class Raid(MapOperation, Combat, CampaignEvent):
|
||||
|
||||
@run_once
|
||||
def check_oil():
|
||||
if self.config.StopCondition_OilLimit:
|
||||
if self.get_oil() < self.config.StopCondition_OilLimit:
|
||||
logger.hr('Triggered oil limit')
|
||||
raise OilExhausted
|
||||
if self.get_oil() < max(500, self.config.StopCondition_OilLimit):
|
||||
logger.hr('Triggered oil limit')
|
||||
raise OilExhausted
|
||||
|
||||
@run_once
|
||||
def check_coin():
|
||||
|
||||
Reference in New Issue
Block a user