mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-21 06:29:30 +08:00
Fix: Always stopping when task_balancer is on
This commit is contained in:
@@ -47,6 +47,7 @@ class CampaignEvent(CampaignStatus):
|
||||
tasks = [
|
||||
'Event',
|
||||
'Event2',
|
||||
'Event3',
|
||||
'EventA',
|
||||
'EventB',
|
||||
'EventC',
|
||||
@@ -85,6 +86,7 @@ class CampaignEvent(CampaignStatus):
|
||||
tasks = [
|
||||
'Event',
|
||||
'Event2',
|
||||
'Event3',
|
||||
'EventA',
|
||||
'EventB',
|
||||
'EventC',
|
||||
@@ -117,11 +119,14 @@ class CampaignEvent(CampaignStatus):
|
||||
Pages:
|
||||
in: page_event or page_sp
|
||||
"""
|
||||
from module.config.utils import deep_get
|
||||
limit = self.config.TaskBalancer_CoinLimit
|
||||
coin = self.get_coin()
|
||||
coin = deep_get(self.config.data, 'Dashboard.Coin.Value')
|
||||
logger.attr('Coin Count', coin)
|
||||
tasks = [
|
||||
'Event',
|
||||
'Event2',
|
||||
'Event3',
|
||||
'Raid',
|
||||
'GemsFarming',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user