mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Add stored object BattlePassQuestStagnantShadow
This commit is contained in:
parent
0173303d06
commit
650664ca3d
@ -145,6 +145,7 @@
|
|||||||
"BattlePassQuestEchoOfWar": {},
|
"BattlePassQuestEchoOfWar": {},
|
||||||
"BattlePassQuestCredits": {},
|
"BattlePassQuestCredits": {},
|
||||||
"BattlePassQuestSynthesizeConsumables": {},
|
"BattlePassQuestSynthesizeConsumables": {},
|
||||||
|
"BattlePassQuestStagnantShadow": {},
|
||||||
"BattlePassQuestCavernOfCorrosion": {},
|
"BattlePassQuestCavernOfCorrosion": {},
|
||||||
"BattlePassQuestTrailblazePower": {}
|
"BattlePassQuestTrailblazePower": {}
|
||||||
}
|
}
|
||||||
@ -257,6 +258,11 @@
|
|||||||
"DungeonSupport": {
|
"DungeonSupport": {
|
||||||
"Use": "when_daily",
|
"Use": "when_daily",
|
||||||
"Character": "FirstCharacter"
|
"Character": "FirstCharacter"
|
||||||
|
},
|
||||||
|
"TrailblazePower": {
|
||||||
|
"ExtractReservedTrailblazePower": false,
|
||||||
|
"UseFuel": false,
|
||||||
|
"FuelReserve": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Daemon": {
|
"Daemon": {
|
||||||
|
@ -872,6 +872,12 @@
|
|||||||
"display": "display",
|
"display": "display",
|
||||||
"stored": "StoredBattlePassQuestSynthesizeConsumables"
|
"stored": "StoredBattlePassQuestSynthesizeConsumables"
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"type": "stored",
|
||||||
|
"value": {},
|
||||||
|
"display": "display",
|
||||||
|
"stored": "StoredBattlePassQuestStagnantShadow"
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"type": "stored",
|
"type": "stored",
|
||||||
"value": {},
|
"value": {},
|
||||||
@ -1546,6 +1552,20 @@
|
|||||||
"Yukong"
|
"Yukong"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"TrailblazePower": {
|
||||||
|
"ExtractReservedTrailblazePower": {
|
||||||
|
"type": "checkbox",
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"UseFuel": {
|
||||||
|
"type": "checkbox",
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"FuelReserve": {
|
||||||
|
"type": "input",
|
||||||
|
"value": 5
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Daemon": {
|
"Daemon": {
|
||||||
|
@ -183,6 +183,9 @@ BattlePassStorage:
|
|||||||
BattlePassQuestSynthesizeConsumables:
|
BattlePassQuestSynthesizeConsumables:
|
||||||
stored: StoredBattlePassQuestSynthesizeConsumables
|
stored: StoredBattlePassQuestSynthesizeConsumables
|
||||||
display: display
|
display: display
|
||||||
|
BattlePassQuestStagnantShadow:
|
||||||
|
stored: StoredBattlePassQuestStagnantShadow
|
||||||
|
display: display
|
||||||
BattlePassQuestCavernOfCorrosion:
|
BattlePassQuestCavernOfCorrosion:
|
||||||
stored: StoredBattlePassQuestCavernOfCorrosion
|
stored: StoredBattlePassQuestCavernOfCorrosion
|
||||||
display: display
|
display: display
|
||||||
|
@ -806,6 +806,19 @@
|
|||||||
"order": 0,
|
"order": 0,
|
||||||
"color": "#777777"
|
"color": "#777777"
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "BattlePassQuestStagnantShadow",
|
||||||
|
"path": "BattlePass.BattlePassStorage.BattlePassQuestStagnantShadow",
|
||||||
|
"i18n": "BattlePassStorage.BattlePassQuestStagnantShadow.name",
|
||||||
|
"stored": "StoredBattlePassQuestStagnantShadow",
|
||||||
|
"attrs": {
|
||||||
|
"time": "2020-01-01 00:00:00",
|
||||||
|
"total": 3,
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
"order": 0,
|
||||||
|
"color": "#777777"
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "BattlePassQuestCavernOfCorrosion",
|
"name": "BattlePassQuestCavernOfCorrosion",
|
||||||
"path": "BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion",
|
"path": "BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion",
|
||||||
|
@ -65,6 +65,7 @@ Weekly:
|
|||||||
- Scheduler
|
- Scheduler
|
||||||
- Ornament
|
- Ornament
|
||||||
- DungeonSupport
|
- DungeonSupport
|
||||||
|
- TrailblazePower
|
||||||
|
|
||||||
# ==================== Tool ====================
|
# ==================== Tool ====================
|
||||||
|
|
||||||
|
@ -135,6 +135,7 @@ class GeneratedConfig:
|
|||||||
BattlePassStorage_BattlePassQuestEchoOfWar = {}
|
BattlePassStorage_BattlePassQuestEchoOfWar = {}
|
||||||
BattlePassStorage_BattlePassQuestCredits = {}
|
BattlePassStorage_BattlePassQuestCredits = {}
|
||||||
BattlePassStorage_BattlePassQuestSynthesizeConsumables = {}
|
BattlePassStorage_BattlePassQuestSynthesizeConsumables = {}
|
||||||
|
BattlePassStorage_BattlePassQuestStagnantShadow = {}
|
||||||
BattlePassStorage_BattlePassQuestCavernOfCorrosion = {}
|
BattlePassStorage_BattlePassQuestCavernOfCorrosion = {}
|
||||||
BattlePassStorage_BattlePassQuestTrailblazePower = {}
|
BattlePassStorage_BattlePassQuestTrailblazePower = {}
|
||||||
|
|
||||||
|
@ -758,6 +758,10 @@
|
|||||||
"name": "Synthesize Consumables 10 time(s)",
|
"name": "Synthesize Consumables 10 time(s)",
|
||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "Clear Stagnant Shadow 3 time(s)",
|
||||||
|
"help": ""
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "Clear Cavern of Corrosion 8 time(s)",
|
"name": "Clear Cavern of Corrosion 8 time(s)",
|
||||||
"help": ""
|
"help": ""
|
||||||
|
@ -758,6 +758,10 @@
|
|||||||
"name": "Sintetiza consumibles 10 veces",
|
"name": "Sintetiza consumibles 10 veces",
|
||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "Completa Sombra paralizada 3 veces",
|
||||||
|
"help": ""
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "Completa Caverna de la corrosión 8 veces",
|
"name": "Completa Caverna de la corrosión 8 veces",
|
||||||
"help": ""
|
"help": ""
|
||||||
|
@ -758,6 +758,10 @@
|
|||||||
"name": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.name",
|
"name": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.name",
|
||||||
"help": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.help"
|
"help": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.help"
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "BattlePassStorage.BattlePassQuestStagnantShadow.name",
|
||||||
|
"help": "BattlePassStorage.BattlePassQuestStagnantShadow.help"
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.name",
|
"name": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.name",
|
||||||
"help": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.help"
|
"help": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.help"
|
||||||
|
@ -758,6 +758,10 @@
|
|||||||
"name": "累计合成消耗品10次",
|
"name": "累计合成消耗品10次",
|
||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "完成3次「凝滞虚影」",
|
||||||
|
"help": ""
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "完成8次「侵蚀隧洞」",
|
"name": "完成8次「侵蚀隧洞」",
|
||||||
"help": ""
|
"help": ""
|
||||||
|
@ -758,6 +758,10 @@
|
|||||||
"name": "累计合成消耗品10次",
|
"name": "累计合成消耗品10次",
|
||||||
"help": ""
|
"help": ""
|
||||||
},
|
},
|
||||||
|
"BattlePassQuestStagnantShadow": {
|
||||||
|
"name": "完成3次「凝滯虛影」",
|
||||||
|
"help": ""
|
||||||
|
},
|
||||||
"BattlePassQuestCavernOfCorrosion": {
|
"BattlePassQuestCavernOfCorrosion": {
|
||||||
"name": "完成8次「侵蚀隧洞」",
|
"name": "完成8次「侵蚀隧洞」",
|
||||||
"help": ""
|
"help": ""
|
||||||
|
@ -411,9 +411,8 @@ class StoredBattlePassQuestSynthesizeConsumables(StoredCounter):
|
|||||||
FIXED_TOTAL = 10
|
FIXED_TOTAL = 10
|
||||||
|
|
||||||
|
|
||||||
# Not exists on client side
|
class StoredBattlePassQuestStagnantShadow(StoredCounter):
|
||||||
# class StoredBattlePassQuestStagnantShadow(StoredCounter):
|
FIXED_TOTAL = 3
|
||||||
# FIXED_TOTAL = 8
|
|
||||||
|
|
||||||
|
|
||||||
class StoredBattlePassQuestCavernOfCorrosion(StoredCounter):
|
class StoredBattlePassQuestCavernOfCorrosion(StoredCounter):
|
||||||
|
@ -6,6 +6,7 @@ from module.config.stored.classes import (
|
|||||||
StoredBattlePassQuestCavernOfCorrosion,
|
StoredBattlePassQuestCavernOfCorrosion,
|
||||||
StoredBattlePassQuestCredits,
|
StoredBattlePassQuestCredits,
|
||||||
StoredBattlePassQuestEchoOfWar,
|
StoredBattlePassQuestEchoOfWar,
|
||||||
|
StoredBattlePassQuestStagnantShadow,
|
||||||
StoredBattlePassQuestSynthesizeConsumables,
|
StoredBattlePassQuestSynthesizeConsumables,
|
||||||
StoredBattlePassQuestTrailblazePower,
|
StoredBattlePassQuestTrailblazePower,
|
||||||
StoredBattlePassSimulatedUniverse,
|
StoredBattlePassSimulatedUniverse,
|
||||||
@ -97,6 +98,7 @@ class StoredGenerated:
|
|||||||
BattlePassQuestEchoOfWar = StoredBattlePassQuestEchoOfWar("BattlePass.BattlePassStorage.BattlePassQuestEchoOfWar")
|
BattlePassQuestEchoOfWar = StoredBattlePassQuestEchoOfWar("BattlePass.BattlePassStorage.BattlePassQuestEchoOfWar")
|
||||||
BattlePassQuestCredits = StoredBattlePassQuestCredits("BattlePass.BattlePassStorage.BattlePassQuestCredits")
|
BattlePassQuestCredits = StoredBattlePassQuestCredits("BattlePass.BattlePassStorage.BattlePassQuestCredits")
|
||||||
BattlePassQuestSynthesizeConsumables = StoredBattlePassQuestSynthesizeConsumables("BattlePass.BattlePassStorage.BattlePassQuestSynthesizeConsumables")
|
BattlePassQuestSynthesizeConsumables = StoredBattlePassQuestSynthesizeConsumables("BattlePass.BattlePassStorage.BattlePassQuestSynthesizeConsumables")
|
||||||
|
BattlePassQuestStagnantShadow = StoredBattlePassQuestStagnantShadow("BattlePass.BattlePassStorage.BattlePassQuestStagnantShadow")
|
||||||
BattlePassQuestCavernOfCorrosion = StoredBattlePassQuestCavernOfCorrosion("BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion")
|
BattlePassQuestCavernOfCorrosion = StoredBattlePassQuestCavernOfCorrosion("BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion")
|
||||||
BattlePassQuestTrailblazePower = StoredBattlePassQuestTrailblazePower("BattlePass.BattlePassStorage.BattlePassQuestTrailblazePower")
|
BattlePassQuestTrailblazePower = StoredBattlePassQuestTrailblazePower("BattlePass.BattlePassStorage.BattlePassQuestTrailblazePower")
|
||||||
Assignment = StoredAssignment("Assignment.Assignment.Assignment")
|
Assignment = StoredAssignment("Assignment.Assignment.Assignment")
|
||||||
|
@ -354,6 +354,8 @@ class BattlePassUI(UI):
|
|||||||
self.config.stored.BattlePassQuestCredits,
|
self.config.stored.BattlePassQuestCredits,
|
||||||
KEYWORDS_BATTLE_PASS_QUEST.Synthesize_Consumables_1_times:
|
KEYWORDS_BATTLE_PASS_QUEST.Synthesize_Consumables_1_times:
|
||||||
self.config.stored.BattlePassQuestSynthesizeConsumables,
|
self.config.stored.BattlePassQuestSynthesizeConsumables,
|
||||||
|
KEYWORDS_BATTLE_PASS_QUEST.Clear_Stagnant_Shadow_1_times:
|
||||||
|
self.config.stored.BattlePassQuestStagnantShadow,
|
||||||
KEYWORDS_BATTLE_PASS_QUEST.Clear_Cavern_of_Corrosion_1_times:
|
KEYWORDS_BATTLE_PASS_QUEST.Clear_Cavern_of_Corrosion_1_times:
|
||||||
self.config.stored.BattlePassQuestCavernOfCorrosion,
|
self.config.stored.BattlePassQuestCavernOfCorrosion,
|
||||||
KEYWORDS_BATTLE_PASS_QUEST.Consume_a_total_of_1_Trailblaze_Power_1400_Trailblazer_Power_max:
|
KEYWORDS_BATTLE_PASS_QUEST.Consume_a_total_of_1_Trailblaze_Power_1400_Trailblazer_Power_max:
|
||||||
|
@ -121,6 +121,12 @@ class Dungeon(DungeonStamina, DungeonEvent, Combat):
|
|||||||
if KEYWORDS_DAILY_QUEST.Clear_Stagnant_Shadow_1_times in self.daily_quests:
|
if KEYWORDS_DAILY_QUEST.Clear_Stagnant_Shadow_1_times in self.daily_quests:
|
||||||
logger.info('Achieve daily quest Clear_Stagnant_Shadow_1_times')
|
logger.info('Achieve daily quest Clear_Stagnant_Shadow_1_times')
|
||||||
self.achieved_daily_quest = True
|
self.achieved_daily_quest = True
|
||||||
|
if KEYWORDS_BATTLE_PASS_QUEST.Clear_Stagnant_Shadow_1_times in self.weekly_quests:
|
||||||
|
logger.info('Done weekly quest Clear_Stagnant_Shadow_1_times once')
|
||||||
|
self.config.stored.BattlePassQuestStagnantShadow.add()
|
||||||
|
if self.config.stored.BattlePassQuestStagnantShadow.is_full():
|
||||||
|
logger.info('Achieved weekly quest Clear_Stagnant_Shadow_1_times')
|
||||||
|
self.achieved_weekly_quest = True
|
||||||
# Cavern_of_Corrosion
|
# Cavern_of_Corrosion
|
||||||
if dungeon.is_Cavern_of_Corrosion:
|
if dungeon.is_Cavern_of_Corrosion:
|
||||||
if KEYWORDS_DAILY_QUEST.Clear_Cavern_of_Corrosion_1_times in self.daily_quests:
|
if KEYWORDS_DAILY_QUEST.Clear_Cavern_of_Corrosion_1_times in self.daily_quests:
|
||||||
|
Loading…
Reference in New Issue
Block a user