添加34、19动画
This commit is contained in:
parent
f43b4df8f0
commit
1918e8aa87
@ -290,5 +290,11 @@ main.floors.MT19=
|
|||||||
11
|
11
|
||||||
],
|
],
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
"cannotMoveIn": {}
|
"cannotMoveIn": {},
|
||||||
|
"eachArrive": [
|
||||||
|
{
|
||||||
|
"type": "function",
|
||||||
|
"function": "function(){\ncore.plugin.donghua10()\n}"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@ -476,6 +476,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
if (x == dx && y == dy) continue;
|
if (x == dx && y == dy) continue;
|
||||||
|
|
||||||
let calIndex = (core.getFlag("_MT34OpenDoors_", 0) + doorInfo[loc]) % doorIds.length;
|
let calIndex = (core.getFlag("_MT34OpenDoors_", 0) + doorInfo[loc]) % doorIds.length;
|
||||||
|
core.drawAnimate('xiaoshideqiang', x, y);
|
||||||
core.setBlock(doorIds[calIndex], dx, dy);
|
core.setBlock(doorIds[calIndex], dx, dy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3318,6 +3318,16 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
} else core.stopAnimate(core.getFlag("linshi9", 0), false);
|
} 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 () {
|
"楼层切换": function () {
|
||||||
// 在此增加新插件
|
// 在此增加新插件
|
||||||
|
Loading…
Reference in New Issue
Block a user