Compare commits

...

2 Commits

Author SHA1 Message Date
1a3c591a7b Merge branch 'noAnimate' into hasAnimate 2023-06-24 21:13:09 +08:00
1918e8aa87 添加34、19动画 2023-06-24 21:12:29 +08:00
3 changed files with 18 additions and 1 deletions

View File

@ -290,5 +290,11 @@ main.floors.MT19=
11
],
"beforeBattle": {},
"cannotMoveIn": {}
"cannotMoveIn": {},
"eachArrive": [
{
"type": "function",
"function": "function(){\ncore.plugin.donghua10()\n}"
}
]
}

View File

@ -476,6 +476,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
if (x == dx && y == dy) continue;
let calIndex = (core.getFlag("_MT34OpenDoors_", 0) + doorInfo[loc]) % doorIds.length;
core.drawAnimate('xiaoshideqiang', x, y);
core.setBlock(doorIds[calIndex], dx, dy);
}
}

View File

@ -3318,6 +3318,16 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
} else core.stopAnimate(core.getFlag("linshi9", 0), false);
}
this.donghua10 = function () {
if (core.status.floorId == "MT19") {
if (core.isReplaying()) { setTimeout(core.plugin.donghua10, 100); return; }
core.setFlag("linshi10", core.drawAnimate("rengonghuixue2", 11, 2, false, function () {
core.plugin.donghua10();
}));
} else core.stopAnimate(core.getFlag("linshi10", 0), false);
}
},
"楼层切换": function () {
// 在此增加新插件