mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:39:25 +08:00
fix: check correct config attribute when doing EnableChapterAutoNextBattle and EnableChapterSkipPrecombat cracker op
This commit is contained in:
@@ -268,12 +268,12 @@ def do_crack_op(config: AzurLaneConfig, device: Device, ops: Union[Type[CrackOp.
|
||||
elif op == CrackOp.DisableChapterForceEnableAutoFight:
|
||||
api.disable_chapter_force_enable_auto_fight()
|
||||
elif op == CrackOp.EnableChapterSkipPrecombat:
|
||||
if full_config.Hook_Misc_ChapterForceEnableAutoFight:
|
||||
if full_config.Hook_Misc_ChapterSkipPrecombat:
|
||||
api.enable_chapter_skip_precombat()
|
||||
elif op == CrackOp.DisableChapterSkipPrecombat:
|
||||
api.disable_chapter_skip_precombat()
|
||||
elif op == CrackOp.EnableChapterAutoNextBattle:
|
||||
if full_config.Hook_Misc_ChapterForceEnableAutoFight:
|
||||
if full_config.Hook_Misc_ChapterAutoNextBattle:
|
||||
api.enable_chapter_auto_next_battle()
|
||||
elif op == CrackOp.DisableChapterAutoNextBattle:
|
||||
api.disable_chapter_auto_next_battle()
|
||||
|
||||
Reference in New Issue
Block a user