Opt: Re-arrange rogue settings

This commit is contained in:
LmeSzinc 2023-12-07 00:41:33 +08:00
parent 5ebfdf1976
commit e398c79687
15 changed files with 159 additions and 166 deletions

View File

@ -64,18 +64,6 @@
"SimulatedUniverse": {} "SimulatedUniverse": {}
} }
}, },
"Weekly": {
"Scheduler": {
"Enable": true,
"NextRun": "2020-01-01 00:00:00",
"Command": "Weekly",
"ServerUpdate": "04:00"
},
"Weekly": {
"Name": "Echo_of_War_Divine_Seed",
"Team": 1
}
},
"DailyQuest": { "DailyQuest": {
"Scheduler": { "Scheduler": {
"Enable": true, "Enable": true,
@ -98,7 +86,7 @@
"Take_1_photo": "achievable", "Take_1_photo": "achievable",
"Destroy_3_destructible_objects": "achievable", "Destroy_3_destructible_objects": "achievable",
"Complete_Forgotten_Hall_1_time": "achievable", "Complete_Forgotten_Hall_1_time": "achievable",
"Complete_Echo_of_War_1_times": "achievable", "Complete_Echo_of_War_1_times": "not_set",
"Complete_1_stage_in_Simulated_Universe_Any_world": "not_set", "Complete_1_stage_in_Simulated_Universe_Any_world": "not_set",
"Obtain_victory_in_combat_with_support_characters_1_time": "achievable", "Obtain_victory_in_combat_with_support_characters_1_time": "achievable",
"Use_an_Ultimate_to_deal_the_final_blow_1_time": "achievable", "Use_an_Ultimate_to_deal_the_final_blow_1_time": "achievable",
@ -167,6 +155,18 @@
"Collect": true "Collect": true
} }
}, },
"Weekly": {
"Scheduler": {
"Enable": false,
"NextRun": "2020-01-01 00:00:00",
"Command": "Weekly",
"ServerUpdate": "04:00"
},
"Weekly": {
"Name": "Echo_of_War_Divine_Seed",
"Team": 1
}
},
"Rogue": { "Rogue": {
"Scheduler": { "Scheduler": {
"Enable": false, "Enable": false,
@ -178,15 +178,10 @@
"World": "Simulated_Universe_World_7", "World": "Simulated_Universe_World_7",
"Path": "The_Hunt", "Path": "The_Hunt",
"Bonus": "Blessing Cosmos", "Bonus": "Blessing Cosmos",
"DomainStrategy": "occurrence", "DomainStrategy": "combat",
"ImmersionReward": "immersifier", "ImmersionReward": "immersifier",
"StopCondition": "weekly_point_reward" "StopCondition": "weekly_point_reward"
}, },
"RoguePath": {
"PresetResonanceFilter": "preset-1",
"ResonanceSelectionStrategy": "follow-presets",
"CustomResonanceFilter": "回响构音:均晶转变 > 回响构音:零维强化\n> 回响构音:第二次初恋 > 回响构音:体验的富翁\n> 回响构音:局外人 > 回响构音:怀疑的四重根\n> 回响构音:诸法无我 > 回响构音:诸行无常\n> 回响构音:射不主皮 > 回响构音:柘弓危矢\n> 回响构音:激变变星 > 回响构音:极端氦闪\n> 回响构音:末日狂欢 > 回响构音:树苗长高舞\n> random"
},
"RogueBlessing": { "RogueBlessing": {
"PresetBlessingFilter": "preset-1", "PresetBlessingFilter": "preset-1",
"BlessingSelectionStrategy": "follow-presets", "BlessingSelectionStrategy": "follow-presets",
@ -196,6 +191,11 @@
"PresetCurioFilter": "preset-1", "PresetCurioFilter": "preset-1",
"CurioSelectionStrategy": "follow-presets", "CurioSelectionStrategy": "follow-presets",
"CustomCurioFilter": "博士之袍 > 福灵胶 > 分裂金币 > 信仰债券 > 换境桂冠 > 俱乐部券 > 碎星芳饵 > random" "CustomCurioFilter": "博士之袍 > 福灵胶 > 分裂金币 > 信仰债券 > 换境桂冠 > 俱乐部券 > 碎星芳饵 > random"
},
"RoguePath": {
"PresetResonanceFilter": "preset-1",
"ResonanceSelectionStrategy": "follow-presets",
"CustomResonanceFilter": "回响构音:均晶转变 > 回响构音:零维强化\n> 回响构音:第二次初恋 > 回响构音:体验的富翁\n> 回响构音:局外人 > 回响构音:怀疑的四重根\n> 回响构音:诸法无我 > 回响构音:诸行无常\n> 回响构音:射不主皮 > 回响构音:柘弓危矢\n> 回响构音:激变变星 > 回响构音:极端氦闪\n> 回响构音:末日狂欢 > 回响构音:树苗长高舞\n> random"
} }
} }
} }

