perf: 优化导航逻辑

link to #10691
This commit is contained in:
uye
2025-06-09 14:23:11 +08:00
parent 503029581a
commit cd25bb9fa9
4 changed files with 26 additions and 21 deletions

View File

@@ -1,36 +1,24 @@
{
"AD-8": {
"algorithm": "JustReturn",
"sub": ["AD-OpenOpt"],
"sub": ["AD-8@AD-OpenOpt"],
"next": ["AD-8@SideStoryStage", "AD-8@SwipeToStage"]
},
"AD-8@SideStoryStage": {
"text": ["AD-8"]
},
"AD-7": {
"algorithm": "JustReturn",
"sub": ["AD-OpenOpt"],
"sub": ["AD-7@AD-OpenOpt"],
"next": ["AD-7@SideStoryStage", "AD-7@SwipeToStage"]
},
"AD-7@SideStoryStage": {
"text": ["AD-7"]
},
"AD-6": {
"algorithm": "JustReturn",
"sub": ["AD-OpenOpt"],
"sub": ["AD-6@AD-OpenOpt"],
"next": ["AD-6@SideStoryStage", "AD-6@SwipeToStage"]
},
"AD-6@SideStoryStage": {
"text": ["AD-6"]
},
"AD-3": {
"algorithm": "JustReturn",
"sub": ["AD-OpenOpt"],
"sub": ["AD-3@AD-OpenOpt"],
"next": ["AD-3@SideStoryStage", "AD-3@SwipeToStage"]
},
"AD-3@SideStoryStage": {
"text": ["AD-3"]
},
"AD-OpenOpt": {
"algorithm": "JustReturn",
"next": ["AD-OpenOcr", "AD-Open"]
@@ -38,7 +26,7 @@
"AD-Open": {
"baseTask": "SS-Open",
"template": ["StageSideStory.png", "StageActivity.png"],
"next": ["ADChapterToAD"]
"next": ["ADChapterToAD"]
},
"AD-OpenOcr": {
"baseTask": "SS-OpenOcr",
@@ -50,7 +38,20 @@
"action": "ClickSelf",
"text": ["演出开始"],
"preDelay": 4000,
"postDelay": 2000,
"roi": [1053, 402, 200, 127],
"next": ["#self", "ChapterSwipeToTheRight"]
"next": ["#self", "SideStoryStage", "ChapterSwipeToTheRight"]
},
"AD-8@SideStoryStage": {
"text": ["AD-8"]
},
"AD-7@SideStoryStage": {
"text": ["AD-7"]
},
"AD-6@SideStoryStage": {
"text": ["AD-6"]
},
"AD-3@SideStoryStage": {
"text": ["AD-3"]
}
}

View File

@@ -346,8 +346,8 @@
"next": ["ClickStageName", "FullStageNavigation"]
},
"FullStageNavigation": {
"Doc": "右滑次,然后检测关卡并左滑",
"Doc2": "在一次关卡导航中仅swipe其余情况进exceededNext",
"Doc": "右滑 10 次,然后检测关卡并左滑",
"Doc2": "在一次关卡导航中仅swipe 10其余情况进exceededNext",
"baseTask": "ChapterSwipeToTheRight",
"specificRect_Doc": "防止在关卡名展开的情况下无法滑动,调整滑动区域",
"specificRect": [600, 100, 20, 20],
@@ -4525,7 +4525,7 @@
"exceededNext": ["Copilot@ChapterSwipeToTheRightAndPlot"]
},
"Copilot@ChapterSwipeToTheRightAndPlot": {
"doc": "划次到最右,然后扫有无初见剧情",
"doc": "划 10 次到最右,然后扫有无初见剧情",
"baseTask": "ChapterSwipeToTheRight",
"exceededNext": ["Copilot@ClickPlotStage"]
},

View File

@@ -174,6 +174,7 @@
<None Include="..\..\resource\tasks\Roguelike\Phantom.json" />
<None Include="..\..\resource\tasks\Roguelike\Sami.json" />
<None Include="..\..\resource\tasks\Roguelike\Sarkaz.json" />
<None Include="..\..\resource\tasks\Stages\AD.json" />
<None Include="..\..\resource\tasks\Stages\AS.json" />
<None Include="..\..\resource\tasks\Stages\base.json" />
<None Include="..\..\resource\tasks\Stages\BB.json" />

View File

@@ -703,6 +703,9 @@
<None Include="..\..\resource\tasks\Stages\base.json">
<Filter>Resource\tasks\base\Stages</Filter>
</None>
<None Include="..\..\resource\tasks\Stages\AD.json">
<Filter>Resource\tasks\base\Stages</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\include\AsstCaller.h">