yimengjiutian/project/floors/BOSS6.js

236 lines
7.9 KiB
JavaScript
Raw Normal View History

2023-06-07 04:06:48 +08:00
main.floors.BOSS6=
{
"floorId": "BOSS6",
"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": "heidong2.jpg",
2023-06-07 04:06:48 +08:00
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "heidian.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[\"heidong2.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, -180, -180);\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,6": [
{
"type": "if",
"condition": "(flag:hard<3)",
"true": [
{
"type": "animate",
"name": "chanrao",
"loc": "hero"
},
{
"type": "animate",
"name": "blackmagic",
"loc": "hero"
},
{
"type": "jumpHero",
"loc": [
6,
8
],
"time": 500,
"async": true
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "support1",
"loc": "hero"
},
{
"type": "animate",
"name": "wind1"
},
{
"type": "animate",
"name": "hand1"
},
{
"type": "animate",
"name": "heidong3",
"loc": "hero"
},
{
"type": "animate",
"name": "hand1"
},
{
"type": "jumpHero",
"loc": [
6,
7
],
"time": 500,
"async": true
},
{
"type": "animate",
"name": "hand2"
},
{
"type": "waitAsync"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "bigExplosion"
},
{
"type": "animate",
"name": "banbaozha",
"loc": "hero"
},
{
"type": "animate",
"name": "banbaozha",
"loc": "hero"
},
{
"type": "animate",
"name": "explosion"
}
]
}
]
},
"afterBattle": {
"6,6": [
{
"type": "if",
"condition": "(flag:hard===3)",
"true": [
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "3"
},
{
"type": "setValue",
"name": "flag:score",
"value": "item:yellowKey*2+item:blueKey*5+item:redKey*15+item:pickaxe*30"
},
{
"type": "setValue",
"name": "flag:score",
"operator": "max=",
"value": "flag:score*3-180"
},
{
"type": "changeFloor",
"floorId": "MT179",
"loc": [
6,
12
],
"direction": "up"
}
],
"false": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 2000,
"keep": true
},
{
"type": "hideStatusBar"
},
{
"type": "changeFloor",
"floorId": "JQ43",
"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, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 17, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17,810, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}