View File

@ -428,57 +428,6 @@
} }
} }
}, },
"Weekly": {
"Scheduler": {
"Enable": {
"type": "checkbox",
"value": true,
"option": [
true,
false
]
},
"NextRun": {
"type": "datetime",
"value": "2020-01-01 00:00:00",
"validate": "datetime"
},
"Command": {
"type": "input",
"value": "Weekly",
"display": "hide"
},
"ServerUpdate": {
"type": "input",
"value": "04:00",
"display": "hide"
}
},
"Weekly": {
"Name": {
"type": "select",
"value": "Echo_of_War_Divine_Seed",
"options": [],
"option": [
"Echo_of_War_Destruction_Beginning",
"Echo_of_War_End_of_the_Eternal_Freeze",
"Echo_of_War_Divine_Seed"
]
},
"Team": {
"type": "select",
"value": 1,
"option": [
1,
2,
3,
4,
5,
6
]
}
}
},
"DailyQuest": { "DailyQuest": {
"Scheduler": { "Scheduler": {
"Enable": { "Enable": {
@ -1157,6 +1106,57 @@
} }
} }
}, },
"Weekly": {
"Scheduler": {
"Enable": {
"type": "checkbox",
"value": false,
"option": [
true,
false
]
},
"NextRun": {
"type": "datetime",
"value": "2020-01-01 00:00:00",
"validate": "datetime"
},
"Command": {
"type": "input",
"value": "Weekly",
"display": "hide"
},
"ServerUpdate": {
"type": "input",
"value": "04:00",
"display": "hide"
}
},
"Weekly": {
"Name": {
"type": "select",
"value": "Echo_of_War_Divine_Seed",
"options": [],
"option": [
"Echo_of_War_Destruction_Beginning",
"Echo_of_War_End_of_the_Eternal_Freeze",
"Echo_of_War_Divine_Seed"
]
},
"Team": {
"type": "select",
"value": 1,
"option": [
1,
2,
3,
4,
5,
6
]
}
}
},
"Rogue": { "Rogue": {
"Scheduler": { "Scheduler": {
"Enable": { "Enable": {
@ -1220,7 +1220,7 @@
}, },
"DomainStrategy": { "DomainStrategy": {
"type": "select", "type": "select",
"value": "occurrence", "value": "combat",
"option": [ "option": [
"combat", "combat",
"occurrence" "occurrence"
@ -1240,34 +1240,10 @@
"value": "weekly_point_reward", "value": "weekly_point_reward",
"option": [ "option": [
"weekly_point_reward", "weekly_point_reward",
"100_elite_boss", "debug"
"non_stop"
] ]
} }
}, },
"RoguePath": {
"PresetResonanceFilter": {
"type": "select",
"value": "preset-1",
"option": [
"preset-1",
"custom"
]
},
"ResonanceSelectionStrategy": {
"type": "select",
"value": "follow-presets",
"option": [
"follow-presets",
"unrecorded-first",
"before-random"
]
},
"CustomResonanceFilter": {
"type": "textarea",
"value": "回响构音:均晶转变 > 回响构音:零维强化\n> 回响构音:第二次初恋 > 回响构音:体验的富翁\n> 回响构音:局外人 > 回响构音:怀疑的四重根\n> 回响构音:诸法无我 > 回响构音:诸行无常\n> 回响构音:射不主皮 > 回响构音:柘弓危矢\n> 回响构音:激变变星 > 回响构音:极端氦闪\n> 回响构音:末日狂欢 > 回响构音:树苗长高舞\n> random"
}
},
"RogueBlessing": { "RogueBlessing": {
"PresetBlessingFilter": { "PresetBlessingFilter": {
"type": "select", "type": "select",
@ -1313,6 +1289,29 @@
"type": "textarea", "type": "textarea",
"value": "博士之袍 > 福灵胶 > 分裂金币 > 信仰债券 > 换境桂冠 > 俱乐部券 > 碎星芳饵 > random" "value": "博士之袍 > 福灵胶 > 分裂金币 > 信仰债券 > 换境桂冠 > 俱乐部券 > 碎星芳饵 > random"
} }
},
"RoguePath": {
"PresetResonanceFilter": {
"type": "select",
"value": "preset-1",
"option": [
"preset-1",
"custom"
]
},
"ResonanceSelectionStrategy": {
"type": "select",
"value": "follow-presets",
"option": [
"follow-presets",
"unrecorded-first",
"before-random"
]
},
"CustomResonanceFilter": {
"type": "textarea",
"value": "回响构音:均晶转变 > 回响构音:零维强化\n> 回响构音:第二次初恋 > 回响构音:体验的富翁\n> 回响构音:局外人 > 回响构音:怀疑的四重根\n> 回响构音:诸法无我 > 回响构音:诸行无常\n> 回响构音:射不主皮 > 回响构音:柘弓危矢\n> 回响构音:激变变星 > 回响构音:极端氦闪\n> 回响构音:末日狂欢 > 回响构音:树苗长高舞\n> random"
}
} }
} }
} }

