mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
315bc261bb
* Add: Get Support Reward Everyday * Upd: i18n * Upd: Instead of using ocr, use template matching * fix bug * fix: remove debug img * Upd: Character (#157) * Upd: character * Upd: Character --------- Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
14 lines
452 B
Python
14 lines
452 B
Python
from module.logger import logger
|
|
from module.base.base import ModuleBase
|
|
from tasks.freebies.support_reward import SupportReward
|
|
|
|
class Freebies(ModuleBase):
|
|
def run(self):
|
|
"""
|
|
Run all freebie tasks
|
|
"""
|
|
if self.config.SupportReward_Collect:
|
|
logger.hr('Support Reward')
|
|
SupportReward(config=self.config, device=self.device).run()
|
|
|
|
self.config.task_delay(server_update=True) |