optimize expiration judging

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

View File

@ -347,14 +347,13 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI):
# 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(