View File

@ -217,14 +217,14 @@ RogueWorld:
value: Blessing Cosmos value: Blessing Cosmos
option: [ Blessing Cosmos, Miracle Cosmos, Fragmented Cosmos ] option: [ Blessing Cosmos, Miracle Cosmos, Fragmented Cosmos ]
DomainStrategy: DomainStrategy:
value: occurrence value: combat
option: [ combat, occurrence ] option: [ combat, occurrence ]
ImmersionReward: ImmersionReward:
value: immersifier value: immersifier
option: [ do_not_claim, immersifier, immersifier_trailblaze_power ] option: [ do_not_claim, immersifier, immersifier_trailblaze_power ]
StopCondition: StopCondition:
value: weekly_point_reward value: weekly_point_reward
option: [ weekly_point_reward, 100_elite_boss, non_stop ] option: [ weekly_point_reward, debug ]
RoguePath: RoguePath:
PresetResonanceFilter: PresetResonanceFilter:

View File

@ -10,9 +10,6 @@
Dungeon: Dungeon:
Scheduler: Scheduler:
Enable: true Enable: true
Weekly:
Scheduler:
Enable: true
DailyQuest: DailyQuest:
Scheduler: Scheduler:
Enable: true Enable: true

View File

@ -12,7 +12,6 @@
"page": "setting", "page": "setting",
"tasks": [ "tasks": [
"Dungeon", "Dungeon",
"Weekly",
"DailyQuest", "DailyQuest",
"BattlePass", "BattlePass",
"Assignment", "Assignment",
@ -20,10 +19,11 @@
"Freebies" "Freebies"
] ]
}, },
"Rogue": { "Weekly": {
"menu": "list", "menu": "list",
"page": "setting", "page": "setting",
"tasks": [ "tasks": [
"Weekly",
"Rogue" "Rogue"
] ]
} }

View File

@ -28,9 +28,6 @@ Daily:
- DungeonDaily - DungeonDaily
- DungeonSupport - DungeonSupport
- DungeonStorage - DungeonStorage
Weekly:
- Scheduler
- Weekly
DailyQuest: DailyQuest:
- Scheduler - Scheduler
- AchievableQuest - AchievableQuest
@ -47,15 +44,18 @@ Daily:
Freebies: Freebies:
- Scheduler - Scheduler
- SupportReward - SupportReward
# ==================== Rogue ==================== # ==================== Weekly ====================
Rogue: Weekly:
menu: 'list' menu: 'list'
page: 'setting' page: 'setting'
tasks: tasks:
Weekly:
- Scheduler
- Weekly
Rogue: Rogue:
- Scheduler - Scheduler
- RogueWorld - RogueWorld
- RoguePath
- RogueBlessing - RogueBlessing
- RogueCurio - RogueCurio
- RoguePath

View File

