optimize expiration judging

This commit is contained in:
katze 2024-04-02 12:23:28 +08:00
parent 721ae38291
commit 4988fb1f2f

View File

@ -346,15 +346,14 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI):
if self.config.RogueDebug_DebugMode:
# Always run
return
if self.config.stored.SimulatedUniverse.is_expired():
# Expired, do rogue
pass
if self.config.stored.SimulatedUniverseElite.is_expired():
# Expired, reset farming counter
self.config.stored.SimulatedUniverseElite.farm_reset()
if self.config.stored.SimulatedUniverse.is_expired():
# Expired, do rogue
pass
elif self.config.stored.SimulatedUniverse.is_full():
if self.config.RogueWorld_UseImmersifier and self.config.stored.Immersifier.value > 0:
logger.info(