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

274 lines
11 KiB
JavaScript

main.floors.MT31=
{
"floorId": "MT31",
"title": "星趴·梦想号:31F",
"name": "第 31 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 0, 0, 21, 21, 1, 88, 1, 0, 0, 31,1009,330],
[330,224, 0, 21, 21, 1, 0, 1,225, 0, 0, 0,330],
[330, 0,225, 1, 1, 1, 0, 1, 81, 1, 0,212,330],
[330, 0, 0, 81, 22, 1, 0, 1,402, 1,212, 0,330],
[330, 81, 1, 1, 1, 1, 0, 1, 1, 1, 1, 81,330],
[330, 0,212, 0, 0, 0, 0, 0, 0, 0,212, 0,330],
[330, 81, 1, 1, 1, 1, 0, 1, 1, 1, 1, 81,330],
[330, 0,212, 1,412, 1,214, 1, 32, 81, 0, 0,330],
[330,212, 0, 1, 81, 1,214, 1, 1, 1,216, 0,330],
[330, 0, 0, 0,227, 1, 0, 1, 21, 21, 0,216,330],
[330,122, 31, 0, 0, 1, 87, 1, 21, 21, 0, 0,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 4,
"defaultGround": "ground",
"bgm": "maps.mp3",
"firstArrive": [
{
"type": "setValue",
"name": "flag:ratio",
"operator": "+=",
"value": "1"
}
],
"eachArrive": [],
"parallelDo": "",
"events": {
"1,11": [
{
"type": "if",
"condition": "switch:A",
"true": [
{
"type": "if",
"condition": "core.hasItem(\"BankcardU2\")",
"true": [
"\t[商人,woman]0楼有一个幸运金币 拥有它在打败敌人后能获得4倍的星币"
],
"false": [
"\t[商人,woman]0楼有一个幸运金币 拥有它在打败敌人后能获得2倍的星币"
]
},
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "choices",
"text": "\t[商人,women]我1000星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙和${core.hasItem(\"Backpack\") ?8:4}把黄钥匙,你买吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=1000",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1000"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
}
]
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
}
]
},
{
"text": "使用3星光支付",
"need": "flags.star.level>2",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level-=3\n}"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
]
}
],
"11,1": [
{
"type": "if",
"condition": "((flags.MapStatus?.Hard===\"噩梦\")||(flags.MapStatus?.Hard===\"疯狂\"))",
"true": [
{
"type": "text",
"text": "\t[茉莉]\f[Jasmine_Full.png,0,190,200,250]滴滴……检测完成!主人请注意,九点钟方向有着攻击力数值异常高的怪物“双手剑士”!",
"pos": [
96,
80,
250
]
},
{
"type": "text",
"text": "\t[茉莉]\f[Jasmine_Full.png,0,190,200,250]假设:他带有“坚固”属性,而主人却没能获得额外攻击的手段……您打算如何解决呢?",
"pos": [
96,
80,
250
]
}
],
"false": [
{
"type": "text",
"text": "\t[茉莉]\f[Jasmine_Full.png,0,190,200,250]滴滴……检测完成!主人请注意,九点钟方向有着攻击力数值异常高的怪物“双手剑士”!",
"pos": [
96,
80,
270
]
},
{
"type": "text",
"text": "\t[茉莉]\f[Jasmine_Full.png,0,190,200,250]贸然与其战斗,会因受到大量伤害挂掉的~",
"pos": [
96,
100,
270
]
},
{
"type": "text",
"text": "\t[茉莉]\f[Jasmine_Full.png,0,190,200,250]在能够对他一击必杀之前,最好避免和“双手剑士”发生战斗哦~",
"pos": [
96,
100,
270
]
}
]
},
{
"type": "hide",
"remove": true,
"time": 200
}
]
},
"changeFloor": {
"6,1": {
"floorId": ":before",
"stair": "upFloor"
},
"6,11": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"fgmap": [
],
"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]
],
"upFloor": [
6,
10
],
"downFloor": [
6,
2
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}