tianta/project/floors/MT45.js
Erdnase bff925f7d3 批量修改(33层以后未手动修改的)绘制立绘showImage为showImage2
showImage2对于反复出现的NPC立绘自动补充loc(位置、大小)
2023-04-13 22:08:16 +08:00

667 lines
18 KiB
JavaScript

main.floors.MT45=
{
"floorId": "MT45",
"title": "天塔第 45 层",
"name": "天塔第45层",
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"defaultGround": "ground",
"images": [],
"item_ratio": 1,
"map": [
[ 0,345,350,350,350,350,350,350,350,350,350,350,350,351, 0],
[ 0,348, 4, 4, 4, 4, 4, 2, 11,421, 2, 4, 4,352, 0],
[ 0,348, 4, 2, 2, 2, 2, 2, 0, 2, 2, 4, 4,352, 0],
[ 0,348, 4, 2, 2,417, 2,418, 11, 2, 2, 2, 2,352, 0],
[ 0,348, 4, 2,323, 11, 2, 2, 2, 2,422, 0, 88,352, 0],
[ 0,348, 2, 2, 11, 2,420, 11, 0, 2, 2, 2, 2,352, 0],
[ 0,348,420, 2,419, 2, 2, 2, 11,421, 2,419, 2,352, 0],
[ 0,348, 11, 2, 2, 2,417, 2, 2, 2, 2, 11, 2,352, 0],
[ 0,348, 0, 2, 11, 0, 11, 2, 11,416, 2, 0, 2,352, 0],
[ 0,348, 11, 2,367, 2, 2, 11, 0, 2, 2, 11,367,352, 0],
[ 0,348,416, 2, 2, 4, 2,418, 2,422, 2, 2, 2,352, 0],
[ 0,348, 2, 4, 4, 4, 4, 2, 2, 32, 0, 0, 87,352, 0],
[ 0,349,346,346,346,346,346,346,346,346,346,346,346,347, 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]
],
"firstArrive": [],
"parallelDo": "",
"events": {
"10,4": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
5,
8
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"3,4": [
{
"type": "setBlock",
"number": "34"
},
{
"type": "hide",
"loc": [
[
3,
4
]
],
"remove": true
}
],
"3,2": [
{
"type": "if",
"condition": "(flag:344==1)",
"true": [
{
"type": "setBlock",
"number": "N465"
},
"\t[邵虎]\f[shaohuyilv.png,160,20]..............!!姐...姐姐!!",
"\t[邵怜]小虎........把你的经历送给我.......我给你前\n进的力量.........",
"\t[邵虎]\f[shaohuziya.png,160,20]姐姐..........我好想你.........不要走好吗...",
"\t[邵怜]小虎.......我也想你.........就算只是一点\n点............我也想和你多呆一会..........",
{
"type": "setText",
"position": "center",
"background": "winking.png"
},
"剧情点变成了攻击力和防御力!!",
{
"type": "setText",
"position": "down",
"background": "winking.png"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "flag:juqing"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "flag:juqing"
},
{
"type": "setValue",
"name": "flag:juqing",
"value": "0"
},
"\t[邵虎]\f[shaohuziya.png,160,20]姐姐........谢谢你...........",
{
"type": "move",
"time": 500,
"keep": true,
"steps": [
"up:1"
]
},
{
"type": "hide",
"loc": [
[
3,
1
]
],
"remove": true
}
],
"false": []
}
],
"1,1": [
{
"type": "pauseBgm"
},
{
"type": "playBgm",
"name": "leng.mp3",
"keep": true
},
{
"type": "showImage2",
"code": 1,
"image": "shaohuliuhan.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]...................",
"\t[邵虎]刚才真的好险......不过我的血还够抗下刚才那一\n击.......",
"\t[邵虎].........如果再来一次......恐怕就没那么好受\n了吧...........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage2",
"code": 1,
"image": "shaohusikao.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]媚骑士么..........",
"\t[邵虎]果然......联盟的骑士都不简单啊......",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"4,9": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"6,7": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
8,
2
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"7,3": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
4,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"4,6": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
2,
8
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"2,6": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
8,
5
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"9,6": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
11,
8
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"12,9": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
8,
9
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"9,8": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
9,
10
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"9,10": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"11,6": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"7,10": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"2,10": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"6,5": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"5,3": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
],
"9,1": [
{
"type": "changeFloor",
"floorId": "MT45",
"loc": [
10,
4
]
},
{
"type": "playSound",
"name": "020-Teleport03.mp3"
},
{
"type": "animate",
"name": "STshengfa",
"loc": "hero",
"async": true
},
{
"type": "sleep",
"time": 40
},
{
"type": "waitAsync",
"excludeAnimates": true
}
]
},
"changeFloor": {
"12,4": {
"floorId": ":before",
"stair": "upFloor"
},
"12,11": {
"floorId": ":next",
"stair": "downFloor"
}
},
"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, 4, 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, 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,10247, 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]
],
"fgmap": [
],
"width": 15,
"height": 15,
"autoEvent": {
"12,9": {
"0": null,
"1": null,
"2": null
}
},
"downFloor": [
11,
4
],
"upFloor": [
11,
11
],
"canFlyFrom": true,
"beforeBattle": {},
"cannotMoveIn": {
"2,1": [
"down"
]
}
}