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

161 lines
6.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.DP8=
{
"floorId": "DP8",
"title": "龙宫游乐园:8-4",
"name": "8-3",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"cannotViewMap": false,
"cannotMoveDirectly": false,
"images": [],
"ratio": 1,
"defaultGround": "magicground2",
"bgm": "maps5A.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {
"5,6": [
{
"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(\"4BABDF2950A811AF8B27C75D1AA5D168\")\n\tcore.setLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", core.encodeBase64(JSON.stringify([...achievement])))\n}\n}"
},
{
"type": "choices",
"text": "龙宫游戏结束Congratulation.",
"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}-防御力)"
}
]
}
]
}
],
"7,6": [
{
"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(\"1FC895A2B243EFF1F693E6D926C4CCDC\")\n\tcore.setLocalStorage(\"408DA99A231691FD6EAF0117B9991F26\", core.encodeBase64(JSON.stringify([...achievement])))\n}\n}"
},
{
"type": "choices",
"text": "龙宫游戏结束Congratulation.",
"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": [
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142, 0, 0, 0,142,142,142,142,142],
[ 0, 0, 0, 0, 0,481, 0,480, 0, 0, 0, 0, 0],
[142,142,142,142,142, 0, 0, 0,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142]
],
"bgmap": [
],
"fgmap": [
]
}