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

148 lines
4.0 KiB
JavaScript

main.floors.MAL43=
{
"floorId": "MAL43",
"title": "魔法学院:43F",
"name": "主楼 43F",
"width": 13,
"height": 13,
"map": [
[148,148,148,148,148,148,148,148,148,148,148,148,148],
[148, 88, 0, 81, 0,204, 0, 81, 81,246, 0, 0,148],
[148, 0, 0,148,148,148, 0,148,148, 0,148, 0,148],
[148, 0, 0, 81, 0,148,228,148, 0, 0,148, 0,148],
[148, 82,148,148,220,148, 0,228, 0,421,148, 0,148],
[148, 0,204, 0, 0,148,148,148,148,148,148, 81,148],
[148, 0,148, 81,148,148, 32, 0, 81, 0, 0, 0,148],
[148, 0,148, 0, 0,204, 0, 0,148,219, 0, 31,148],
[148, 81,148,148,148,148,148,148,148, 0, 21, 0,148],
[148, 0,207,148, 32, 0,228, 0,148,148,148, 81,148],
[148, 0, 0,148, 32,148,148, 0, 81, 0,207, 0,148],
[148, 87, 0,148, 32, 0, 82, 0,148, 0, 0, 22,148],
[148,148,148,148,148,148,148,148,148,148,148,148,148]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 5,
"defaultGround": "magicground",
"bgm": "maps4L.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {
"1,1": {
"floorId": ":before",
"stair": "upFloor"
},
"1,11": {
"floorId": "MAL45",
"stair": "downFloor"
}
},
"afterBattle": {
"11,1": [
{
"type": "setValue",
"name": "flag:43机关",
"value": "1"
}
],
"7,4": [
{
"type": "setValue",
"name": "flag:43机关",
"value": "1"
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"fgmap": [
],
"bgmap": [
],
"upFloor": [
1,
10
],
"downFloor": [
1,
2
],
"autoEvent": {},
"beforeBattle": {
"9,1": [
{
"type": "if",
"condition": "((status:direction==='right' )&&( flag:43机关===0))",
"true": [
{
"type": "closeDoor",
"id": "yellowWall",
"loc": [
7,
1
],
"async": true
},
{
"type": "move",
"loc": [
9,
1
],
"time": 200,
"keep": true,
"steps": [
"right:2"
]
},
{
"type": "waitAsync"
},
{
"type": "closeDoor",
"id": "yellowWall",
"loc": [
10,
1
]
},
{
"type": "hide",
"remove": true,
"time": 0
}
],
"false": [
{
"type": "battle",
"loc": [
9,
1
]
},
{
"type": "hide",
"loc": [
[
9,
1
]
],
"remove": true,
"time": 0
}
]
}
]
},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}