修复录像

This commit is contained in:
AncTe committed 2023-04-29 11:25:18 +08:00
1 parent ecc886c261
commit 31210256d8
7 files changed
+51 -23

No files matched your search

+1 -17
View File
@@ -123,23 +123,7 @@ export const camera1: ChaseCameraData[] = [
* 追逐战开始前的初始化函数,移除所有血瓶和门等
*/
export function init1() {
const ids: FloorIds[] = ['MT13', 'MT14', 'MT15'];
const toRemove: [number, number, FloorIds][] = [];
ids.forEach(v => {
core.status.maps[v].cannotMoveDirectly = true;
core.extractBlocks(v);
core.status.maps[v].blocks.forEach(vv => {
if (
['animates', 'items'].includes(vv.event.cls) &&
!vv.event.id.endsWith('Portal')
) {
toRemove.push([vv.x, vv.y, v]);
}
});
});
toRemove.forEach(v => {
core.removeBlock(...v);
});
return core.plugin.chase.chaseInit1();
}
export function chaseShake(chase: Chase) {