完善追逐战

This commit is contained in:
AncTe committed 2023-01-03 22:36:50 +08:00
1 parent bdf47dae82
commit d365569d45
4 files changed
+54 -2

No files matched your search

+6 -1
View File
@@ -220,5 +220,10 @@ export async function startChase(index: number) {
flags.chaseIndex = index;
flags.onChase = true;
await sleep(20);
flags.chase = new Chase(data.path, data.fns, data.camera);
flags.chase = new Chase(
data.path,
data.fns,
data.camera,
flags.chaseHard === 0
);
}
+2
View File
@@ -576,6 +576,8 @@ export function para3(chase: Chase) {
'MT14',
async () => {
flags.finishChase1 = true;
core.autoFixRouteBoss();
core.showStatusBar();
ani.time(750).apply('rect', 0);
chase.end();
await sleep(750);
+6
View File
@@ -114,6 +114,12 @@ interface PluginUtils {
* @param index 追逐战索引
*/
startChase(index: number): Promise<void>;
/**
* 自动修复特殊boss战的录像
* @param isStart 是否要开始修剪录像
*/
autoFixRouteBoss(isStart?: boolean);
}
interface PluginUis {