Upd: Anniversary 3x relic event (#433)

This commit is contained in:
LmeSzinc 2024-04-27 00:24:15 +08:00
parent d5f641aeb4
commit 871ea9a809
2 changed files with 5 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class Dungeon(DungeonStamina, DungeonEvent, Combat):
calyx = self.get_double_event_remain() calyx = self.get_double_event_remain()
if self.has_double_relic_event(): if self.has_double_relic_event():
self._dungeon_nav_goto(KEYWORDS_DUNGEON_NAV.Cavern_of_Corrosion) self._dungeon_nav_goto(KEYWORDS_DUNGEON_NAV.Cavern_of_Corrosion)
relic = self.get_double_event_remain() relic = self.get_double_rogue_remain()
with self.config.multi_set(): with self.config.multi_set():
self.config.stored.DungeonDouble.calyx = calyx self.config.stored.DungeonDouble.calyx = calyx
self.config.stored.DungeonDouble.relic = relic self.config.stored.DungeonDouble.relic = relic

View File

@ -32,6 +32,8 @@ class DungeonEvent(UI):
""" """
has = self.image_color_count(DOUBLE_CALYX_EVENT_TAG, color=(252, 209, 123), threshold=221, count=50) has = self.image_color_count(DOUBLE_CALYX_EVENT_TAG, color=(252, 209, 123), threshold=221, count=50)
has |= self.image_color_count(DOUBLE_CALYX_EVENT_TAG, color=(252, 251, 140), threshold=221, count=50) has |= self.image_color_count(DOUBLE_CALYX_EVENT_TAG, color=(252, 251, 140), threshold=221, count=50)
# Anniversary 3x rogue event
has |= self.image_color_count(DOUBLE_CALYX_EVENT_TAG, color=(229, 62, 44), threshold=221, count=50)
logger.attr('Double calyx', has) logger.attr('Double calyx', has)
return has return has
@ -42,6 +44,8 @@ class DungeonEvent(UI):
""" """
has = self.image_color_count(DOUBLE_RELIC_EVENT_TAG, color=(252, 209, 123), threshold=221, count=50) has = self.image_color_count(DOUBLE_RELIC_EVENT_TAG, color=(252, 209, 123), threshold=221, count=50)
has |= self.image_color_count(DOUBLE_RELIC_EVENT_TAG, color=(252, 251, 140), threshold=221, count=50) has |= self.image_color_count(DOUBLE_RELIC_EVENT_TAG, color=(252, 251, 140), threshold=221, count=50)
# Anniversary 3x rogue event
has |= self.image_color_count(DOUBLE_RELIC_EVENT_TAG, color=(229, 62, 44), threshold=221, count=50)
logger.attr('Double relic', has) logger.attr('Double relic', has)
return has return has