tianta/project/floors/MT49.js

1200 lines
38 KiB
JavaScript
Raw Normal View History

2022-10-21 23:00:12 +08:00
main.floors.MT49=
{
"floorId": "MT49",
"title": "天塔第 49 层",
"name": "天塔第49层",
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"defaultGround": "ground",
"images": [],
"item_ratio": 1,
"map": [
[345,350,350,350,350,350,350,350,350,350,350,350,351],
[348, 4, 4, 4, 4, 2,367, 2, 89, 2, 2, 4,352],
[348, 4, 4, 4, 4, 2, 0, 31,221, 31, 2, 4,352],
[348, 4, 2, 2, 2, 2, 85, 2, 2,221, 2, 4,352],
[348, 4, 2,165,165,165,165,165, 2, 31, 2, 4,352],
[348, 4, 2,165, 2,165, 2,165, 2,221, 2, 4,352],
[348, 4, 2,165,165,165,165,165, 2, 31, 2, 4,352],
[348, 4, 2, 2,165, 2, 2, 2, 2, 85, 2, 2,352],
[348, 4, 2,165,165,165,165,165,165, 0, 0, 88,352],
[348, 4, 2,165,165,165, 2,165,165,165, 2, 2,352],
[348, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4,352],
[348, 4, 4, 4, 4, 2, 87, 0,367, 2, 4, 4,352],
[349,346,346,346,346,346,346,346,346,346,346,346,347]
],
"firstArrive": [],
"parallelDo": "",
"events": {
"9,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"8,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"7,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"8,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"7,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"6,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"5,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"5,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"4,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"3,9": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"3,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"4,7": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"4,8": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"3,6": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"4,6": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"5,6": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"6,6": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"7,5": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"7,6": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"7,4": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"6,4": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"5,4": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"3,4": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"4,4": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"3,5": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"5,5": [
{
"type": "if",
"condition": "switch:A",
"true": [],
"false": [
{
"type": "setValue",
"name": "flag:49fdeng",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "switch:A",
"value": "1"
},
{
"type": "if",
"condition": "(flag:49fdeng>=26)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
},
{
"type": "openDoor",
"loc": [
9,
7
]
}
]
}
]
}
],
"11,9": {
"trigger": null,
"enable": true,
"noPass": null,
"displayDamage": true,
"opacity": 0.5,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": []
},
"6,1": [
{
"type": "changeFloor",
"floorId": "MT49",
"loc": [
8,
11
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"8,11": [
{
"type": "changeFloor",
"floorId": "MT49",
"loc": [
6,
1
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
]
},
"changeFloor": {
"11,8": {
"floorId": ":before",
"stair": "upFloor"
},
"6,11": {
"floorId": "MT50",
"loc": [
6,
10
]
},
"8,1": {
"floorId": "bishi",
"loc": [
11,
9
],
"direction": "left"
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 4,
"bgmap": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,10255, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,10247, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"fgmap": [
],
"width": 13,
"height": 13,
"autoEvent": {},
"upFloor": [
7,
11
],
"downFloor": [
10,
8
],
"canFlyFrom": true,
"beforeBattle": {},
"cannotMoveIn": {}
}