diff --git a/project/floors/MT19.js b/project/floors/MT19.js index 61cc69d..6c2fb34 100644 --- a/project/floors/MT19.js +++ b/project/floors/MT19.js @@ -290,5 +290,11 @@ main.floors.MT19= 11 ], "beforeBattle": {}, - "cannotMoveIn": {} + "cannotMoveIn": {}, + "eachArrive": [ + { + "type": "function", + "function": "function(){\ncore.plugin.donghua10()\n}" + } + ] } \ No newline at end of file diff --git a/project/functions.js b/project/functions.js index bd5aa58..4208b9c 100644 --- a/project/functions.js +++ b/project/functions.js @@ -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); } } diff --git a/project/plugins.js b/project/plugins.js index bbc84ec..e20bf20 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -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 () { // 在此增加新插件