Fix: Don't claim domain reward if ornament enabled (#565)

This commit is contained in:
LmeSzinc 2024-07-09 19:37:48 +08:00
parent 7042ddcfb6
commit 91f1a8e605

View File

@ -112,6 +112,9 @@ class RogueReward(RogueUI, CombatInteract, DungeonState):
if not use_trailblaze_power and not use_immersifier: if not use_trailblaze_power and not use_immersifier:
logger.info('Cannot claim domain reward, as all disabled') logger.info('Cannot claim domain reward, as all disabled')
return False return False
if self.config.is_task_enabled('Ornament'):
logger.info(f'Cannot claim domain reward, saving immersifiers for ornament')
return False
if use_immersifier: if use_immersifier:
if self.config.stored.Immersifier.value > 0: if self.config.stored.Immersifier.value > 0:
logger.info(f'Can claim domain reward, got immersifiers') logger.info(f'Can claim domain reward, got immersifiers')