mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Upd: Anniversary 3x relic event (#433)
This commit is contained in:
parent
d5f641aeb4
commit
871ea9a809
@ -215,7 +215,7 @@ class Dungeon(DungeonStamina, DungeonEvent, Combat):
|
||||
calyx = self.get_double_event_remain()
|
||||
if self.has_double_relic_event():
|
||||
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():
|
||||
self.config.stored.DungeonDouble.calyx = calyx
|
||||
self.config.stored.DungeonDouble.relic = relic
|
||||
|
@ -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, 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)
|
||||
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, 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)
|
||||
return has
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user