51_AstralParty/project/floors/SC10_5.js
2025-09-11 22:30:07 +08:00

310 lines
10 KiB
JavaScript

main.floors.SC10_5=
{
"floorId": "SC10_5",
"title": "御魂庆典:10F",
"name": "第 10 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 0, 0, 0, 0, 0,245, 0, 0, 0, 0, 0,330],
[330, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1,330],
[330,404,404,404, 1, 1, 85, 1, 1,414,414,414,330],
[330, 23, 0, 62, 85,246, 0,246, 85, 32, 32, 32,330],
[330, 1, 1, 1, 1,246, 0,246, 1, 1, 1, 1,330],
[330,246,414,246, 1,246, 0,246, 1,246,404,246,330],
[330, 0,228, 0, 1,246, 0,246, 1, 0,228, 0,330],
[330, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0,330],
[330, 81, 1, 81, 1, 1, 83, 1, 1, 81, 1, 81,330],
[330, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0,330],
[330, 88, 1, 0,229, 0, 0, 0,229, 0, 1, 32,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 1,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"6,8": [
{
"type": "closeDoor",
"id": "specialDoor",
"loc": [
6,
3
],
"async": true
},
{
"type": "closeDoor",
"id": "specialDoor",
"loc": [
6,
9
]
},
{
"type": "waitAsync"
},
"\t[魔王,redKing]你终于来啦 我好想和你干一把 但是我的部下不同意",
{
"type": "playBgm",
"name": "battle.mp3"
},
{
"type": "hide",
"remove": true,
"time": 0
}
]
},
"changeFloor": {
"1,11": {
"floorId": ":before",
"stair": "upFloor"
}
},
"afterBattle": {
"5,4": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"7,4": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"7,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"7,6": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"5,6": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"5,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"6,1": [
"\t[魔王,redKing]很好嘛 你通过了我的面试 你是个合格的玩家",
{
"type": "openDoor",
"loc": [
8,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
4,
4
],
"async": true
},
{
"type": "openDoor",
"loc": [
6,
3
],
"async": true
},
{
"type": "openDoor",
"loc": [
6,
9
]
},
{
"type": "hide",
"loc": [
[
6,
8
]
],
"remove": true
},
{
"type": "waitAsync"
}
],
"5,7": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"7,7": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\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": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
]
},
"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]
],
"upFloor": null,
"downFloor": [
1,
10
],
"autoEvent": {
"6,1": {
"0": null,
"1": null
}
},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}