mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 05:47:23 +08:00
Add: 更多收菜的触发条件
- 在主线图时, 出现委托完成的红点, 会触发收菜 - 完成每日任务时, 会触发收菜 - 执行收菜设置时, 会触发收菜
This commit is contained in:
10
alas.py
10
alas.py
@@ -20,6 +20,9 @@ class AzurLaneAutoScript:
|
||||
print(f'{key} = {value}')
|
||||
|
||||
logger.hr('Reward Settings saved')
|
||||
from module.reward.reward import Reward
|
||||
az = Reward(self.config)
|
||||
az.reward()
|
||||
|
||||
def emulator(self):
|
||||
for key, value in self.config.config['Emulator'].items():
|
||||
@@ -42,6 +45,8 @@ class AzurLaneAutoScript:
|
||||
"""
|
||||
Method to run daily missions.
|
||||
"""
|
||||
flag = False
|
||||
|
||||
if self.config.ENABLE_DAILY_MISSION:
|
||||
from module.daily.daily import Daily
|
||||
az = Daily(self.config)
|
||||
@@ -63,6 +68,11 @@ class AzurLaneAutoScript:
|
||||
az.run()
|
||||
az.record_save()
|
||||
|
||||
if flag:
|
||||
from module.reward.reward import Reward
|
||||
az = Reward(self.config)
|
||||
az.reward()
|
||||
|
||||
def event(self):
|
||||
"""
|
||||
Method to run event.
|
||||
|
||||
Reference in New Issue
Block a user