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

152 lines
5.6 KiB
JavaScript

main.floors.MT37=
{
"floorId": "MT37",
"title": "天塔第 37 层",
"name": "天塔第37层",
"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, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 2, 2, 2, 2, 2, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 31, 81, 81, 2, 87, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 31, 2, 81, 32, 0, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 31, 2, 2,221, 2, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 0, 21, 0, 0,125, 2, 4, 4,352, 0],
[ 0,348, 2, 2, 2, 2, 2,221, 2, 2, 2, 2, 2,352, 0],
[ 0,348, 88, 0, 0, 2, 0, 27, 0, 2, 0, 0, 22,352, 0],
[ 0,348,386, 2,384, 2,386, 2,386, 2,384, 2,386,352, 0],
[ 0,348, 31, 2, 0,216, 0, 2, 0,216, 0, 2, 31,352, 0],
[ 0,348,384, 81,384, 2, 32, 2, 32, 2,384, 81,384,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": {
"9,6": [
{
"type": "if",
"condition": "(flag:221==1)",
"true": [
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "if",
"condition": "(flag:37==1)",
"true": [
{
"type": "showImage2",
"code": 1,
"image": "npcnan.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[联盟老头]腐翼最近是出了名的安静,大概是受挫了吧。不过能让腐翼受挫的家伙......看来也不是个省油的灯啊,哈哈哈...........",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"false": [
{
"type": "showImage2",
"code": 2,
"image": "npcnan.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[联盟老头]腐翼最近是出了名的安静,大概是受挫了吧。不过能让腐翼受挫的家伙......看来也不是个省油的灯啊,哈哈哈...........",
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:37",
"value": "1"
},
{
"type": "setValue",
"name": "flag:juqing",
"operator": "+=",
"value": "1"
}
]
}
]
}
]
},
"changeFloor": {
"2,8": {
"floorId": "MT36",
"loc": [
3,
8
]
},
"9,3": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 8,
"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,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, 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]
],
"fgmap": [
],
"width": 15,
"height": 15,
"autoEvent": {},
"upFloor": [
9,
4
],
"downFloor": [
3,
8
],
"canFlyFrom": true,
"beforeBattle": {},
"cannotMoveIn": {}
}