Add: Double rogue event setting

This commit is contained in:
LmeSzinc 2024-01-12 21:43:03 +08:00
parent 53eac6dc8c
commit 0f8456f98d
12 changed files with 34 additions and 1 deletions

View File

@ -188,6 +188,7 @@
"Bonus": "Blessing Universe",
"DomainStrategy": "combat",
"UseImmersifier": true,
"DoubleEvent": true,
"UseStamina": false
},
"RogueBlessing": {

View File

@ -1300,6 +1300,10 @@
"type": "checkbox",
"value": true
},
"DoubleEvent": {
"type": "checkbox",
"value": true
},
"UseStamina": {
"type": "checkbox",
"value": false

View File

@ -235,6 +235,7 @@ RogueWorld:
value: combat
option: [ combat, occurrence ]
UseImmersifier: true
DoubleEvent: true
UseStamina: false
RogueBlessing:

View File

@ -122,7 +122,8 @@
"attrs": {
"time": "2020-01-01 00:00:00",
"calyx": 0,
"relic": 0
"relic": 0,
"rogue": 0
},
"order": 0,
"color": "#777777"

View File

@ -131,6 +131,7 @@ class GeneratedConfig:
RogueWorld_Bonus = 'Blessing Universe' # Blessing Universe, Miracle Universe, Fragmented Universe
RogueWorld_DomainStrategy = 'combat' # combat, occurrence
RogueWorld_UseImmersifier = True
RogueWorld_DoubleEvent = True
RogueWorld_UseStamina = False
# Group `RogueBlessing`

View File

@ -721,6 +721,8 @@ class ConfigUpdater:
deep_set(data, keys='Rogue.RogueWorld.UseStamina', value=False)
if deep_get(data, keys='Rogue.RogueWorld.UseStamina') is True:
deep_set(data, keys='Rogue.RogueWorld.UseImmersifier', value=True)
if deep_get(data, keys='Rogue.RogueWorld.DoubleEvent') is True:
deep_set(data, keys='Rogue.RogueWorld.UseImmersifier', value=True)
# Store immersifier in dungeon task
if deep_get(data, keys='Rogue.RogueWorld.UseImmersifier') is True:
deep_set(data, keys='Dungeon.Scheduler.Enable', value=True)
@ -769,6 +771,8 @@ class ConfigUpdater:
yield 'Rogue.RogueWorld.UseStamina', False
elif key == 'Rogue.RogueWorld.UseStamina' and value is True:
yield 'Rogue.RogueWorld.UseImmersifier', True
elif key == 'Rogue.RogueWorld.DoubleEvent' and value is True:
yield 'Rogue.RogueWorld.UseImmersifier', True
def iter_hidden_args(self, data) -> t.Iterator[str]:
"""

View File

@ -879,6 +879,10 @@
"name": "Claim Planers Using Immersifiers",
"help": ""
},
"DoubleEvent": {
"name": "Participate in Double Planer Event",
"help": ""
},
"UseStamina": {
"name": "Farm Planers Using Trailblase Power",
"help": "Task \"Dungeon\" will no longer run, and all trailblaze power will be used first to claim immersion rewards, except for double events."

View File

@ -879,6 +879,10 @@
"name": "Reclamar de planers mediante inmersor",
"help": ""
},
"DoubleEvent": {
"name": "Participa en doble planer evento",
"help": ""
},
"UseStamina": {
"name": "Reclamar de planers mediante poder trazacaminos",
"help": "La tarea de mazmorra ya no se ejecutará y todo el poder trazacaminos se usará primero para reclamar recompensas de inmersión, excepto para eventos dobles"

View File

@ -879,6 +879,10 @@
"name": "RogueWorld.UseImmersifier.name",
"help": "RogueWorld.UseImmersifier.help"
},
"DoubleEvent": {
"name": "RogueWorld.DoubleEvent.name",
"help": "RogueWorld.DoubleEvent.help"
},
"UseStamina": {
"name": "RogueWorld.UseStamina.name",
"help": "RogueWorld.UseStamina.help"

View File

@ -879,6 +879,10 @@
"name": "使用沉浸器领取遗器",
"help": ""
},
"DoubleEvent": {
"name": "参与双倍内圈仪器活动",
"help": ""
},
"UseStamina": {
"name": "使用开拓力刷内圈遗器",
"help": "每日副本任务将不再打本,所有开拓力将优先被用于领取浸器奖励,双倍活动时除外"

View File

@ -879,6 +879,10 @@
"name": "使用沉浸器領取遺器",
"help": ""
},
"DoubleEvent": {
"name": "參與雙倍內圈儀器活動",
"help": ""
},
"UseStamina": {
"name": "用開拓力農遺器",
"help": "每日副本任務將不再打本,所有開拓力將優先被用於領取浸器獎勵,雙倍活動時除外"

View File

@ -278,6 +278,7 @@ class StoredDaily(StoredCounter, StoredExpiredAt0400):
class StoredDungeonDouble(StoredExpiredAt0400):
calyx = 0
relic = 0
rogue = 0
class StoredEchoOfWar(StoredCounter, StoredExpiredAtMonday0400):