@ -520,6 +520,10 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher
def DEVICE_CONTROL_METHOD(self): def DEVICE_CONTROL_METHOD(self):
return self.Emulator_ControlMethod return self.Emulator_ControlMethod
@property
def IS_ROGUE_DEBUG(self):
return self.RogueWorld_StopCondition == 'debug'
def temporary(self, **kwargs): def temporary(self, **kwargs):
""" """
Cover some settings, and recover later. Cover some settings, and recover later.

View File

@ -121,9 +121,9 @@ class GeneratedConfig:
RogueWorld_World = 'Simulated_Universe_World_7' # Simulated_Universe_World_3, Simulated_Universe_World_4, Simulated_Universe_World_5, Simulated_Universe_World_6, Simulated_Universe_World_7, Simulated_Universe_World_8 RogueWorld_World = 'Simulated_Universe_World_7' # Simulated_Universe_World_3, Simulated_Universe_World_4, Simulated_Universe_World_5, Simulated_Universe_World_6, Simulated_Universe_World_7, Simulated_Universe_World_8
RogueWorld_Path = 'The_Hunt' # Preservation, Remembrance, Nihility, Abundance, The_Hunt, Destruction, Elation RogueWorld_Path = 'The_Hunt' # Preservation, Remembrance, Nihility, Abundance, The_Hunt, Destruction, Elation
RogueWorld_Bonus = 'Blessing Cosmos' # Blessing Cosmos, Miracle Cosmos, Fragmented Cosmos RogueWorld_Bonus = 'Blessing Cosmos' # Blessing Cosmos, Miracle Cosmos, Fragmented Cosmos
RogueWorld_DomainStrategy = 'occurrence' # combat, occurrence RogueWorld_DomainStrategy = 'combat' # combat, occurrence
RogueWorld_ImmersionReward = 'immersifier' # do_not_claim, immersifier, immersifier_trailblaze_power RogueWorld_ImmersionReward = 'immersifier' # do_not_claim, immersifier, immersifier_trailblaze_power
RogueWorld_StopCondition = 'weekly_point_reward' # weekly_point_reward, 100_elite_boss, non_stop RogueWorld_StopCondition = 'weekly_point_reward' # weekly_point_reward, debug
# Group `RoguePath` # Group `RoguePath`
RoguePath_PresetResonanceFilter = 'preset-1' # preset-1, custom RoguePath_PresetResonanceFilter = 'preset-1' # preset-1, custom

View File

@ -124,8 +124,6 @@ class ManualConfig:
""" """
tasks.rogue tasks.rogue
""" """
# 2023.11.13 Migrate domain exit implementation, True to stop before domain exit
DOMAIN_EXIT_MIGRATE_DEV = False
ADDING = ''.join([chr(int(f)) for f in ManualConfig.OS_EXPLORE_CENTER.split('>')]) ADDING = ''.join([chr(int(f)) for f in ManualConfig.OS_EXPLORE_CENTER.split('>')])

View File

