yimengjiutian/project/floors/ND1.js

248 lines
11 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.ND1=
{
"floorId": "ND1",
"title": "难度选择",
"name": "0",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"cannotViewMap": true,
"images": [
{
"name": "bg.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "bewithyou.mp3",
"firstArrive": [
{
"type": "trigger",
"loc": [
11,
11
]
}
],
"eachArrive": [],
"parallelDo": "",
"events": {
"11,11": [
{
"type": "choices",
"text": "请选择游戏模式",
"choices": [
{
"text": "休闲模式",
"color": [
151,
230,
8,
1
],
"action": [
"休闲模式带有剧情且难度不算太大,\n讲述了主角从出生到大学毕业的时光\n跟随主角去探寻人生中的酸甜苦辣。\n拥有百分之五减伤并且让oi篇debuff减弱。适合广大休闲玩家游玩。\n最终计分方式为钥匙计分。",
{
"type": "confirm",
"text": "确认要选择休闲模式吗?",
"yes": [
{
"type": "setValue",
"name": "flag:hard",
"value": "1"
},
{
"type": "function",
"function": "function(){\ncore.status.hard = 'Easy';\nflags.__hardColor__ = 'green'\n//core.setGlobalAttribute(\"borderColor\", \"#8ee877\");\ncore.setGlobalAttribute(\"statusLeftBackground\", \"url(project/images/641-e.jpg)0% 0%/auto 100% repeat\");\ncore.setGlobalAttribute(\"statusTopBackground\", \"url(project/images/641-ee.jpg)0% 60%/ 100% repeat\");\n}"
},
{
"type": "break",
"n": 1
}
],
"no": []
}
]
},
{
"text": "普通模式",
"color": [
255,
255,
0,
1
],
"action": [
"普通模式难度适中,剧情不变。\n讲述了主角从出生到大学毕业的时光跟随主角去探寻人生中的酸甜苦辣。\n最终计分方式为钥匙计分。",
{
"type": "confirm",
"text": "确认要选择普通模式吗?",
"yes": [
{
"type": "setValue",
"name": "flag:hard",
"value": "2"
},
{
"type": "function",
"function": "function(){\ncore.status.hard = 'Normal';\nflags.__hardColor__ = 'yellow'\n//core.setGlobalAttribute(\"borderColor\", \"#8ee877\");\ncore.setGlobalAttribute(\"statusLeftBackground\", \"url(project/images/641-h.jpg)40% 0%/auto 100% repeat\");\ncore.setGlobalAttribute(\"statusTopBackground\", \"url(project/images/641-h.jpg)0% 70%/ 100% repeat\");\n}"
},
{
"type": "break",
"n": 1
}
],
"no": []
}
]
},
{
"text": "挑战模式",
"color": [
255,
0,
0,
1
],
"action": [
"挑战模式去掉全部剧情,提升转换效率。\n难度更高没有破墙镐存在。\n适合喜欢冲榜的玩家优化路线刷max。\n本塔要知道前因后果需要打前面两个难度之后再来体验挑战模式效果更佳。\n计分方式为钥匙计分。",
{
"type": "confirm",
"text": "确认要选择挑战模式吗?",
"yes": [
{
"type": "setValue",
"name": "flag:hard",
"value": "3"
},
{
"type": "function",
"function": "function(){\ncore.status.hard = 'Hard';\n//core.setGlobalAttribute(\"borderColor\", \"#ea7888\");\ncore.setGlobalAttribute(\"statusLeftBackground\", \"url(project/images/641-h.jpg)40% 0%/auto 100% repeat\");\ncore.setGlobalAttribute(\"statusTopBackground\", \"url(project/images/641-h.jpg)0% 70%/ 100% repeat\");\n}"
},
{
"type": "hide",
"loc": [
[
3,
5
]
],
"floorId": "MT56",
"remove": true
},
{
"type": "hide",
"loc": [
[
12,
7
]
],
"floorId": "MT96",
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
9
]
],
"floorId": "MT110",
"remove": true
},
{
"type": "hide",
"loc": [
[
5,
7
]
],
"floorId": "MT143",
"remove": true
},
{
"type": "hide",
"loc": [
[
12,
2
]
],
"floorId": "MT158",
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
2
]
],
"floorId": "MT165",
"remove": true
},
{
"type": "break",
"n": 1
}
],
"no": []
}
]
}
]
}
]
},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {
"11,11": {
"0": null,
"1": null,
"2": null,
"3": null
}
},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 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, 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]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}