Skip to content

Commit

Permalink
feat: 支持万象虚境花费时序通行证配置
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 8, 2023
1 parent 2f2b910 commit 56bc50e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/resource/pipeline/combat/universal_mirage.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@
"post_delay": 1000,
"next": [
"UniversalMirageCostingTimeSwirlPasses",
"UniversalMirageQuit",
"UniversalMirageCombatFinish"
]
},
"UniversalMirageCostingTimeSwirlPasses": {
"enabled": false,
"recognition": "TemplateMatch",
"template": "Combat/UniversalMirage/UniversalMirageCostingTimeSwirlPasses.png",
"roi": [
Expand Down
4 changes: 4 additions & 0 deletions source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ json::value universal_mirage_param()
{
json::value param;
auto& diff = param["diff_task"];
auto& costing_time_swirl_passes_doc = diff["UniversalMirageCostingTimeSwirlPasses"]["doc"];
auto& costing_time_swirl_passes_enabled = diff["UniversalMirageCostingTimeSwirlPasses"]["enabled"];
auto& glacial_fences_doc = diff["Sub_EnterGlacialFencesPage"]["doc"];
auto& glacial_fences_enabled = diff["Sub_EnterGlacialFencesPage"]["enabled"];
auto& illuminated_land_doc = diff["Sub_EnterIlluminatedLandPage"]["doc"];
Expand All @@ -260,6 +262,8 @@ json::value universal_mirage_param()
auto& stage_f2_doc = diff["UniversalMirageStageF2"]["doc"];
auto& stage_f2_enabled = diff["UniversalMirageStageF2"]["enabled"];

costing_time_swirl_passes_doc = "花费时序通行证;默认false";
costing_time_swirl_passes_enabled = false;
glacial_fences_doc = "幽寒之槛";
glacial_fences_enabled = true;
illuminated_land_doc = "煌然之地";
Expand Down

0 comments on commit 56bc50e

Please sign in to comment.