@ -8,8 +8,8 @@
"name": "Daily", "name": "Daily",
"help": "" "help": ""
}, },
"Rogue": { "Weekly": {
"name": "Simulated Universe", "name": "Weekly",
"help": "" "help": ""
} }
}, },
@ -26,10 +26,6 @@
"name": "Dungeon", "name": "Dungeon",
"help": "" "help": ""
}, },
"Weekly": {
"name": "Echo of War",
"help": ""
},
"DailyQuest": { "DailyQuest": {
"name": "Daily Quest", "name": "Daily Quest",
"help": "" "help": ""
@ -50,9 +46,13 @@
"name": "Freebies", "name": "Freebies",
"help": "" "help": ""
}, },
"Weekly": {
"name": "Echo of War",
"help": ""
},
"Rogue": { "Rogue": {
"name": "Simulated Universe", "name": "Simulated Universe",
"help": "Simulated Universe is in development, task will not be run" "help": ""
} }
}, },
"Scheduler": { "Scheduler": {
@ -828,10 +828,9 @@
}, },
"StopCondition": { "StopCondition": {
"name": "Stop Condition", "name": "Stop Condition",
"help": "Note: If \"Reached 100 Elite/Boss drop rewards\", the simulated universe task will run for several hours", "help": "",
"weekly_point_reward": "Reached Weekly Point Rewards", "weekly_point_reward": "Reached Weekly Point Rewards",
"100_elite_boss": "Reached 100 Elite/BOSS drop rewards", "debug": "(for debugging only)"
"non_stop": "Non-stop (for debugging only)"
} }
}, },
"RoguePath": { "RoguePath": {

View File

@ -8,8 +8,8 @@
"name": "Diario", "name": "Diario",
"help": "" "help": ""
}, },
"Rogue": { "Weekly": {
"name": "Universo Simulado", "name": "Semanario",
"help": "" "help": ""
} }
}, },
@ -26,10 +26,6 @@
"name": "Mazmorra", "name": "Mazmorra",
"help": "" "help": ""
}, },
"Weekly": {
"name": "Ecos de la guerra",
"help": ""
},
"DailyQuest": { "DailyQuest": {
"name": "Misión diaria", "name": "Misión diaria",
"help": "" "help": ""
@ -50,9 +46,13 @@
"name": "Freebies", "name": "Freebies",
"help": "" "help": ""
}, },
"Weekly": {
"name": "Ecos de la guerra",
"help": ""
},
"Rogue": { "Rogue": {
"name": "Universo Simulado", "name": "Universo Simulado",
"help": "El Universo Simulado está en desarrollo, y no se ejecutará" "help": ""
} }
}, },
"Scheduler": { "Scheduler": {
@ -828,10 +828,9 @@
}, },
"StopCondition": { "StopCondition": {
"name": "Condición de detención", "name": "Condición de detención",
"help": "Nota: Si \"recompensas de Elite/BOSS\", la tarea del universo simulado se ejecutará durante varias horas", "help": "",
"weekly_point_reward": "Recompensas de puntos semanales alcanzados", "weekly_point_reward": "Recompensas de puntos semanales alcanzados",
"100_elite_boss": "Has alcanzado 100 recompensas de Elite/BOSS", "debug": "(solo para depuración)"
"non_stop": "Sin parar (solo para depuración)"
} }
}, },
"RoguePath": { "RoguePath": {

View File

@ -8,9 +8,9 @@
"name": "Menu.Daily.name", "name": "Menu.Daily.name",
"help": "Menu.Daily.help" "help": "Menu.Daily.help"
}, },
"Rogue": { "Weekly": {
"name": "Menu.Rogue.name", "name": "Menu.Weekly.name",
"help": "Menu.Rogue.help" "help": "Menu.Weekly.help"
} }
}, },
"Task": { "Task": {
@ -26,10 +26,6 @@
"name": "Task.Dungeon.name", "name": "Task.Dungeon.name",
"help": "Task.Dungeon.help" "help": "Task.Dungeon.help"
}, },
"Weekly": {
"name": "Task.Weekly.name",
"help": "Task.Weekly.help"
},
"DailyQuest": { "DailyQuest": {
"name": "Task.DailyQuest.name", "name": "Task.DailyQuest.name",
"help": "Task.DailyQuest.help" "help": "Task.DailyQuest.help"
@ -50,6 +46,10 @@
"name": "他ギフト", "name": "他ギフト",
"help": "" "help": ""
}, },
"Weekly": {
"name": "Task.Weekly.name",
"help": "Task.Weekly.help"
},
"Rogue": { "Rogue": {
"name": "Task.Rogue.name", "name": "Task.Rogue.name",
"help": "Task.Rogue.help" "help": "Task.Rogue.help"
@ -830,8 +830,7 @@
"name": "RogueWorld.StopCondition.name", "name": "RogueWorld.StopCondition.name",
"help": "RogueWorld.StopCondition.help", "help": "RogueWorld.StopCondition.help",
"weekly_point_reward": "weekly_point_reward", "weekly_point_reward": "weekly_point_reward",
"100_elite_boss": "100_elite_boss", "debug": "debug"
"non_stop": "non_stop"
} }
}, },
"RoguePath": { "RoguePath": {

View File

@ -8,8 +8,8 @@
"name": "每日", "name": "每日",
"help": "" "help": ""
}, },
"Rogue": { "Weekly": {
"name": "模拟宇宙", "name": "每周",
"help": "" "help": ""
} }
}, },
@ -26,10 +26,6 @@
"name": "每日副本", "name": "每日副本",
"help": "" "help": ""
}, },
"Weekly": {
"name": "历战余响",
"help": ""
},
"DailyQuest": { "DailyQuest": {
"name": "每日任务", "name": "每日任务",
"help": "" "help": ""
@ -50,9 +46,13 @@
"name": "白嫖奖励", "name": "白嫖奖励",
"help": "" "help": ""
}, },
"Weekly": {
"name": "历战余响",
"help": ""
},
"Rogue": { "Rogue": {
"name": "模拟宇宙", "name": "模拟宇宙",
"help": "模拟宇宙还在开发中,任务不会被运行" "help": ""
} }
}, },
"Scheduler": { "Scheduler": {
@ -828,10 +828,9 @@
}, },
"StopCondition": { "StopCondition": {
"name": "停止条件", "name": "停止条件",
"help": "注意:\"每周100精英怪掉落奖励达到上限\" 时,模拟宇宙任务将运行数小时", "help": "",
"weekly_point_reward": "每周点数奖励达到上限", "weekly_point_reward": "每周点数奖励达到上限",
"100_elite_boss": "每周100精英怪掉落奖励达到上限", "debug": "(仅用于调试)"
"non_stop": "不停止 (仅用于调试)"
} }
}, },
"RoguePath": { "RoguePath": {

View File

@ -8,8 +8,8 @@
"name": "每日", "name": "每日",
"help": "" "help": ""
}, },
"Rogue": { "Weekly": {
"name": "模擬宇宙", "name": "每週",
"help": "" "help": ""
} }
}, },
@ -26,10 +26,6 @@
"name": "每日副本", "name": "每日副本",
"help": "" "help": ""
}, },
"Weekly": {
"name": "歷戰餘響",
"help": ""
},
"DailyQuest": { "DailyQuest": {
"name": "每日任務", "name": "每日任務",
"help": "" "help": ""
@ -50,9 +46,13 @@
"name": "免費獎勵", "name": "免費獎勵",
"help": "" "help": ""
}, },
"Weekly": {
"name": "歷戰餘響",
"help": ""
},
"Rogue": { "Rogue": {
"name": "模擬宇宙", "name": "模擬宇宙",
"help": "模擬宇宙還在開發中,任務不會被運行" "help": ""
} }
}, },
"Scheduler": { "Scheduler": {
@ -828,10 +828,9 @@
}, },
"StopCondition": { "StopCondition": {
"name": "停止條件", "name": "停止條件",
"help": "注意:\"每週100精英怪掉落獎勵達到上限\" 時,模擬宇宙任務將運行數小時", "help": "",
"weekly_point_reward": "每週點數獎勵達到上限", "weekly_point_reward": "每週點數獎勵達到上限",
"100_elite_boss": "每週100精英怪掉落獎勵達到上限", "debug": "(只用於偵錯)"
"non_stop": "不停止 (只用於除錯)"
} }
}, },
"RoguePath": { "RoguePath": {

View File

@ -348,14 +348,14 @@ class RouteBase(RouteBase_, RogueExit, RogueEvent, RogueReward):
# Choose a door # Choose a door
logger.hr('Find domain exit', level=2) logger.hr('Find domain exit', level=2)
logger.info(f'Migrate={self.config.DOMAIN_EXIT_MIGRATE_DEV}, left_door={left_door}, right_door={right_door}') logger.info(f'Migrate={self.config.IS_ROGUE_DEBUG}, left_door={left_door}, right_door={right_door}')
if not self.config.DOMAIN_EXIT_MIGRATE_DEV and (not left_door and not right_door): if not self.config.IS_ROGUE_DEBUG and (not left_door and not right_door):
return self._domain_exit_old() return self._domain_exit_old()
logger.info(f'Using new predict_door()') logger.info(f'Using new predict_door()')
door = self.predict_door() door = self.predict_door()
if self.config.DOMAIN_EXIT_MIGRATE_DEV and self.exit_has_double_door and (not left_door or not right_door): if self.config.IS_ROGUE_DEBUG and self.exit_has_double_door and (not left_door or not right_door):
logger.critical(f'Domain exit is not defined in: {self.route_func}') logger.critical(f'Domain exit is not defined, please record it: {self.route_func}')
exit(1) exit(1)
# Goto door # Goto door