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

225 lines
9.0 KiB
JavaScript

main.floors.SX5_3=
{
"floorId": "SX5_3",
"title": "水乡古镇:5-3",
"name": "5-3",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"images": [],
"ratio": 1,
"defaultGround": "ground7",
"bgm": "maps3.mp3",
"firstArrive": [
"\t[redKing]来了吗",
"\t[hero]来了",
"\t[redKing]话不多说 速战速决",
"\t[hero]正有此意"
],
"eachArrive": [],
"parallelDo": "",
"events": {
"6,12": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": []
}
},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {
"6,0": [
{
"type": "if",
"condition": "((!core.hasItem(\"coin\"))&&core.hasItem(\"superPotion\"))",
"true": [
"\t[redKing]还有最后一关等着你,加油吧",
{
"type": "setValue",
"name": "item:superPotion",
"operator": "-=",
"value": "1"
},
{
"type": "show",
"loc": [
[
6,
12
]
]
}
],
"false": [
"\t[redKing]恭喜你完成了全部挑战 这是你的称号:星趴高手",
{
"type": "playBgm",
"name": "win.mp3"
},
{
"type": "choices",
"text": "嘛 有失有得嘛",
"choices": [
{
"text": "登记生命值榜单",
"action": [
{
"type": "win",
"reason": "星趴高手(水乡古镇-${flags.MapStatus?.Hard}-生命值)"
}
]
},
{
"text": "登记攻击力榜单",
"action": [
{
"type": "setValue",
"name": "status:hp",
"value": "status:atk",
"norefresh": true
},
{
"type": "win",
"reason": "星趴高手(水乡古镇-${flags.MapStatus?.Hard}-攻击力)"
}
]
},
{
"text": "登记防御力榜单",
"action": [
{
"type": "setValue",
"name": "status:hp",
"value": "status:def",
"norefresh": true
},
{
"type": "win",
"reason": "星趴高手(水乡古镇-${flags.MapStatus?.Hard}-防御力)"
}
]
}
]
}
]
}
],
"6,12": [
{
"type": "playBgm",
"name": "win.mp3"
},
{
"type": "function",
"function": "function(){\nif (!flags.debug) {\n\tconst achievement = new Set(JSON.parse(core.decodeBase64(core.getLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", 'W10='))))\n\tif (core.status.route[6].substring(7) === \"NTVhdjU0dUM=\") achievement.add(\"3A7E94AE93F0947DDC8142FC8797AFFC\")\n\tcore.setLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", core.encodeBase64(JSON.stringify([...achievement])))\n}\n}"
},
{
"type": "choices",
"text": "你就是传说中的星趴大神!",
"choices": [
{
"text": "登记生命值榜单",
"action": [
{
"type": "win",
"reason": "星趴大神(水乡古镇-${flags.MapStatus?.Hard}-生命值)"
}
]
},
{
"text": "登记攻击力榜单",
"action": [
{
"type": "setValue",
"name": "status:hp",
"value": "status:atk",
"norefresh": true
},
{
"type": "win",
"reason": "星趴大神(水乡古镇-${flags.MapStatus?.Hard}-攻击力)"
}
]
},
{
"text": "登记防御力榜单",
"action": [
{
"type": "setValue",
"name": "status:hp",
"value": "status:def",
"norefresh": true
},
{
"type": "win",
"reason": "星趴大神(水乡古镇-${flags.MapStatus?.Hard}-防御力)"
}
]
}
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[140,140,140,140,140,140,249,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[ 0, 0, 0,140,140,140, 0,140,140,140, 0, 0, 0],
[ 0, 0, 0,140,140,140,395,140,140,140, 0, 0, 0]
],
"bgmap": [
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,141, 0, 0, 0, 0, 0, 0],
[141,141,141, 0, 0, 0,141, 0, 0, 0,141,141,141],
[141,141,141, 0, 0, 0,141, 0, 0, 0,141,141,141]
],
"fgmap": [
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[143,143,143, 0, 0, 0, 0, 0, 0, 0,143,143,143],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
]
}