1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 14:19:25 +08:00

fix: disable global speedup on guild and minigame

This commit is contained in:
0O0o0oOoO00
2025-05-16 12:46:19 +08:00
parent 3c63b8d65d
commit 7da737863d

View File

@@ -12,9 +12,10 @@ from module.config.config import AzurLaneConfig, TaskEnd
from module.config.deep import deep_get, deep_set
from module.exception import *
from module.logger import logger
from module.luahook.op import CrackOp
from module.notify import handle_notify
from module.gg_handler.gg_handler import GGHandler
from module.luahook.crack import disable_all_crack,luahook_crack_all, CrackResource
from module.luahook.crack import disable_all_crack, luahook_crack_all, CrackResource, crack_op
import gl
@@ -284,6 +285,7 @@ class AzurLaneAutoScript:
from module.meowfficer.meowfficer import RewardMeowfficer
RewardMeowfficer(config=self.config, device=self.device).run()
@crack_op(CrackOp.DisableGlobalSpeedup)
def guild(self):
from module.guild.guild_reward import RewardGuild
RewardGuild(config=self.config, device=self.device).run()
@@ -316,6 +318,7 @@ class AzurLaneAutoScript:
from module.freebies.freebies import Freebies
Freebies(config=self.config, device=self.device).run()
@crack_op(CrackOp.DisableGlobalSpeedup)
def minigame(self):
from module.minigame.minigame import Minigame
Minigame(config=self.config, device=self.device).run()