mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-10 23:44:31 +08:00
完善追逐战
This commit is contained in:
1 parent
bdf47dae82
commit
d365569d45
4 files changed
+54
-2
No files matched your search
@@ -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
|
||||
);
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Vendored
+6
@@ -114,6 +114,12 @@ interface PluginUtils {
|
||||
* @param index 追逐战索引
|
||||
*/
|
||||
startChase(index: number): Promise<void>;
|
||||
|
||||
/**
|
||||
* 自动修复特殊boss战的录像
|
||||
* @param isStart 是否要开始修剪录像
|
||||
*/
|
||||
autoFixRouteBoss(isStart?: boolean);
|
||||
}
|
||||
|
||||
interface PluginUis {
|
||||
|
||||
Reference in new issue
Block a user