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": {},
|
||||
"BattlePassQuestCredits": {},
|
||||
"BattlePassQuestSynthesizeConsumables": {},
|
||||
"BattlePassQuestStagnantShadow": {},
|
||||
"BattlePassQuestCavernOfCorrosion": {},
|
||||
"BattlePassQuestTrailblazePower": {}
|
||||
}
|
||||
@ -257,6 +258,11 @@
|
||||
"DungeonSupport": {
|
||||
"Use": "when_daily",
|
||||
"Character": "FirstCharacter"
|
||||
},
|
||||
"TrailblazePower": {
|
||||
"ExtractReservedTrailblazePower": false,
|
||||
"UseFuel": false,
|
||||
"FuelReserve": 5
|
||||
}
|
||||
},
|
||||
"Daemon": {
|
||||
|
@ -872,6 +872,12 @@
|
||||
"display": "display",
|
||||
"stored": "StoredBattlePassQuestSynthesizeConsumables"
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"type": "stored",
|
||||
"value": {},
|
||||
"display": "display",
|
||||
"stored": "StoredBattlePassQuestStagnantShadow"
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"type": "stored",
|
||||
"value": {},
|
||||
@ -1546,6 +1552,20 @@
|
||||
"Yukong"
|
||||
]
|
||||
}
|
||||
},
|
||||
"TrailblazePower": {
|
||||
"ExtractReservedTrailblazePower": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
},
|
||||
"UseFuel": {
|
||||
"type": "checkbox",
|
||||
"value": false
|
||||
},
|
||||
"FuelReserve": {
|
||||
"type": "input",
|
||||
"value": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"Daemon": {
|
||||
|
@ -183,6 +183,9 @@ BattlePassStorage:
|
||||
BattlePassQuestSynthesizeConsumables:
|
||||
stored: StoredBattlePassQuestSynthesizeConsumables
|
||||
display: display
|
||||
BattlePassQuestStagnantShadow:
|
||||
stored: StoredBattlePassQuestStagnantShadow
|
||||
display: display
|
||||
BattlePassQuestCavernOfCorrosion:
|
||||
stored: StoredBattlePassQuestCavernOfCorrosion
|
||||
display: display
|
||||
|
@ -806,6 +806,19 @@
|
||||
"order": 0,
|
||||
"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": {
|
||||
"name": "BattlePassQuestCavernOfCorrosion",
|
||||
"path": "BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion",
|
||||
|
@ -65,6 +65,7 @@ Weekly:
|
||||
- Scheduler
|
||||
- Ornament
|
||||
- DungeonSupport
|
||||
- TrailblazePower
|
||||
|
||||
# ==================== Tool ====================
|
||||
|
||||
|
@ -135,6 +135,7 @@ class GeneratedConfig:
|
||||
BattlePassStorage_BattlePassQuestEchoOfWar = {}
|
||||
BattlePassStorage_BattlePassQuestCredits = {}
|
||||
BattlePassStorage_BattlePassQuestSynthesizeConsumables = {}
|
||||
BattlePassStorage_BattlePassQuestStagnantShadow = {}
|
||||
BattlePassStorage_BattlePassQuestCavernOfCorrosion = {}
|
||||
BattlePassStorage_BattlePassQuestTrailblazePower = {}
|
||||
|
||||
|
@ -758,6 +758,10 @@
|
||||
"name": "Synthesize Consumables 10 time(s)",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"name": "Clear Stagnant Shadow 3 time(s)",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"name": "Clear Cavern of Corrosion 8 time(s)",
|
||||
"help": ""
|
||||
|
@ -758,6 +758,10 @@
|
||||
"name": "Sintetiza consumibles 10 veces",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"name": "Completa Sombra paralizada 3 veces",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"name": "Completa Caverna de la corrosión 8 veces",
|
||||
"help": ""
|
||||
|
@ -758,6 +758,10 @@
|
||||
"name": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.name",
|
||||
"help": "BattlePassStorage.BattlePassQuestSynthesizeConsumables.help"
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"name": "BattlePassStorage.BattlePassQuestStagnantShadow.name",
|
||||
"help": "BattlePassStorage.BattlePassQuestStagnantShadow.help"
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"name": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.name",
|
||||
"help": "BattlePassStorage.BattlePassQuestCavernOfCorrosion.help"
|
||||
|
@ -758,6 +758,10 @@
|
||||
"name": "累计合成消耗品10次",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"name": "完成3次「凝滞虚影」",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"name": "完成8次「侵蚀隧洞」",
|
||||
"help": ""
|
||||
|
@ -758,6 +758,10 @@
|
||||
"name": "累计合成消耗品10次",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestStagnantShadow": {
|
||||
"name": "完成3次「凝滯虛影」",
|
||||
"help": ""
|
||||
},
|
||||
"BattlePassQuestCavernOfCorrosion": {
|
||||
"name": "完成8次「侵蚀隧洞」",
|
||||
"help": ""
|
||||
|
@ -411,9 +411,8 @@ class StoredBattlePassQuestSynthesizeConsumables(StoredCounter):
|
||||
FIXED_TOTAL = 10
|
||||
|
||||
|
||||
# Not exists on client side
|
||||
# class StoredBattlePassQuestStagnantShadow(StoredCounter):
|
||||
# FIXED_TOTAL = 8
|
||||
class StoredBattlePassQuestStagnantShadow(StoredCounter):
|
||||
FIXED_TOTAL = 3
|
||||
|
||||
|
||||
class StoredBattlePassQuestCavernOfCorrosion(StoredCounter):
|
||||
|
@ -6,6 +6,7 @@ from module.config.stored.classes import (
|
||||
StoredBattlePassQuestCavernOfCorrosion,
|
||||
StoredBattlePassQuestCredits,
|
||||
StoredBattlePassQuestEchoOfWar,
|
||||
StoredBattlePassQuestStagnantShadow,
|
||||
StoredBattlePassQuestSynthesizeConsumables,
|
||||
StoredBattlePassQuestTrailblazePower,
|
||||
StoredBattlePassSimulatedUniverse,
|
||||
@ -97,6 +98,7 @@ class StoredGenerated:
|
||||
BattlePassQuestEchoOfWar = StoredBattlePassQuestEchoOfWar("BattlePass.BattlePassStorage.BattlePassQuestEchoOfWar")
|
||||
BattlePassQuestCredits = StoredBattlePassQuestCredits("BattlePass.BattlePassStorage.BattlePassQuestCredits")
|
||||
BattlePassQuestSynthesizeConsumables = StoredBattlePassQuestSynthesizeConsumables("BattlePass.BattlePassStorage.BattlePassQuestSynthesizeConsumables")
|
||||
BattlePassQuestStagnantShadow = StoredBattlePassQuestStagnantShadow("BattlePass.BattlePassStorage.BattlePassQuestStagnantShadow")
|
||||
BattlePassQuestCavernOfCorrosion = StoredBattlePassQuestCavernOfCorrosion("BattlePass.BattlePassStorage.BattlePassQuestCavernOfCorrosion")
|
||||
BattlePassQuestTrailblazePower = StoredBattlePassQuestTrailblazePower("BattlePass.BattlePassStorage.BattlePassQuestTrailblazePower")
|
||||
Assignment = StoredAssignment("Assignment.Assignment.Assignment")
|
||||
|
@ -354,6 +354,8 @@ class BattlePassUI(UI):
|
||||
self.config.stored.BattlePassQuestCredits,
|
||||
KEYWORDS_BATTLE_PASS_QUEST.Synthesize_Consumables_1_times:
|
||||
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:
|
||||
self.config.stored.BattlePassQuestCavernOfCorrosion,
|
||||
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:
|
||||
logger.info('Achieve daily quest Clear_Stagnant_Shadow_1_times')
|
||||
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
|
||||
if dungeon.is_Cavern_of_Corrosion:
|
||||
if KEYWORDS_DAILY_QUEST.Clear_Cavern_of_Corrosion_1_times in self.daily_quests:
|
||||
|
Loading…
Reference in New Issue
Block a user