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

621 lines
23 KiB
JavaScript

main.floors.SC10_4=
{
"floorId": "SC10_4",
"title": "御魂庆典:10F",
"name": "第 10 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330,402,402,402, 1, 0,226, 0, 1,412,412,412,330],
[330, 21, 21, 21, 85,227,227,227, 85, 32, 32, 32,330],
[330, 1, 1, 1, 1,224,224,224, 1, 1, 1, 1,330],
[330, 1, 1, 1, 1,225,225,225, 1, 1, 1, 1,330],
[330, 1, 1, 1, 1,212,212,212, 1, 1, 1, 1,330],
[330,224,412,224, 1, 1, 0, 1, 1,224,402,224,330],
[330, 0,227, 0, 1, 1, 0, 1, 1, 0,227, 0,330],
[330, 0, 0, 0, 1, 1, 0, 1, 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,225, 0, 87, 0,225, 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,11": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": []
}
},
"changeFloor": {
"1,11": {
"floorId": ":before",
"stair": "upFloor"
},
"6,11": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {
"6,1": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"5,2": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"6,2": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"7,2": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"5,3": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"6,3": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"7,3": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"5,4": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"6,4": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"7,4": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"5,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"6,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"type": "waitAsync"
}
]
}
],
"7,5": [
{
"type": "function",
"function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 1],\n\t[5, 2],\n\t[6, 2],\n\t[7, 2],\n\t[5, 3],\n\t[6, 3],\n\t[7, 3],\n\t[5, 4],\n\t[6, 4],\n\t[7, 4],\n\t[5, 5],\n\t[6, 5],\n\t[7, 5],\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[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。",
{
"type": "openDoor",
"loc": [
4,
2
],
"async": true
},
{
"type": "openDoor",
"loc": [
8,
2
]
},
{
"type": "show",
"loc": [
[
6,
11
]
]
},
{
"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]
],
"upFloor": [
6,
10
],
"downFloor": [
1,
10
],
"autoEvent": {
"6,3": {
"0": null,
"1": null
}
},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}