mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-05 23:50:11 +08:00
Tmp: fix campaign status missing due to game bug
This commit is contained in:
@@ -98,6 +98,8 @@ class CampaignRun(CampaignEvent, ShopStatus):
|
|||||||
return True
|
return True
|
||||||
# Oil limit
|
# Oil limit
|
||||||
if oil_check:
|
if oil_check:
|
||||||
|
self.ui_goto_main()
|
||||||
|
self.campaign.ensure_campaign_ui(name=self.stage, mode=self.mode)
|
||||||
self.status_get_gems()
|
self.status_get_gems()
|
||||||
self.get_coin()
|
self.get_coin()
|
||||||
_oil = self.get_oil()
|
_oil = self.get_oil()
|
||||||
@@ -369,6 +371,7 @@ class CampaignRun(CampaignEvent, ShopStatus):
|
|||||||
self.load_campaign(name, folder=folder)
|
self.load_campaign(name, folder=folder)
|
||||||
self.run_count = 0
|
self.run_count = 0
|
||||||
self.run_limit = self.config.StopCondition_RunCount
|
self.run_limit = self.config.StopCondition_RunCount
|
||||||
|
self.mode = mode
|
||||||
while 1:
|
while 1:
|
||||||
# End
|
# End
|
||||||
if total and self.run_count >= total:
|
if total and self.run_count >= total:
|
||||||
|
|||||||
Reference in New Issue
Block a user