214 lines
8.2 KiB
JavaScript
214 lines
8.2 KiB
JavaScript
main.floors.MT15=
|
||
{
|
||
"floorId": "MT15",
|
||
"title": "星趴·梦想号:15F",
|
||
"name": "第 15 层",
|
||
"width": 13,
|
||
"height": 13,
|
||
"map": [
|
||
[330,330,330,330,330,330,330,330,330,330,330,330,330],
|
||
[330,411,214, 0, 81, 0, 87, 0, 0, 0, 0, 0,330],
|
||
[330,213, 0, 0, 1, 0, 0, 0, 1, 0, 0,203,330],
|
||
[330, 0, 0,203, 1, 1, 85, 1, 1, 1, 1, 81,330],
|
||
[330, 81, 1, 1, 1, 0, 0, 0, 1,206, 0, 0,330],
|
||
[330, 0, 1, 21, 1,181,182,183, 1, 0,206, 0,330],
|
||
[330, 0, 1, 22, 1,184,185,186, 1, 81, 1,218,330],
|
||
[330,203, 1, 21, 1,187,258,188, 1, 0, 1, 0,330],
|
||
[330, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 32,330],
|
||
[330, 0, 81, 0, 1, 1, 0, 1, 1, 81, 1, 1,330],
|
||
[330,206, 1,206, 1, 0, 0, 0, 1, 0,205, 0,330],
|
||
[330, 0,218, 0, 1, 0, 88, 0, 81,205, 0,122,330],
|
||
[330,330,330,330,330,330,330,330,330,330,330,330,330]
|
||
],
|
||
"canFlyTo": true,
|
||
"canFlyFrom": true,
|
||
"canUseQuickShop": true,
|
||
"images": [],
|
||
"ratio": 2,
|
||
"defaultGround": "ground",
|
||
"bgm": "maps.mp3",
|
||
"firstArrive": null,
|
||
"eachArrive": [],
|
||
"parallelDo": "",
|
||
"events": {
|
||
"11,11": [
|
||
{
|
||
"type": "if",
|
||
"condition": "switch:A",
|
||
"true": [
|
||
{
|
||
"type": "if",
|
||
"condition": "(flags.MapStatus?.Hard===\"疯狂\")",
|
||
"true": [
|
||
"\t[商人,woman]你需要依靠16楼和17楼的战斗筹码来击败吸血鬼,可惜十字架变成百宝袋了"
|
||
],
|
||
"false": [
|
||
"\t[商人,woman]如果你拥有十字架,在对战丧尸和吸血鬼的时候攻击力翻倍。没有十字架的时候很难打倒他们,特别是吸血鬼。十字架藏在更高的楼层。"
|
||
]
|
||
},
|
||
{
|
||
"type": "hide",
|
||
"remove": true
|
||
}
|
||
],
|
||
"false": [
|
||
{
|
||
"type": "choices",
|
||
"text": "\t[商人,woman]我200星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙,你买吗?",
|
||
"choices": [
|
||
{
|
||
"text": "我太需要了",
|
||
"need": "status:money>=200",
|
||
"action": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "status:money",
|
||
"operator": "-=",
|
||
"value": "200"
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:blueKey",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "core.hasItem(\"Backpack\")",
|
||
"true": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:blueKey",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:A",
|
||
"value": "true"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "使用1星光支付",
|
||
"need": "flags.star.level>0",
|
||
"condition": "item:FriendshipBadge&&!switch:B",
|
||
"action": [
|
||
{
|
||
"type": "function",
|
||
"function": "function(){\nflags.star.level--\n}"
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:blueKey",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "core.hasItem(\"Backpack\")",
|
||
"true": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:blueKey",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:B",
|
||
"value": "true"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "离开",
|
||
"action": []
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"changeFloor": {
|
||
"6,11": {
|
||
"floorId": ":before",
|
||
"stair": "upFloor"
|
||
},
|
||
"6,1": {
|
||
"floorId": ":next",
|
||
"stair": "downFloor"
|
||
}
|
||
},
|
||
"afterBattle": {
|
||
"6,7": [
|
||
{
|
||
"type": "if",
|
||
"condition": "(!switch:A)",
|
||
"true": [
|
||
{
|
||
"type": "setBlock",
|
||
"number": "47",
|
||
"loc": [
|
||
[
|
||
6,
|
||
4
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
3
|
||
]
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:A",
|
||
"value": "true"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"afterGetItem": {},
|
||
"afterOpenDoor": {},
|
||
"cannotMove": {},
|
||
"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]
|
||
],
|
||
"fgmap": [
|
||
|
||
],
|
||
"upFloor": [
|
||
6,
|
||
2
|
||
],
|
||
"downFloor": [
|
||
6,
|
||
10
|
||
],
|
||
"autoEvent": {},
|
||
"beforeBattle": {},
|
||
"cannotMoveIn": {},
|
||
"bg2map": [],
|
||
"fg2map": []
|
||
} |