mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Compare commits
1 Commits
a1342048bc
...
45cf1c62ae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45cf1c62ae |
@ -97,7 +97,7 @@ class Coalition(CoalitionCombat, CampaignEvent):
|
||||
self.config.Scheduler_Enable = False
|
||||
return True
|
||||
# Oil limit
|
||||
if oil_check and self._coalition_has_oil_icon:
|
||||
if oil_check:
|
||||
if self.get_oil() < max(500, self.config.StopCondition_OilLimit):
|
||||
logger.hr('Triggered stop condition: Oil limit')
|
||||
self.config.task_delay(minute=(120, 240))
|
||||
@ -147,7 +147,7 @@ class Coalition(CoalitionCombat, CampaignEvent):
|
||||
self.coalition_map_exit(event)
|
||||
raise
|
||||
|
||||
if self.triggered_stop_condition(oil_check=True):
|
||||
if self._coalition_has_oil_icon and self.triggered_stop_condition(oil_check=True):
|
||||
self.coalition_map_exit(event)
|
||||
raise ScriptEnd
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user