1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-16 18:49:28 +08:00

adj: GemsFarming allow low vanguard level when hook is enabled

This commit is contained in:
ZuoSiZhu
2025-05-12 23:23:03 +08:00
parent e63d9326f1
commit 3c63b8d65d

View File

@@ -705,7 +705,9 @@ class GemsFarming(CampaignRun, FleetEquipment, Dock):
max_level = 70
from module.gg_handler.gg_data import GGData
_ggdata = GGData(self.config).get_data()
if _ggdata['gg_enable'] and _ggdata['gg_auto'] and self.config.GemsFarming_ALLowLowVanguardLevel:
from module.config.deep import deep_get
_hook_on = deep_get(self.config.data, "Hook.HookGeneral.Enable", False)
if (_ggdata['gg_enable'] and _ggdata['gg_auto'] or _hook_on) and self.config.GemsFarming_ALLowLowVanguardLevel:
min_level = 2
else:
min_level = max_level