1339 lines
45 KiB
JavaScript
1339 lines
45 KiB
JavaScript
main.floors.SC20_1=
|
|
{
|
|
"floorId": "SC20_1",
|
|
"title": "御魂庆典:20F",
|
|
"name": "第 20 层",
|
|
"width": 13,
|
|
"height": 13,
|
|
"map": [
|
|
[330,330,330,330,330,330,330,330,330,330,330,330,330],
|
|
[330, 0, 0, 0, 0, 0, 87, 0, 0, 0, 0, 0,330],
|
|
[330, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1,330],
|
|
[330, 1, 1, 1, 1, 1, 85, 1, 1, 1, 1, 1,330],
|
|
[330, 28, 27, 1, 0, 0, 0, 0, 0, 1, 31, 32,330],
|
|
[330, 21, 0, 1, 0,209,210,209, 0, 1, 0, 21,330],
|
|
[330, 1, 82, 1, 0,209,211,209, 0, 1, 82, 1,330],
|
|
[330,201, 0, 1, 0,209,210,209, 0, 1, 0,201,330],
|
|
[330, 0,201, 1, 0, 0, 0, 0, 0, 1,201, 0,330],
|
|
[330, 81, 1, 1, 1, 1, 83, 1, 1, 1, 1, 81,330],
|
|
[330, 0,221, 0, 1, 0, 0, 0, 1, 0,221, 0,330],
|
|
[330, 31, 0, 0,217, 0, 88, 0,217, 0, 0, 31,330],
|
|
[330,330,330,330,330,330,330,330,330,330,330,330,330]
|
|
],
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"images": [],
|
|
"ratio": 2,
|
|
"defaultGround": "ground",
|
|
"bgm": "maps2.mp3",
|
|
"firstArrive": null,
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {
|
|
"6,8": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "closeDoor",
|
|
"id": "specialDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
"\t[骷髅队长,skeletonCaptain]哈 罠 上",
|
|
{
|
|
"type": "setBlockOpacity",
|
|
"loc": [
|
|
[
|
|
6,
|
|
6
|
|
]
|
|
],
|
|
"opacity": 1,
|
|
"time": 1000
|
|
},
|
|
{
|
|
"type": "playBgm",
|
|
"name": "battle.mp3"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:罠",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"type": "hide",
|
|
"remove": true
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"6,11": {
|
|
"floorId": ":before",
|
|
"stair": "upFloor"
|
|
},
|
|
"6,1": {
|
|
"floorId": ":next",
|
|
"stair": "downFloor"
|
|
}
|
|
},
|
|
"afterBattle": {
|
|
"6,6": [
|
|
{
|
|
"type": "if",
|
|
"condition": "(!flag:罠)",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,5": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,5": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,5": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,6": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,7": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,7": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,7": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"5,6": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) === \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "flag:open_yes",
|
|
"true": [
|
|
"\t[骷髅队长,skeletonCaptain]不 这是不可能的 你怎会打败我 你别太得意 后面还有许多强大的对手和机关存在 你稍有疏忽就必死无疑",
|
|
{
|
|
"type": "hide",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
],
|
|
"remove": true
|
|
},
|
|
{
|
|
"type": "show",
|
|
"loc": [
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "21",
|
|
"loc": [
|
|
[
|
|
5,
|
|
4
|
|
],
|
|
[
|
|
6,
|
|
4
|
|
],
|
|
[
|
|
7,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "27",
|
|
"loc": [
|
|
[
|
|
4,
|
|
5
|
|
],
|
|
[
|
|
4,
|
|
6
|
|
],
|
|
[
|
|
4,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "28",
|
|
"loc": [
|
|
[
|
|
8,
|
|
5
|
|
],
|
|
[
|
|
8,
|
|
6
|
|
],
|
|
[
|
|
8,
|
|
7
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "setBlock",
|
|
"number": "32",
|
|
"loc": [
|
|
[
|
|
7,
|
|
8
|
|
],
|
|
[
|
|
5,
|
|
8
|
|
],
|
|
[
|
|
6,
|
|
8
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
],
|
|
"async": true
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"type": "waitAsync"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"cannotMove": {},
|
|
"fgmap": [
|
|
|
|
],
|
|
"bgmap": [
|
|
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
|
|
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17]
|
|
],
|
|
"downFloor": [
|
|
6,
|
|
10
|
|
],
|
|
"upFloor": [
|
|
6,
|
|
2
|
|
],
|
|
"autoEvent": {},
|
|
"beforeBattle": {},
|
|
"cannotMoveIn": {},
|
|
"bg2map": [],
|
|
"fg2map": []
|
|
} |