yimengjiutian/project/floors/BOSS7.js

556 lines
16 KiB
JavaScript
Raw Normal View History

2023-06-07 04:06:48 +08:00
main.floors.BOSS7=
{
"floorId": "BOSS7",
"title": "人生分叉口",
"name": "人生分叉口",
2023-06-07 04:06:48 +08:00
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
2023-06-07 04:06:48 +08:00
"cannotViewMap": false,
"images": [
{
"name": "8.jpg",
"reverse": ":o",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "feng.mp3",
"firstArrive": [
{
"type": "if",
"condition": "(flag:hard<3)",
"true": [
"我们活在当下,却不断畅享未来。",
"但没人知道,自己的未来究竟在何方。",
"我们只有不断的探索,回首过去,展望未来。也许明天会更好,也许明天会被直接毁灭。",
"但是,请相信。自己的命运由自己主宰,自己的未来由自己创造。",
"回首过去,我做过很多错事。但一路走来,我从未想过放弃。",
"过去埋下的一颗颗种子,终有一天会生根发芽,开花结果。",
"在人的一生中最为辉煌的一天,并不是功成名就那一天,而是从悲叹和绝望中产生对人生挑战的欲望,并且勇敢迈向这种挑战的那一天。",
"这不是终结,而是一个新的开始!",
{
"type": "setCurtain",
"time": 1000
},
{
"type": "showStatusBar"
}
]
}
],
2023-06-07 04:06:48 +08:00
"eachArrive": [],
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}",
"events": {},
"changeFloor": {},
"beforeBattle": {
"6,7": [
{
"type": "if",
"condition": "(flag:hard<3)",
"true": [
{
"type": "animate",
"name": "thunder",
"loc": "hero"
},
{
"type": "animate",
"name": "banbaozha",
"loc": "hero"
},
{
"type": "animate",
"name": "amiya6"
},
{
"type": "animate",
"name": "amiya6"
},
{
"type": "animate",
"name": "amiya6"
},
{
"type": "animate",
"name": "thunder4",
"async": true
},
{
"type": "vibrate",
"direction": "horizontal",
"time": 2000,
"speed": 10,
"power": 10
},
{
"type": "animate",
"name": "thunder4",
"async": true
},
{
"type": "vibrate",
"direction": "vertical",
"time": 2000,
"speed": 10,
"power": 10
},
{
"type": "animate",
"name": "lanlei",
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
3,
3
],
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
6,
6
],
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
9,
9
],
"async": true
},
{
"type": "vibrate",
"direction": "horizontal",
"time": 2000,
"speed": 10,
"power": 10
},
{
"type": "animate",
"name": "lanlei",
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
3,
9
],
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
6,
6
],
"async": true
},
{
"type": "animate",
"name": "banbaozha",
"loc": [
9,
3
],
"async": true
},
{
"type": "vibrate",
"direction": "horizontal",
"time": 2000,
"speed": 10,
"power": 10
},
{
"type": "animate",
"name": "lanlei"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "shengdun"
},
{
"type": "animate",
"name": "light"
},
{
"type": "animate",
"name": "dazhaofadong"
},
{
"type": "animate",
"name": "fire4"
},
{
"type": "if",
"condition": "(flag:hard===1)",
"true": [
{
"type": "if",
"condition": "(status:hp<481740000)",
"true": [
{
"type": "changeFloor",
"floorId": "JQ50",
"loc": [
7,
8
],
"direction": "up"
}
]
}
]
}
]
}
]
},
"afterBattle": {
"6,7": [
{
"type": "hide",
"loc": [
[
5,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
7,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
4,
3
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
5,
4
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
4,
4
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
4
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
7,
4
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
4
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
5
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
7,
5
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
5
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
5,
5
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
4,
5
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
4,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
4,
7
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
5,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
5,
7
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
6,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
7,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
7,
7
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
8,
7
]
],
"remove": true
},
{
"type": "if",
"condition": "(flag:hard===3)",
"true": [
{
"type": "changeFloor",
"floorId": "JQ51",
"loc": [
6,
12
],
"direction": "up"
}
],
"false": [
{
"type": "hideStatusBar"
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 3000,
"keep": true
},
"我的未来,我也不知道会咋样...",
"但是,我会珍惜现在的每一刻,踏踏实实的做好自己,逐梦九天!",
{
"type": "changeFloor",
"floorId": "JQ49",
"loc": [
6,
8
],
"direction": "up"
}
]
}
]
},
2023-06-07 04:06:48 +08:00
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"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,830,831,832,833, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,834,835,836,837, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,838,839,840,841, 0, 0, 0, 0],
[ 0, 0, 0, 0,842,843,844,845,846, 0, 0, 0, 0],
[ 0, 0, 0, 0,847,848,829,849,850, 0, 0, 0, 0],
[ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17],
[ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17],
[ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17],
[ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17],
[ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17]
2023-06-07 04:06:48 +08:00
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}