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

431 lines
12 KiB
JavaScript

main.floors.SC49_2=
{
"floorId": "SC49_2",
"title": "御魂庆典:49F",
"name": "第 49 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1,330],
[330, 1, 1, 0, 0,206,206,206, 0, 0, 1, 1,330],
[330, 1, 0, 0, 0,206,208,206, 0, 0, 0, 1,330],
[330, 0, 0, 0, 0,206,206,206, 0, 0, 0, 0,330],
[330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,330],
[330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,330],
[330, 1, 85, 1, 1, 1, 85, 1, 1, 1, 85, 1,330],
[330, 21, 21, 21, 1,214, 0,214, 1, 32, 32, 32,330],
[330,401,401,401, 1, 1, 85, 1, 1,411,411,411,330],
[330, 1, 1, 1, 1,213, 0,213, 1, 1, 1, 1,330],
[330, 88, 0, 83, 0, 0, 0, 0, 0, 0, 0, 87,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 5,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"6,6": [
{
"type": "if",
"condition": "(core.getBlockId(6,7)==='specialDoor')",
"true": [],
"false": [
{
"type": "closeDoor",
"id": "specialDoor",
"loc": [
6,
7
]
}
]
},
{
"type": "move",
"loc": [
5,
2
],
"time": 1000,
"async": true,
"steps": [
"rightdown:1"
]
},
{
"type": "move",
"loc": [
6,
2
],
"time": 1000,
"async": true,
"steps": [
"down:1"
]
},
{
"type": "move",
"loc": [
7,
2
],
"time": 1000,
"async": true,
"steps": [
"leftdown:1"
]
},
{
"type": "move",
"loc": [
5,
3
],
"time": 1000,
"async": true,
"steps": [
"right:1"
]
},
{
"type": "move",
"loc": [
7,
3
],
"time": 1000,
"async": true,
"steps": [
"left:1"
]
},
{
"type": "move",
"loc": [
5,
4
],
"time": 1000,
"async": true,
"steps": [
"rightup:1"
]
},
{
"type": "move",
"loc": [
6,
4
],
"time": 1000,
"async": true,
"steps": [
"up:1"
]
},
{
"type": "move",
"loc": [
7,
4
],
"time": 1000,
"steps": [
"leftup:1"
]
},
{
"type": "waitAsync"
},
{
"type": "setBlockOpacity",
"loc": [
[
6,
3
]
],
"opacity": 1,
"time": 1000
},
{
"type": "sleep",
"time": 200
},
{
"type": "waitAsync"
},
"\t[吸血鬼,vampire]很好 你打败了骷髅族 但别想象藐视骷髅人那样藐视我 我对于你就像是神一样 是不可战胜的 来吧",
{
"type": "playBgm",
"name": "battle.mp3"
},
{
"type": "hide",
"remove": true
}
],
"11,11": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": []
},
"6,3": {
"trigger": null,
"enable": true,
"noPass": null,
"displayDamage": true,
"opacity": 0.2,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": []
}
},
"changeFloor": {
"1,11": {
"floorId": ":before",
"stair": "upFloor"
},
"11,11": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {
"5,10": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\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,
9
]
},
{
"type": "hide",
"time": 0
}
]
}
],
"7,10": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\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,
9
]
},
{
"type": "hide",
"time": 0
}
]
}
],
"7,8": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\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,
7
]
},
{
"type": "hide",
"time": 0
}
]
}
],
"5,8": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\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,
7
]
},
{
"type": "hide",
"time": 0
}
]
}
],
"6,3": [
"\t[vampire]上帝啊 我做梦也没想到我会被别人打败 毫无疑问你是比我强 但你仅仅取得了一个暂时的胜利",
{
"type": "show",
"loc": [
[
11,
11
]
]
},
{
"type": "hide",
"loc": [
[
5,
2
],
[
6,
2
],
[
7,
2
],
[
7,
3
],
[
7,
4
],
[
6,
4
],
[
5,
4
],
[
5,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
6
]
],
"remove": true
},
{
"type": "openDoor",
"loc": [
2,
7
],
"async": true
},
{
"type": "openDoor",
"loc": [
10,
7
],
"async": true
},
{
"type": "openDoor",
"loc": [
6,
7
]
},
{
"type": "waitAsync"
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"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]
],
"fgmap": [
],
"downFloor": [
2,
11
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": [],
"upFloor": [
10,
11
]
}