From c88fd32f008466f0e992414af5721243e9eddfc0 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Mon, 10 Jul 2023 00:27:09 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=81=93=E5=85=B7bug=E3=80=82=E8=8B=A5=E6=97=A0bug=E5=8D=B3?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/data.js | 8 +- project/enemys.js | 12 +- project/floors/BOSS2.js | 353 +++++++----- project/floors/BOSS3.js | 261 +++++---- project/floors/BOSS4.js | 1211 +++++++++++++++++++++------------------ project/floors/BOSS5.js | 346 ++++++----- project/floors/BOSS6.js | 274 +++++---- project/floors/BOSS7.js | 428 ++++++++------ project/floors/JQ11.js | 7 +- project/floors/JQ15.js | 2 +- project/floors/JQ19.js | 6 +- project/floors/JQ20.js | 2 +- project/floors/JQ21.js | 2 +- project/floors/JQ26.js | 4 +- project/floors/JQ27.js | 6 +- project/floors/JQ28.js | 15 +- project/floors/JQ29.js | 12 +- project/floors/JQ30.js | 6 +- project/floors/JQ32.js | 4 +- project/floors/JQ33.js | 2 +- project/floors/JQ35.js | 12 +- project/floors/JQ36.js | 8 +- project/floors/JQ37.js | 4 +- project/floors/JQ38.js | 8 +- project/floors/JQ39.js | 14 +- project/floors/JQ41.js | 4 +- project/floors/JQ42.js | 2 +- project/floors/JQ43.js | 2 +- project/floors/JQ44.js | 2 +- project/floors/JQ46.js | 14 +- project/floors/JQ47.js | 8 +- project/floors/JQ48.js | 14 +- project/floors/JQ5.js | 2 +- project/floors/JQ50.js | 17 +- project/floors/JQ51.js | 129 ++++- project/floors/JQ7.js | 3 +- project/floors/MT0.js | 985 +------------------------------ project/floors/MT1.js | 73 ++- project/floors/MT10.js | 53 +- project/floors/MT105.js | 75 ++- project/floors/MT12.js | 52 +- project/floors/MT120.js | 50 +- project/floors/MT121.js | 5 + project/floors/MT124.js | 3 +- project/floors/MT132.js | 61 +- project/floors/MT144.js | 61 +- project/floors/MT153.js | 57 +- project/floors/MT156.js | 15 +- project/floors/MT158.js | 68 ++- project/floors/MT160.js | 15 +- project/floors/MT163.js | 76 ++- project/floors/MT17.js | 52 +- project/floors/MT179.js | 47 +- project/floors/MT180.js | 42 +- project/floors/MT181.js | 42 +- project/floors/MT182.js | 42 +- project/floors/MT183.js | 85 +-- project/floors/MT184.js | 79 ++- project/floors/MT2.js | 61 +- project/floors/MT22.js | 52 +- project/floors/MT26.js | 3 +- project/floors/MT3.js | 54 +- project/floors/MT32.js | 75 ++- project/floors/MT33.js | 475 ++++++++------- project/floors/MT34.js | 56 +- project/floors/MT42.js | 52 +- project/floors/MT44.js | 101 ++-- project/floors/MT45.js | 164 ++++-- project/floors/MT50.js | 66 ++- project/floors/MT51.js | 50 +- project/floors/MT52.js | 3 +- project/floors/MT58.js | 53 +- project/floors/MT6.js | 50 +- project/floors/MT60.js | 57 +- project/floors/MT61.js | 4 + project/floors/MT68.js | 57 +- project/floors/MT76.js | 78 ++- project/floors/MT87.js | 69 ++- project/floors/MT95.js | 57 +- project/floors/MT96.js | 22 +- project/floors/ND1.js | 72 ++- project/functions.js | 67 ++- project/items.js | 33 +- project/maps.js | 6 +- 84 files changed, 3723 insertions(+), 3356 deletions(-) diff --git a/project/data.js b/project/data.js index 589baf2..244b599 100644 --- a/project/data.js +++ b/project/data.js @@ -75,9 +75,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT56", "MT57", "MT58", - "BOSS2", "JQ14", "JQ15", + "BOSS2", "MT59", "MT60", "JQ16", @@ -109,8 +109,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT84", "MT85", "MT86", - "BOSS3", "MT87", + "BOSS3", "JQ19", "JQ20", "JQ21", @@ -1176,7 +1176,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = }, { "id": "shop2", - "text": "\t[梦境商店,moneyShop]梦境终究要醒,梦想由自己实现!51时空碎片你可以:", + "text": "\t[梦境商店,expShop]梦境终究要醒,梦想由自己实现!51时空碎片你可以:", "textInList": "梦境商店", "mustEnable": false, "disablePreview": false, @@ -2251,7 +2251,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "purify": null, "hatred": null, "animateSpeed": 300, - "moveSpeed": 120, + "moveSpeed": 100, "statusCanvasRowsOnMobile": 3, "floorChangeTime": 0 }, diff --git a/project/enemys.js b/project/enemys.js index 35ec986..1e727df 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -93,7 +93,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E352": {"name":"说话的接触","hp":150,"atk":51,"def":5,"money":0,"exp":1,"point":0,"special":[]}, "E353": {"name":"不明的难受","hp":140,"atk":45,"def":5,"money":0,"exp":1,"point":0,"special":[]}, "E354": {"name":"被排挤的滋味","hp":800000,"atk":400000,"def":300000,"money":0,"exp":40,"point":0,"special":[]}, - "E355": {"name":"技术选考","hp":200000,"atk":40000,"def":20000,"money":0,"exp":100,"point":0,"special":[]}, + "E355": {"name":"技术选考","hp":200000,"atk":40000,"def":20000,"money":0,"exp":100,"point":0,"special":[],"notBomb":true}, "E356": {"name":"化学选考","hp":200000,"atk":48000,"def":20000,"money":0,"exp":100,"point":0,"special":[1,5],"notBomb":true}, "E357": {"name":"挂科","hp":2000000,"atk":300000,"def":99999,"money":0,"exp":100,"point":0,"special":[],"notBomb":true}, "E358": {"name":"秋招的逼近","hp":6000000,"atk":2000000,"def":700000,"money":0,"exp":60,"point":0,"special":[]}, @@ -112,7 +112,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E461": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E462": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E463": {"name":"下滑的成绩","hp":5000,"atk":2400,"def":1200,"money":0,"exp":9,"point":0,"special":[]}, - "E464": {"name":"新敌人","hp":5200,"atk":2699,"def":1288,"money":0,"exp":9,"point":0,"special":[]}, + "E464": {"name":"难受的处境","hp":5200,"atk":2699,"def":1288,"money":0,"exp":9,"point":0,"special":[]}, "E465": {"name":"频繁的模拟","hp":14000,"atk":6800,"def":3200,"money":0,"exp":10,"point":0,"special":[]}, "E466": {"name":"强烈的自卑","hp":22500,"atk":10000,"def":3750,"money":0,"exp":10,"point":0,"special":[]}, "E467": {"name":"心中的目标","hp":100000,"atk":40000,"def":14000,"money":0,"exp":20,"point":0,"special":[]}, @@ -127,7 +127,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E476": {"name":"无形的压迫","hp":420,"atk":80,"def":80,"money":0,"exp":1,"point":0,"special":[2]}, "E477": {"name":"显现的优点","hp":2000,"atk":170,"def":300,"money":0,"exp":4,"point":0,"special":[2]}, "E478": {"name":"瓶颈","hp":14000,"atk":9000,"def":3050,"money":0,"exp":10,"point":0,"special":[]}, - "E479": {"name":"新敌人","hp":20000,"atk":8888,"def":3288,"money":0,"exp":10,"point":0,"special":[]}, + "E479": {"name":"人之恶意","hp":20000,"atk":8888,"def":3288,"money":0,"exp":10,"point":0,"special":[]}, "E480": {"name":"内心的恐惧","hp":25000,"atk":4000,"def":4000,"money":0,"exp":10,"point":0,"special":[2]}, "E481": {"name":"各方的阻拦","hp":50000,"atk":15000,"def":5000,"money":0,"exp":100,"point":0,"special":[],"notBomb":true}, "E482": {"name":"实习的准备","hp":1800000,"atk":400000,"def":180000,"money":0,"exp":40,"point":0,"special":[]}, @@ -195,7 +195,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E543": {"name":"内心的忧虑","hp":34000,"atk":20000,"def":7500,"money":0,"exp":10,"point":0,"special":[]}, "E544": {"name":"孤注一掷的决心","hp":80000,"atk":30000,"def":12000,"money":0,"exp":10,"point":0,"special":[]}, "E545": {"name":"最初的梦想","hp":3500000,"atk":1670000,"def":550000,"money":0,"exp":60,"point":0,"special":[]}, - "E546": {"name":"新敌人","hp":1600000,"atk":800000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E546": {"name":"不公的对待","hp":1600000,"atk":800000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, "E547": {"name":"资金的担忧","hp":3000000,"atk":1500000,"def":400000,"money":0,"exp":60,"point":0,"special":[]}, "E548": {"name":"若现的迷茫","hp":1000000,"atk":375000,"def":200000,"money":0,"exp":40,"point":0,"special":[]}, "E549": {"name":"紧绷的神经","hp":2500000,"atk":900000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, @@ -206,7 +206,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E608": {"name":"偷懒","hp":5200,"atk":1644,"def":900,"money":0,"exp":8,"point":0,"special":[]}, "E609": {"name":"潜在的压力","hp":8000,"atk":4288,"def":1888,"money":0,"exp":10,"point":0,"special":[]}, "E610": {"name":"心中的梦想","hp":300000,"atk":100000,"def":50000,"money":0,"exp":20,"point":0,"special":[]}, - "E611": {"name":"新敌人","hp":680000,"atk":160000,"def":70000,"money":0,"exp":30,"point":0,"special":[1,4]}, + "E611": {"name":"潜在的不安","hp":680000,"atk":160000,"def":70000,"money":0,"exp":30,"point":0,"special":[1,4]}, "E612": {"name":"下滑的成绩","hp":500000,"atk":140000,"def":60000,"money":0,"exp":30,"point":0,"special":[1]}, "E613": {"name":"能力的不足","hp":1400000,"atk":300000,"def":160000,"money":0,"exp":40,"point":0,"special":[]}, "E614": {"name":"早起的困意","hp":150000,"atk":25000,"def":35000,"money":0,"exp":20,"point":0,"special":[2]}, @@ -266,7 +266,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E820": {"name":"执念","hp":100000,"atk":50000,"def":12000,"money":0,"exp":20,"point":0,"special":[]}, "E821": {"name":"单人试场的前兆","hp":100000,"atk":45000,"def":30000,"money":0,"exp":20,"point":0,"special":[]}, "E828": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E829": {"name":"未知的未来","hp":102400000,"atk":8000000,"def":2000000,"money":0,"exp":0,"point":0,"special":[19]}, + "E829": {"name":"未知的未来","hp":102400000,"atk":8000000,"def":2000000,"money":0,"exp":0,"point":0,"special":[19],"notBomb":true}, "E918": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E919": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E920": {"name":"苦","hp":12000000,"atk":3000000,"def":1500000,"money":0,"exp":100,"point":0,"special":[]}, diff --git a/project/floors/BOSS2.js b/project/floors/BOSS2.js index a956787..f2e1e86 100644 --- a/project/floors/BOSS2.js +++ b/project/floors/BOSS2.js @@ -22,72 +22,99 @@ main.floors.BOSS2= "bgm": "heidian.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 3000 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "*=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "10" + }, + "攻防血翻十倍。" ], - "time": 2000, - "times": 1 - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 3000, - "keep": true - }, - "小学时期,是一个人价值观的启蒙时期。这段时间我并没有准确的是非判断能力。", - "因此,我做了很多错事,给父母老师填了好多麻烦,我受尽了无数人的冷眼相对。", - "我曾被差点劝退留级,也因连续拨打骚扰电话让父母受到了罚款,让我的老师一度不想管我。", - "这时候没人会认为我会有出息,我走到哪里都不受欢迎。让老师不想教我,让同学反感以至于他们家长多次找老师处理我。习惯也不好,说啥也不听总是丢三落四个人卫生一团遭。", - "但是,天无绝人之路,上帝给我关上了无数门,但却为我敞开了竞赛的大门,让我找到了自己的目标,有了自己的电脑梦想。", - { - "type": "setValue", - "name": "status:atk", - "operator": "*=", - "value": "10" - }, - "我无法奢求太多,但有肯为我付出一切的父母,我就已经很满足了。", - "当你犯错时,必须要承受它所带来的代价。当错误积攒到一定程度时,如果无法承受错误的代价,那么等待自己的怕是只有灭亡。", - "一些错误的时期的代价,往往是我难以承受的,幸运的是我父母愿意与我一起承担我所犯的错误。", - "老师的方案,同学家长的恶意,梦想的成型,这些都离不开我父母的推动。", - { - "type": "setValue", - "name": "status:def", - "operator": "*=", - "value": "10" - }, - "为了弥补我小学时期习惯带来的恶果,我父母甚至愿意用尽大力气买了一套学区房,让我接受更好的教育。", - "我很庆幸,我真不知道如果没人支持我,就连父母也反感我的话,我会成什么样。", - "当年,我连一句感谢的话都没说,但现在,我想对我父母说,谢谢...", - { - "type": "setValue", - "name": "status:hp", - "operator": "*=", - "value": "10" - }, - { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "showStatusBar" - }, - { - "type": "animate", - "name": "shengdun", - "loc": "hero" + "false": [ + { + "type": "setCurtain", + "time": 3000 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1 + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 3000, + "keep": true + }, + "小学时期,是一个人价值观的启蒙时期。这段时间我并没有准确的是非判断能力。", + "因此,我做了很多错事,给父母老师填了好多麻烦,我受尽了无数人的冷眼相对。", + "我曾被差点劝退留级,也因连续拨打骚扰电话让父母受到了罚款,让我的老师一度不想管我。", + "这时候没人会认为我会有出息,我走到哪里都不受欢迎。让老师不想教我,让同学反感以至于他们家长多次找老师处理我。习惯也不好,说啥也不听总是丢三落四个人卫生一团遭。", + "但是,天无绝人之路,上帝给我关上了无数门,但却为我敞开了竞赛的大门,让我找到了自己的目标,有了自己的电脑梦想。", + { + "type": "setValue", + "name": "status:atk", + "operator": "*=", + "value": "10" + }, + "我无法奢求太多,但有肯为我付出一切的父母,我就已经很满足了。", + "当你犯错时,必须要承受它所带来的代价。当错误积攒到一定程度时,如果无法承受错误的代价,那么等待自己的怕是只有灭亡。", + "一些错误的时期的代价,往往是我难以承受的,幸运的是我父母愿意与我一起承担我所犯的错误。", + "老师的方案,同学家长的恶意,梦想的成型,这些都离不开我父母的推动。", + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "10" + }, + "为了弥补我小学时期习惯带来的恶果,我父母甚至愿意用尽大力气买了一套学区房,让我接受更好的教育。", + "我很庆幸,我真不知道如果没人支持我,就连父母也反感我的话,我会成什么样。", + "当年,我连一句感谢的话都没说,但现在,我想对我父母说,谢谢...", + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "10" + }, + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "showStatusBar" + }, + { + "type": "animate", + "name": "shengdun", + "loc": "hero" + } + ] } ], "eachArrive": [], @@ -97,90 +124,132 @@ main.floors.BOSS2= "beforeBattle": { "6,2": [ { - "type": "animate", - "name": "skill2", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "animate", - "name": "boss8" - }, - { - "type": "animate", - "name": "fire2" - }, - { - "type": "animate", - "name": "fire2" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "animate", - "name": "bigExplosion" - }, - { - "type": "animate", - "name": "explosion" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "animate", + "name": "skill2", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "animate", + "name": "boss8" + }, + { + "type": "animate", + "name": "fire2" + }, + { + "type": "animate", + "name": "fire2" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "animate", + "name": "bigExplosion" + }, + { + "type": "animate", + "name": "explosion" + } + ] } ] }, "afterBattle": { "6,2": [ { - "type": "setValue", - "name": "status:hp", - "operator": "/=", - "value": "10" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "/=", - "value": "10" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "/=", - "value": "10" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "10" + }, + { + "type": "changeFloor", + "floorId": "MT59", + "loc": [ + 6, + 11 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - "经过努力,最终我们家成功的把学区房买下。而我也即将迎来小学最后一个学期。", - { - "type": "changeFloor", - "floorId": "MT59", - "loc": [ - 6, - 11 + "false": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "10" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "经过努力,最终我们家成功的把学区房买下。而我也即将迎来小学最后一个学期。", + { + "type": "changeFloor", + "floorId": "MT59", + "loc": [ + 6, + 11 + ], + "direction": "up" + } ] } ] diff --git a/project/floors/BOSS3.js b/project/floors/BOSS3.js index b9b3b26..fcedb26 100644 --- a/project/floors/BOSS3.js +++ b/project/floors/BOSS3.js @@ -15,40 +15,46 @@ main.floors.BOSS3= "bgm": "heidian.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 3000, - "times": 1 - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "keep": true - }, - "绍兴一中的特长生考试终于到来了。虽然略有一丝紧张,但我知道这次必能成功。", - "学习了这么久的电脑,一对一花了这么多钱,要是拿不出成绩,那么我也太没用了点吧。", - "这一次,一切由我主宰!", - { - "type": "showStatusBar" - }, - { - "type": "setCurtain", - "time": 2000 + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 3000, + "times": 1 + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "keep": true + }, + "绍兴一中的特长生考试终于到来了。虽然略有一丝恐慌,但我知道这次必能成功。", + "学习了这么久的电脑,一对一花了这么多钱,要是拿不出成绩,那么我也太没用了点吧。", + "这一次,一切由我主宰!", + { + "type": "showStatusBar" + }, + { + "type": "setCurtain", + "time": 2000 + } + ] } ], "eachArrive": [], @@ -58,95 +64,118 @@ main.floors.BOSS3= "beforeBattle": { "6,4": [ { - "type": "animate", - "name": "dark", - "loc": "hero" - }, - { - "type": "animate", - "name": "boss", - "loc": "hero" - }, - { - "type": "animate", - "name": "fire2" - }, - { - "type": "animate", - "name": "dun" - }, - { - "type": "animate", - "name": "boss8" - }, - { - "type": "animate", - "name": "boss", - "loc": "hero" - }, - { - "type": "animate", - "name": "baofa", - "loc": "hero" - }, - { - "type": "animate", - "name": "sword4" - }, - { - "type": "animate", - "name": "thunder" - }, - { - "type": "animate", - "name": "thunder3" - }, - { - "type": "animate", - "name": "thunder3" - }, - { - "type": "animate", - "name": "thunder5" - }, - { - "type": "animate", - "name": "thunder5" - }, - { - "type": "animate", - "name": "sword3" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "animate", + "name": "dark", + "loc": "hero" + }, + { + "type": "animate", + "name": "boss", + "loc": "hero" + }, + { + "type": "animate", + "name": "fire2" + }, + { + "type": "animate", + "name": "dun" + }, + { + "type": "animate", + "name": "boss8" + }, + { + "type": "animate", + "name": "boss", + "loc": "hero" + }, + { + "type": "animate", + "name": "baofa", + "loc": "hero" + }, + { + "type": "animate", + "name": "sword4" + }, + { + "type": "animate", + "name": "thunder" + }, + { + "type": "animate", + "name": "thunder3" + }, + { + "type": "animate", + "name": "thunder3" + }, + { + "type": "animate", + "name": "thunder5" + }, + { + "type": "animate", + "name": "thunder5" + }, + { + "type": "animate", + "name": "sword3" + } + ] } ] }, "afterBattle": { "6,4": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT88", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 2000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ22", - "loc": [ - 0, - 6 - ], - "direction": "right" + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ22", + "loc": [ + 0, + 6 + ], + "direction": "right" + } + ] } ] }, diff --git a/project/floors/BOSS4.js b/project/floors/BOSS4.js index e7ba08b..ded3376 100644 --- a/project/floors/BOSS4.js +++ b/project/floors/BOSS4.js @@ -14,118 +14,148 @@ main.floors.BOSS4= "defaultGround": "ground", "bgm": "guimie.mp3", "firstArrive": [ - { - "type": "setCurtain", - "time": 2000 - }, - { - "type": "animate", - "name": "heidong3", - "loc": "hero", - "async": true - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "sleep", - "time": 2500 - }, - { - "type": "animate", - "name": "hongguang", - "loc": "hero", - "async": true - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2500, - "times": 1 - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "animate", - "name": "morphattack", - "loc": "hero", - "async": true - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2500, - "times": 1 - }, - "我省选已经失败,此时我已经进退两难。拿下noi,签约北大,但noi难度如同一场噩梦。放弃竞赛,安心学习准备高考。摆在我面前的两条路。", - "毫无疑问,这次noi是我最后的机会。胜负皆在一念之间。", - "依稀记得,我父母为了我电脑的这一个兴趣,也不怕我是一时起兴。直接给我安排了,后面还给我准备了一对一家教。", - "过去,我拿了很多奖,但终归无法对我大学起到决定性的作用。要是我选择放弃,那么一切直接前功尽弃。", - "从小时候起,我就处处受到打压,总是被当做问题学生。老师不想教我,同学大多隔应我。", - "我过去经历了太多苦难,好不容易到高中。我以为会改变这种现状,然而我受到了更猛烈的抵制。", - "我仿佛深处一个牢笼中,只能越陷越深无法打破。", - "秋风起,夜渐寒,窗外的冷漠掩盖不了我内心的荒芜,我孤独的灵魂在这漫天飘舞的落叶里无所寄托。", - "每一次失败都让我刻骨铭心,每一次被针对都让我心如刀割。但是,我不喜欢被人压在下面的滋味!我从小到大,我一直想证明自己!想证明自己我不比别人差!", - "他们能做的事,我也能!他们无法完成的事,我会拼尽全力完成!世上无难事,只怕有心人。", - "每一个平常的日子,我们都过得有滋有味,时间的长河滚滚向前,努力,虽然未必会收获,但放弃,就一定一无所获。生活坏到一定程度就会好起来,因为它无法更坏。努力过后,才知道许多事情,坚持坚持,就过来了。", - "做好自己,自己便是最好的,匆匆忙忙辛辛苦苦地走了那么久,坚持了那么久,只要努力不放弃,总会发现,这个世界上,总有一些事情是必须由自己来完成的。", - "曾经跌倒,但从未倒下!因为信念决不屈服!", - "这一次,", - "我的命运", - "一切由我主宰!", - { - "type": "setValue", - "name": "status:atk", - "operator": "*=", - "value": "5" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "*=", - "value": "5" - }, { "type": "if", - "condition": "(flag:hard===1)", + "condition": "(flag:hard===3)", "true": [ { "type": "setValue", - "name": "status:hp", + "name": "status:atk", "operator": "*=", - "value": "5.2" - } - ], - "false": [ + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "5" + }, { "type": "setValue", "name": "status:hp", "operator": "*=", "value": "5" + }, + "攻防血翻五倍。" + ], + "false": [ + { + "type": "setCurtain", + "time": 2000 + }, + { + "type": "animate", + "name": "heidong3", + "loc": "hero", + "async": true + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "sleep", + "time": 2500 + }, + { + "type": "animate", + "name": "hongguang", + "loc": "hero", + "async": true + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2500, + "times": 1 + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "animate", + "name": "morphattack", + "loc": "hero", + "async": true + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2500, + "times": 1 + }, + "省选已经失败,此时已然进退两难,仿佛深处漆黑的深渊之中。摆在我面前的,只有两条路。进则拿下noi,签约北大,但noi难度如同一场噩梦。退则放弃竞赛,安心学习准备高考...", + "毫无疑问,这次noi是我最后的机会。胜负皆在一念之间。", + "依稀记得,我父母为了我电脑的这一个兴趣,也不怕我是一时起兴。直接给我安排了,后面还给我准备了一对一家教。", + "过去,我拿了很多奖,但终归无法对我大学起到决定性的作用。要是我选择放弃,那么一切直接前功尽弃。", + "从小时候起,我就处处受到打压,总是被当做问题学生。老师不想教我,同学大多隔应我。", + "我过去经历了太多苦难,好不容易到高中。我以为会改变这种现状,然而我受到了更猛烈的抵制。", + "我仿佛深处一个牢笼中,只能越陷越深无法打破。", + "秋风起,夜渐寒,窗外的冷漠掩盖不了我内心的荒芜,我孤独的灵魂在这漫天飘舞的落叶里无所寄托。", + "每一次失败都让我刻骨铭心,每一次被针对都让我心如刀割。但是,我不喜欢被人压在下面的滋味!我从小到大,我一直想证明自己!想证明自己我不比别人差!", + "他们能做的事,我也能!他们无法完成的事,我会拼尽全力完成!世上无难事,只怕有心人。", + "每一个平常的日子,我们都过得有滋有味,时间的长河滚滚向前,努力,虽然未必会收获,但放弃,就一定一无所获。生活坏到一定程度就会好起来,因为它无法更坏。努力过后,才知道许多事情,坚持坚持,就过来了。", + "做好自己,自己便是最好的,匆匆忙忙辛辛苦苦地走了那么久,坚持了那么久,只要努力不放弃,总会发现,这个世界上,总有一些事情是必须由自己来完成的。", + "曾经跌倒,但从未倒下!因为信念决不屈服!", + "这一次", + "我的命运", + "一切由我主宰!", + { + "type": "setValue", + "name": "status:atk", + "operator": "*=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "5" + }, + { + "type": "if", + "condition": "(flag:hard==1)", + "true": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "5.2" + } + ], + "false": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "5" + } + ] + }, + { + "type": "animate", + "name": "fire4", + "loc": "hero" + }, + { + "type": "showStatusBar" } ] - }, - { - "type": "animate", - "name": "fire4", - "loc": "hero" } ], "eachArrive": [], @@ -135,499 +165,540 @@ main.floors.BOSS4= "beforeBattle": { "6,2": [ { - "type": "animate", - "name": "dark", - "loc": "hero" - }, - { - "type": "animate", - "name": "baofa", - "loc": "hero" - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1, - "async": true - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "vibrate", - "direction": "diagonal1", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "stopAsync" - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1, - "async": true - }, - { - "type": "vibrate", - "direction": "diagonal2", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "stopAsync" - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1, - "async": true - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "vibrate", - "direction": "vertical", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "stopAsync" - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1, - "async": true - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "vibrate", - "direction": "horizontal", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "stopAsync" - }, - "我一直在努力,我不想认输!", - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 0.4 - ], - "time": 1000 - }, - { - "type": "animate", - "name": "light" - }, - { - "type": "animate", - "name": "thunder5", - "loc": [ - 6, - 4 - ] - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "animate", - "name": "thunder4", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "vibrate", - "direction": "vertical", - "time": 2000, - "speed": 10, - "power": 10 - }, - "世上无难事,只怕有心人!\n我想让那些瞧不起我的人看看,我bdf不是弱者!", - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 0.2 - ], - "time": 1000 - }, - { - "type": "animate", - "name": "hand2", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "hand2", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "baofa", - "loc": "hero" - }, - { - "type": "animate", - "name": "chanrao", - "loc": "hero" - }, - { - "type": "animate", - "name": "darkness01", - "loc": "hero" - }, - { - "type": "animate", - "name": "sword5" - }, - { - "type": "animate", - "name": "darkness01", - "loc": "hero" - }, - "我的命运由我主宰,我的道路我自己决定!", - "没人能阻挡我前进的脚步!", - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 0 - ], - "time": 2000 - }, - { - "type": "animate", - "name": "dun", - "loc": "hero" - }, - { - "type": "animate", - "name": "shengdun", - "loc": "hero" - }, - { - "type": "animate", - "name": "dazhaofadong", - "loc": "hero" - }, - { - "type": "animate", - "name": "banbaozha" - }, - { - "type": "animate", - "name": "heidong3", - "loc": "hero" - }, - { - "type": "animate", - "name": "lanjian", - "loc": [ - 6, - 2 - ] - }, - { - "type": "animate", - "name": "amiya6", - "loc": [ - 6, - 2 - ] - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "omnislash", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "omnislash", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "omnislash", - "loc": "hero" - }, - { - "type": "animate", - "name": "baozha" - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "animate", - "name": "baozha", - "async": true - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "sword1", - "loc": [ - 6, - 4 - ] - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero" - }, - { - "type": "animate", - "name": "baozha" - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "baozha", - "async": true - }, - { - "type": "animate", - "name": "sword1", - "loc": [ - 6, - 4 - ] - }, - { - "type": "animate", - "name": "darkexplode", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "baozha", - "async": true - }, - { - "type": "animate", - "name": "sword1", - "loc": [ - 6, - 4 - ] - }, - { - "type": "animate", - "name": "bing", - "async": true - }, - { - "type": "animate", - "name": "explosion", - "loc": [ - 6, - 1 + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "animate", + "name": "dark", + "loc": "hero" + }, + { + "type": "animate", + "name": "baofa", + "loc": "hero" + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1, + "async": true + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "vibrate", + "direction": "diagonal1", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "stopAsync" + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1, + "async": true + }, + { + "type": "vibrate", + "direction": "diagonal2", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "stopAsync" + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1, + "async": true + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "vibrate", + "direction": "vertical", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "stopAsync" + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1, + "async": true + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "vibrate", + "direction": "horizontal", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "stopAsync" + }, + "我一直在努力,我不想认输!", + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 0.4 + ], + "time": 1000 + }, + { + "type": "animate", + "name": "light" + }, + { + "type": "animate", + "name": "thunder5", + "loc": [ + 6, + 4 + ] + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "animate", + "name": "thunder4", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "vibrate", + "direction": "vertical", + "time": 2000, + "speed": 10, + "power": 10 + }, + "世上无难事,只怕有心人!\n我想让那些瞧不起我的人看看,我bdf不是弱者!", + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 0.2 + ], + "time": 1000 + }, + { + "type": "animate", + "name": "hand2", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "hand2", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "baofa", + "loc": "hero" + }, + { + "type": "animate", + "name": "chanrao", + "loc": "hero" + }, + { + "type": "animate", + "name": "darkness01", + "loc": "hero" + }, + { + "type": "animate", + "name": "sword5" + }, + { + "type": "animate", + "name": "darkness01", + "loc": "hero" + }, + "我的命运由我主宰,我的道路我自己决定!", + "没人能阻挡我前进的脚步!", + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 0 + ], + "time": 2000 + }, + { + "type": "animate", + "name": "dun", + "loc": "hero" + }, + { + "type": "animate", + "name": "shengdun", + "loc": "hero" + }, + { + "type": "animate", + "name": "dazhaofadong", + "loc": "hero" + }, + { + "type": "animate", + "name": "banbaozha" + }, + { + "type": "animate", + "name": "heidong3", + "loc": "hero" + }, + { + "type": "animate", + "name": "lanjian", + "loc": [ + 6, + 2 + ] + }, + { + "type": "animate", + "name": "amiya6", + "loc": [ + 6, + 2 + ] + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "omnislash", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "omnislash", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "omnislash", + "loc": "hero" + }, + { + "type": "animate", + "name": "baozha" + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "animate", + "name": "baozha", + "async": true + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "sword1", + "loc": [ + 6, + 4 + ] + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero" + }, + { + "type": "animate", + "name": "baozha" + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "baozha", + "async": true + }, + { + "type": "animate", + "name": "sword1", + "loc": [ + 6, + 4 + ] + }, + { + "type": "animate", + "name": "darkexplode", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "baozha", + "async": true + }, + { + "type": "animate", + "name": "sword1", + "loc": [ + 6, + 4 + ] + }, + { + "type": "animate", + "name": "bing", + "async": true + }, + { + "type": "animate", + "name": "explosion", + "loc": [ + 6, + 1 + ] + } ] } ] }, "afterBattle": { "6,2": [ - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "keep": true - }, { "type": "if", - "condition": "(flag:hard===1)", + "condition": "(flag:hard===3)", "true": [ { "type": "setValue", "name": "status:hp", "operator": "/=", - "value": "5.2" + "value": "5" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "/=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "5" + }, + { + "type": "changeFloor", + "floorId": "MT121", + "loc": [ + 6, + 10 + ], + "direction": "up" } ], "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "keep": true + }, + { + "type": "if", + "condition": "(flag:hard==1)", + "true": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "5.2" + } + ], + "false": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "5" + } + ] + }, { "type": "setValue", - "name": "status:hp", + "name": "status:atk", "operator": "/=", "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "5" + }, + { + "type": "hideStatusBar" + }, + { + "type": "sleep", + "time": 1000 + }, + "谁说这个世界是冰冷而残酷的,只要你胸怀坚定的信仰,做好充分的准备,保持高昂的斗志,这个世界说不定,说不定就会揭开他冰冷的面纱,向你露出灿烂的微笑!", + { + "type": "sleep", + "time": 1000 + }, + "我想真正的成熟应该不是追求完美,而是直面自己的缺憾,这才是生活的本质。罗曼罗兰曾说过:这个世界上只有一种真正的英雄主义,那就是认清生活的真相并且仍然热爱它!", + { + "type": "sleep", + "time": 1000 + }, + "请不要相信胜利就像山坡上的蒲公英一样唾手可得,但请相信,世上总有一些美好值得我们全力以赴,哪怕粉身碎骨!", + { + "type": "sleep", + "time": 2000 + }, + { + "type": "changeFloor", + "floorId": "JQ42", + "loc": [ + 6, + 8 + ], + "direction": "up" } ] - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "/=", - "value": "5" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "/=", - "value": "5" - }, - { - "type": "hideStatusBar" - }, - { - "type": "sleep", - "time": 1000 - }, - "谁说这个世界是冰冷而残酷的,只要你胸怀坚定的信仰,做好充分的准备,保持高昂的斗志,这个世界说不定,说不定就会揭开他冰冷的面纱,向你露出灿烂的微笑!", - { - "type": "sleep", - "time": 1000 - }, - "我想真正的成熟应该不是追求完美,而是直面自己的缺憾,这才是生活的本质。罗曼罗兰曾说过:这个世界上只有一种真正的英雄主义,那就是认清生活的真相并且仍然热爱它。", - { - "type": "sleep", - "time": 1000 - }, - "请不要相信胜利就像山坡上的蒲公英一样唾手可得,但请相信,世上总有一些美好值得我们全力以赴,哪怕粉身碎骨?", - { - "type": "sleep", - "time": 2000 - }, - { - "type": "changeFloor", - "floorId": "JQ42", - "loc": [ - 6, - 8 - ], - "direction": "up" } ] }, diff --git a/project/floors/BOSS5.js b/project/floors/BOSS5.js index 09667f3..a998aed 100644 --- a/project/floors/BOSS5.js +++ b/project/floors/BOSS5.js @@ -24,44 +24,50 @@ main.floors.BOSS5= "bgm": "heidian.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 2000 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1 - }, - "2019年6月7日,2019年高考来了。", - "虽然我已经成功被北大签约,但如果出现意外没过一本线,那么签约则会直接作废,而我多年的努力甚至也会因此毁于一旦。", - "我一直很轻松,但在考场中,潜意识依旧有一丝丝的不安。", - "单人考场下的威亚,潜意识影响着我。我不敢松懈,只能全力以赴!", - { - "type": "sleep", - "time": 500 - }, - "成败在此一举!", - { - "type": "animate", - "name": "explosion", - "loc": "hero" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "setCurtain", + "time": 2000 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1 + }, + "2019年6月7日,2019年高考来了。", + "虽然我已经成功被北大签约,但如果出现意外没过一本线,那么签约则会直接作废,而我多年的努力甚至也会因此毁于一旦。", + "我一直很轻松,但在考场中,潜意识依旧有一丝丝的不安。", + "单人考场下的威压,潜意识影响着我。我不敢松懈,只能全力以赴!", + { + "type": "sleep", + "time": 500 + }, + "成败在此一举!", + { + "type": "animate", + "name": "explosion", + "loc": "hero" + } + ] } ], "eachArrive": [], @@ -71,135 +77,157 @@ main.floors.BOSS5= "beforeBattle": { "6,3": [ { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "animate", - "name": "yijianzhanqianye", - "loc": "hero" - }, - { - "type": "jumpHero", - "loc": [ - 6, - 7 - ], - "time": 500 - }, - { - "type": "animate", - "name": "yueying", - "loc": [ - 6, - 5 + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": "hero" + }, + { + "type": "jumpHero", + "loc": [ + 6, + 7 + ], + "time": 500 + }, + { + "type": "animate", + "name": "yueying", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "yueying", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "yueying", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "yueying", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "yueying", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "hongguang", + "loc": [ + 6, + 5 + ] + }, + { + "type": "animate", + "name": "sword1", + "loc": [ + 6, + 5 + ] + }, + { + "type": "jumpHero", + "loc": [ + 6, + 4 + ], + "time": 500 + }, + { + "type": "animate", + "name": "sword2" + }, + { + "type": "animate", + "name": "sword3" + }, + { + "type": "animate", + "name": "eli2" + }, + { + "type": "animate", + "name": "eli3" + }, + { + "type": "animate", + "name": "explosion" + } ] - }, - { - "type": "animate", - "name": "yueying", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "yueying", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "yueying", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "yueying", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "hongguang", - "loc": [ - 6, - 5 - ] - }, - { - "type": "animate", - "name": "sword1", - "loc": [ - 6, - 5 - ] - }, - { - "type": "jumpHero", - "loc": [ - 6, - 4 - ], - "time": 500 - }, - { - "type": "animate", - "name": "sword2" - }, - { - "type": "animate", - "name": "sword3" - }, - { - "type": "animate", - "name": "eli2" - }, - { - "type": "animate", - "name": "eli3" - }, - { - "type": "animate", - "name": "explosion" } ] }, "afterBattle": { "6,3": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT145", + "loc": [ + 6, + 12 + ] + } ], - "time": 2000, - "keep": true - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ30", - "loc": [ - 6, - 12 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "keep": true + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ30", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/BOSS6.js b/project/floors/BOSS6.js index 1188b15..e49f117 100644 --- a/project/floors/BOSS6.js +++ b/project/floors/BOSS6.js @@ -21,16 +21,22 @@ main.floors.BOSS6= "defaultGround": "ground", "bgm": "heidian.mp3", "firstArrive": [ - "不知从何时起,我感觉生活越来越累。可能是因为长大的缘故吧。对于没有翅膀的我,只有不断的通过努力提升自己。", - "天空不再是遥不可及,我相信有志者事竟成,有朝一日,我会把我梦想带到九天之上!", - "经历了实习,我体会到了工作的艰辛,也深知求职的艰难。", - "秋招时,我投了很多简历,但很可惜,这些都失败了。于是我决定孤注一掷,把重点投入到了华为。", { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "showStatusBar" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + "不知从何时起,我感觉生活越来越累。可能是因为长大的缘故吧。对于没有翅膀的我,只有不断的通过努力提升自己。", + "天空不再是遥不可及,我相信有志者事竟成,有朝一日,我会把我梦想带到九天之上!", + "经历了实习,我体会到了工作的艰辛,也深知求职的艰难。", + "秋招时,我投了很多简历,但很可惜,这些都失败了。于是我决定孤注一掷,把重点投入到了华为。", + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "showStatusBar" + } + ] } ], "eachArrive": [], @@ -40,118 +46,158 @@ main.floors.BOSS6= "beforeBattle": { "6,6": [ { - "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" + "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": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "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-540" + }, + { + "type": "changeFloor", + "floorId": "MT179", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 2000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ43", - "loc": [ - 6, - 8 - ], - "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" + } + ] } ] }, diff --git a/project/floors/BOSS7.js b/project/floors/BOSS7.js index 4b8259f..9bea5d9 100644 --- a/project/floors/BOSS7.js +++ b/project/floors/BOSS7.js @@ -23,19 +23,25 @@ main.floors.BOSS7= "bgm": "feng.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 - }, - "我们活在当下,却不断畅享未来。", - "但没人知道,自己的未来究竟在何方。", - "我们只有不断的探索,回首过去,展望未来。也许明天会更好,也许明天会被直接毁灭。", - "但是,请相信。自己的命运由自己主宰,自己的未来由自己创造。", - "回首过去,我做过很多错事。但一路走来,我从未想过放弃。", - "过去埋下的一颗颗种子,终有一天会生根发芽,开花结果。", - "在人的一生中最为辉煌的一天,并不是功成名就那一天,而是从悲叹和绝望中产生对人生挑战的欲望,并且勇敢迈向这种挑战的那一天。", - "这不是终结,而是一个新的开始!", - { - "type": "showStatusBar" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + "我们活在当下,却不断畅享未来。", + "但没人知道,自己的未来究竟在何方。", + "我们只有不断的探索,回首过去,展望未来。也许明天会更好,也许明天会被直接毁灭。", + "但是,请相信。自己的命运由自己主宰,自己的未来由自己创造。", + "回首过去,我做过很多错事。但一路走来,我从未想过放弃。", + "过去埋下的一颗颗种子,终有一天会生根发芽,开花结果。", + "在人的一生中最为辉煌的一天,并不是功成名就那一天,而是从悲叹和绝望中产生对人生挑战的欲望,并且勇敢迈向这种挑战的那一天。", + "这不是终结,而是一个新的开始!", + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "showStatusBar" + } + ] } ], "eachArrive": [], @@ -45,160 +51,187 @@ main.floors.BOSS7= "beforeBattle": { "6,7": [ { - "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<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" + } + ] + } + ] + } + ] } ] }, @@ -445,29 +478,46 @@ main.floors.BOSS7= "remove": true }, { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "JQ51", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 3000, - "keep": true - }, - "我的未来,我也不知道会咋样...", - "但是,我会珍惜现在的每一刻,踏踏实实的做好自己,逐梦九天!", - { - "type": "changeFloor", - "floorId": "JQ49", - "loc": [ - 6, - 8 - ], - "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" + } + ] } ] }, diff --git a/project/floors/JQ11.js b/project/floors/JQ11.js index d125e09..c47ba07 100644 --- a/project/floors/JQ11.js +++ b/project/floors/JQ11.js @@ -42,7 +42,7 @@ main.floors.JQ11= "time": 500 }, "\t[父亲,N389]你可真敢说,他上学的这些日子,麻烦到是添了不少,不是搞恶作剧就是上课期间在教室乱窜。而且他语文成绩一团糟,作文都写不好", - "\t[父亲,N389]上课也不认真听讲,评三好学生也都没他的份,到是最捣蛋最调皮最能惹事的孩子他倒是常年占着。经常和同学闹矛盾惹同学反感,甚至老师都对他抱有意见了。", + "\t[父亲,N389]上课也不认真听讲,评三好学生也都没他的份,到是最捣蛋最调皮最能惹事的孩子他常年占着。经常和同学闹矛盾惹同学反感,甚至老师都对他抱有意见了。", "\t[父亲,N389]至于学电脑,你不怕他玩游戏吗?说来电脑这一方面我也不太懂,明天去公司的时候我找我同事问问。", { "type": "sleep", @@ -50,7 +50,7 @@ main.floors.JQ11= }, "\t[母亲,N385]你这么说也确实,但bdf数学方面真的挺好,这才三年级数学就能免考应用操作部分,这在他们班里也是前几名的存在。", "\t[母亲,N385]电脑的话要是能发展成兴趣未必不是一个好的选择。", - "\t[父亲,N389]你说的对,明天我就去问问,咱们应该做点什么,不然bdf这一生怕都很艰难。", + "\t[父亲,N389]你说的对,明天我就去问问,咱们应该做点什么,不然bdf这一生怕是都很艰难。", { "type": "setText", "position": "center", @@ -74,7 +74,8 @@ main.floors.JQ11= "loc": [ 6, 11 - ] + ], + "direction": "up" } ], "eachArrive": [], diff --git a/project/floors/JQ15.js b/project/floors/JQ15.js index c9c2674..3099b61 100644 --- a/project/floors/JQ15.js +++ b/project/floors/JQ15.js @@ -50,7 +50,7 @@ main.floors.JQ15= "type": "sleep", "time": 500 }, - "\t[母亲,N385]\b[down,6,6]咱们咬咬牙,买下来吧。我们省着点,完全可以。bdf小学没有养成一个良好的学习习惯,我们必须要让他去我们这最好的高中。", + "\t[母亲,N385]\b[down,6,6]咱们咬咬牙,买下来吧。我们省着点,完全可以。bdf小学没有养成一个良好的学习习惯,我们必须要让他去我们这最好的初中。", "\t[母亲,N385]\b[down,6,6]那些帮助过我们的人,后面我们多照顾他们一下,后面再把钱还给他们。", "\t[父亲,N381]\b[down,7,6]好,过几天我就去办理手续,早点把这事定下来。", { diff --git a/project/floors/JQ19.js b/project/floors/JQ19.js index 9b50419..f1e672b 100644 --- a/project/floors/JQ19.js +++ b/project/floors/JQ19.js @@ -79,11 +79,11 @@ main.floors.JQ19= }, "我上了初中后,原本养成的一点良好习惯也被消磨殆尽。我现了原形。", "我扰乱课堂秩序,不注重个人卫生,调戏其它同学,给班级扣分,甚至不尊重老师。这些行为惹怒了我班主任,也引起了同学们的反感。", - "因为种种原因,老师把我单独放倒了最后一排,不给我安排同桌。因为我语文偏科,很多词语不会写,而我又喜欢抄别人的,为此老师又在我前面放了两个学习差的学生。", + "因为种种原因,老师把我单独放到了最后一排,不给我安排同桌。因为我语文偏科,很多词语不会写,而我又喜欢抄别人的,为此老师又在我前面放了两个学习差的学生。", "我甚至在想我初中班主任是不是一开始就针对我。我申请数学课代表他直接否了,后面也经常针对我。还会无缘无故的打我,仿佛我就是他的出气筒。", "自然而然,我初一成绩糟透了。与之前压根没法比。", - "虽然我在校园生活上不咋滴。但我竞赛成绩比我预期的要好很多,我第一次参加全国noip普及组比赛就拿了一等奖。也算是没有白费我父母给我找一对一家教的苦心。", - "一切平平淡淡,但有好似有些许波折。平静的湖面宛如我的内心,这一年发生的点滴,在这平静的湖面掀起了一丝丝波澜,让我感受到了酸甜苦辣,但过后,该咋样还咋样。", + "虽然我在校园生活上不出彩,但我竞赛成绩比我预期的要好很多,我第一次参加全国noip普及组比赛就拿了一等奖。也算是没有白费我父母给我找一对一家教的苦心。", + "一切平平淡淡,但又好似有些许波折。平静的湖面宛如我的内心,这一年发生的点滴,在这平静的湖面掀起了一丝丝波澜,让我感受到了酸甜苦辣,但过后,该咋样还咋样。", "于是,我开始了初二生活。", { "type": "changeFloor", diff --git a/project/floors/JQ20.js b/project/floors/JQ20.js index 85a697e..6ae206f 100644 --- a/project/floors/JQ20.js +++ b/project/floors/JQ20.js @@ -36,7 +36,7 @@ main.floors.JQ20= "原本他的成绩一直班上数一数二,不知是不是受到了我的影响,但他高考成绩还不如我。这件事过去了很久,但在我心中依旧不可磨灭。", "我很后悔,我欠他一个道歉,而我却很难做出什么弥补。但我又很感谢他,这么多年过去了他依旧认同我。", "我成绩在班里处于中等偏上,不算好也不算差,但考入我们这最好的高中希望不大,但我没有放弃目标。", - "尽管生活有诸多不顺,但我始终贯彻自己心中的目标,我知道该干什么,怎么去做。在这种目标的带动下,初三开始了。", + "尽管生活有诸多不顺,但我始终贯彻自己心中的信念,我知道该干什么,怎么去做。秉承着这种信念,我开始了我初三阶段的学习。", { "type": "setCurtain", "color": [ diff --git a/project/floors/JQ21.js b/project/floors/JQ21.js index 059f4c1..8ed7e15 100644 --- a/project/floors/JQ21.js +++ b/project/floors/JQ21.js @@ -19,7 +19,7 @@ main.floors.JQ21= "type": "setCurtain", "time": 1000 }, - "依稀记得,那天晚上我心中略有紧张。虽然后面来看难度并不算大,但依旧让当时的我感到一丝紧张。", + "依稀记得,那天晚上我心中略有紧张。虽然现在来看考试难度并不算大,但依旧让当时的我揪紧了心弦。", { "type": "animate", "name": "EMyiwen", diff --git a/project/floors/JQ26.js b/project/floors/JQ26.js index 5a70e70..3c33985 100644 --- a/project/floors/JQ26.js +++ b/project/floors/JQ26.js @@ -33,7 +33,7 @@ main.floors.JQ26= 3 ] }, - "\t[董烨华,N865]\b[down,6,3]bdf,一天天的来集训出来玩就知道玩,说了你几遍了?耳朵聋是吧?还在玩魔塔,我这屏幕上看的是一清二楚。", + "\t[野花,N865]\b[down,6,3]bdf,一天天的集训就知道玩,说了你几遍了?耳朵聋是吧?还在玩魔塔,我这屏幕上看的是一清二楚。", { "type": "sleep", "time": 1000 @@ -60,7 +60,7 @@ main.floors.JQ26= 3 ] }, - "\t[董烨华,N865]\b[down,6,3]刚说了你才多久?这又玩上了?再玩给我滚出去!", + "\t[野花,N865]\b[down,6,3]刚说了你才多久?这又玩上了?再玩给我滚出去!", { "type": "setCurtain", "color": [ diff --git a/project/floors/JQ27.js b/project/floors/JQ27.js index d82023e..03f3485 100644 --- a/project/floors/JQ27.js +++ b/project/floors/JQ27.js @@ -14,7 +14,7 @@ main.floors.JQ27= "defaultGround": "ground", "bgm": "richu.mp3", "firstArrive": [ - "我从集训起,就不把我们老师董烨华放在眼里,他的话对我来说不过耳旁风罢了。再加上我行为怪异,又啥也不听他的,他终于忍无可忍了。", + "我从集训起,就不把我们老师野花放在眼里,他的话对我来说不过耳旁风罢了。再加上我行为怪异,他终于忍无可忍了。", { "type": "setCurtain", "time": 1000 @@ -33,7 +33,7 @@ main.floors.JQ27= "name": "EMsikao", "loc": "hero" }, - "\t[董烨华,N865]\b[down,10,5]反正你啥也不听,你就单独一间教室深造吧,争取拿个金奖出来!", + "\t[野花,N865]\b[down,10,5]反正你啥也不听,你就单独一间教室深造吧,争取拿个金奖出来!", { "type": "sleep", "time": 500 @@ -47,7 +47,7 @@ main.floors.JQ27= "type": "sleep", "time": 500 }, - "\t[董烨华,N865]\b[down,10,5]还愣着干啥!赶紧回到你座位上,你都把东西搬过来了吗?我教了这么多年,就没遇到过一个你这样的!教到你我真是倒霉。", + "\t[野花,N865]\b[down,10,5]还愣着干啥!赶紧回到你座位上,你都把东西搬过来了不是吗?我教了这么多年,就没遇到过一个你这样的!教到你我真是倒霉。", { "type": "animate", "name": "SLjing", diff --git a/project/floors/JQ28.js b/project/floors/JQ28.js index e99fc0c..1d7d68a 100644 --- a/project/floors/JQ28.js +++ b/project/floors/JQ28.js @@ -35,15 +35,22 @@ main.floors.JQ28= "time": 3000 }, "但是...即便深处绝望,也依旧能找到一丝亮光。", + { + "type": "moveHero", + "time": 1500, + "steps": [ + "up:3" + ] + }, { "type": "sleep", "time": 3000 }, "做错了事,早晚会遭到反噬。不是不报,时候未到!", "整个集训期间,我自己不尊重人,我行我素,不顾他人感受。再加上我得罪的人也并非君子。很快,我被孤立了。", - "虽说我有错,但董烨华并不是一个好老师,他处处针对我,加上我的不认真丢三落四,我的成绩一落千丈。", + "虽说我有错,但野花并不是一个好老师,他处处针对我,加上我的不认真丢三落四,我的成绩一落千丈。", "原本积累下来的底蕴,此时已经被我挥霍一空。我擅长的竞赛已经不擅长了。我在noip联赛,虽然拿了一等奖,但那并不能改变什么。", - "原本颓废的我,后面又被张逸凡踢出群变得更加颓废。此时此刻,我甚至都对自己产生了怀疑。", + "原本颓废的我,后面又被zyf踢出群变得更加颓废。此时此刻,我甚至都对自己产生了怀疑。", "后面文化课学习,我虽然在教室里学习,但我的心却一直都在oi上面,根本学习不下去。那段时间,我啥都做不好。", { "type": "sleep", @@ -81,9 +88,9 @@ main.floors.JQ28= "这时,我人生中第一次感受到如此强烈的危机感!我不敢松懈!人生中第一次这么认真的准备一件事!", { "type": "moveHero", - "time": 1000, + "time": 2000, "steps": [ - "up:3" + "up:1" ] }, { diff --git a/project/floors/JQ29.js b/project/floors/JQ29.js index 4eac191..634131a 100644 --- a/project/floors/JQ29.js +++ b/project/floors/JQ29.js @@ -25,14 +25,14 @@ main.floors.JQ29= "type": "setCurtain", "time": 1000 }, - "这一天还是来了。十二年学习的重点站,高考!让无数人又爱又怕的一个人生节点。", + "这一天还是来了。十二年学习的终点站,高考!让无数人又爱又怕的一个人生节点。", "因为oi考试已经被北大签约,给我减轻了不少压力。但我心中依旧还是有一丝丝紧张,生怕出什么幺蛾子。", - "时光过的总是飞快。从最开始的入学,到oi竞赛结束。再经历学考,选考。转眼间高三上学期就过完了。", - "下学期,时间仿佛已经停止,如同穿越时空一般转瞬即逝,一天天的不断减少。此时我也已满十八岁,正式成大成人。", + "时光过的总是飞快。从最开始的入学,到oi竞赛结束。再经历学考,选考。转眼间高三就要过完了。", + "下学期,时间仿佛已经停止,如同穿越时空一般转瞬即逝,一天天的不断减少。此时我也已满十八周岁,正式长大成人。", "依稀记得,高中入学前心目中的理想大学。今天,在高考中,终于迎来了直面梦想的机会。", - "高考,不仅仅是一次考试。它寄托着许多平凡人的梦想,是一个人转变命运的一个重点转折点。而高考,也是对一个人心性的重大考验。怕是没有用的,如果怕了退缩了,又怎能面对更多的磨难?", - "命运的轮盘不同的旋转,每一次转动都会决定着一个人的命运。但要想让自己更好,唯有不断变强!", - "成功没有捷径可走,唯有勇往直前贯彻道心!人总是期望逃避,但逃避是没有用的,紧张也是没有用的。有用的唯独直面自己的缺陷!", + "高考,不仅仅是一次考试。它寄托着许多平凡人的梦想,是一个人转变命运的一个重要转折点。而高考,也是对一个人心性的重大考验。怕是没有用的,如果怕了退缩了,又怎能面对更多的磨难?", + "命运的轮盘不断的旋转,每一次转动都会决定着一个人的命运。但要想让自己更好,唯有不断变强!", + "成功没有捷径可走,唯有勇往直前贯彻道心!人总是期望逃避,逃避是没有用的,紧张也是没有用的。有用的唯独直面自己的缺陷!", "这十二年间,我经历了许多挫折,道心一度受挫,但我始终贯彻自己的初心,不断的昂首向前。最终我挺了过来!现在离北大只有最后一步。梦想就在眼前!", "我字典里没有放弃,放弃等同于失败,我不想失败,也不会失败!", { diff --git a/project/floors/JQ30.js b/project/floors/JQ30.js index d5b990a..b606746 100644 --- a/project/floors/JQ30.js +++ b/project/floors/JQ30.js @@ -77,9 +77,9 @@ main.floors.JQ30= }, "离开校园的最后一段路,仿佛时间放慢了无数倍,亦或是一些情景仿佛被拍成了电影,等到多年之后才被放出来。走在路上,过去的回忆涌上心头,近在咫尺的距离却犹如天堑,而自己能做的只有不断向前。", "回首我的高中,即是幸运又是不幸的。因为我与绝大多数人都与众不同,我是特长生而早半年来到高中接受特殊教育,准备信息竞赛。", - "在这过程中,我经历了绝望低估,也经历了被北大签约的喜悦。", - "高中一路走来,我最感谢的是杨佩琼老师,她不是我们班的老师,却给了我最大的帮助。她默默的支持着我,即使不是自己班的学生,也愿意解答疑惑。我对她很是敬佩。", - "我也遇到张逸凡这样的人,我确实讨厌他,甚至还狠他。不过随着时间的流逝,他早晚会消失在我的视野当中。", + "在这过程中,我经历了绝望低谷,也经历了被北大签约的喜悦。", + "高中一路走来,我最感谢的是杨主任,她不是我们班的老师,却给了我最大的帮助。她默默的支持着我,即使不是自己班的学生,也愿意解答疑惑。我对她很是敬佩。", + "我也遇到zyf这样的人,我确实讨厌他,甚至还恨他。不过随着时间的流逝,他早晚会消失在我的视野当中。", "我的高中时期,总体而言我还是非常满意的。酸甜苦辣,五味杂陈。人生总是包含着五味杂陈,有时你会感到快乐,有时你会遭遇困难,有时你会期待梦想,有时也会充满感伤,只有全部经历,人生才算完整。", { "type": "sleep", diff --git a/project/floors/JQ32.js b/project/floors/JQ32.js index 345de1c..661a2ee 100644 --- a/project/floors/JQ32.js +++ b/project/floors/JQ32.js @@ -28,10 +28,10 @@ main.floors.JQ32= }, "2019年下旬,一场危机悄无声息的来临。", "2020年初,关于武汉的消息已经在网络传出,贴吧论坛Q群微信等社交平台有不少人在讨论。起初很少有人注意到这件事,但这仅仅只是前兆罢了。", - "随着事情的发酵,越来越多的消息在网上传播,我顿感不妙,开始在网上采购口罩。但这事口罩居然开始限量,好在我会一点脚本,可以用最快的速度抢到口罩。", + "随着事情的发酵,越来越多的消息在网上传播,我顿感不妙,开始在网上采购口罩。但这时口罩居然开始限量,好在我会一点脚本,可以用最快的速度抢到口罩。", "我抢购了许多口罩,足够我们家用很久了。后面的事情,果然不出我所料,武汉全面封城,疫情在全国散播开来。", "这一场疫情,直接改变了无数人的生活。学校不再开学,转而开始上网课。店铺商场封闭,球赛延期,在家就是做贡献。", - "经过努力,疫情暂时止住了,而我也在迎来了大二生活。至于大一下学期,直接寒暑假相连了,获得了一个超长大假期。", + "经过各方努力,疫情暂时止住了,而我也在迎来了大二生活。至于大一下学期,直接寒暑假相连了,获得了一个超长大假期。", "在家的时候,我成功将我落下的功课弥补了回来。我也希望大二能有一个新的开始。", { "type": "setCurtain", diff --git a/project/floors/JQ33.js b/project/floors/JQ33.js index 1b38a7b..3ffde0f 100644 --- a/project/floors/JQ33.js +++ b/project/floors/JQ33.js @@ -26,7 +26,7 @@ main.floors.JQ33= "time": 1000 }, "此时此刻,学考选考我已经全部完成,我需要做的只是安安稳稳的备战高考。", - "这些科目,我都非常满意,符合我的预期。这给我高考减轻了不少压力。此时此刻,我只需要安安稳稳的正常发挥,过一本线是没问题的。", + "这些科目,我都非常满意,符合我的预期。这给我高考减轻了不少压力,我只需要安安稳稳的正常发挥,过一本线是没问题的。", "但是,有些事情总是不能如愿。意外不知道什么时候就会悄无声息的发生。", "一些东西从它诞生的那一刻起代价都是注定的。我靠着noi成功的签约北大,但我付出的代价也是非常惨重的。", "因为那段时间过于紧张,我一紧张就咳嗽,这给我落下了一个毛病,总是忍不住的就咳嗽,有时候很大声。而我根本控制不住。这为我后面模拟和高考独立试场埋下了伏笔。", diff --git a/project/floors/JQ35.js b/project/floors/JQ35.js index 7b4ef15..ceeed66 100644 --- a/project/floors/JQ35.js +++ b/project/floors/JQ35.js @@ -15,7 +15,7 @@ main.floors.JQ35= "bgm": "richu.mp3", "firstArrive": [ "集训期间,我不仅得罪了老师,还得罪了同学。甚至有段时间时间全班都反感我。", - "在整个oi竞赛期间,有两个人和有不可调节的矛盾。一个是赵乐毅,另一个则是我的死敌张逸凡。", + "在整个oi竞赛期间,有两个人和有不可调节的矛盾。一个是zly,另一个则是我的死敌zyf。", { "type": "setCurtain", "time": 1000 @@ -38,7 +38,7 @@ main.floors.JQ35= "type": "sleep", "time": 500 }, - "\t[张逸凡,N1009]\b[up,3,11]bdf,你特么有病是吧?一天天的和个智障是的,你滚行吗?", + "\t[zyf,N1009]\b[up,3,11]bdf,你特么有病是吧?一天天的和个智障是的,你滚行吗?", { "type": "sleep", "time": 500 @@ -57,7 +57,7 @@ main.floors.JQ35= "type": "sleep", "time": 500 }, - "\t[张逸凡,N1009]\b[up,3,11]你找揍是吧?你这种人出去不给人揍死才怪呢,别在这隔应我,你赶紧走!", + "\t[zyf,N1009]\b[up,3,11]你找揍是吧?你这种人出去不给人揍死才怪呢,别在这隔应我,你赶紧走!", { "type": "animate", "name": "SLyiwen", @@ -81,7 +81,7 @@ main.floors.JQ35= "type": "sleep", "time": 500 }, - "\t[赵乐毅,N1005]\b[up,9,11]bdf,少说两句吧你,你什么样子这个班谁不知道啊?", + "\t[zly,N1005]\b[up,9,11]bdf,少说两句吧你,你什么样子这个班谁不知道啊?", { "type": "animate", "name": "EMyiwen", @@ -109,7 +109,7 @@ main.floors.JQ35= "type": "sleep", "time": 500 }, - "\t[赵乐毅,N1005]\b[up,9,11]真是不可理喻!", + "\t[zly,N1005]\b[up,9,11]真是不可理喻!", { "type": "sleep", "time": 500 @@ -118,7 +118,7 @@ main.floors.JQ35= "type": "changePos", "direction": "left" }, - "\t[张逸凡,N1009]\b[up,3,11]bdf,你还是好好做个人吧,你这样不行。", + "\t[zyf,N1009]\b[up,3,11]bdf,你还是好好做个人吧,你这样不行。", { "type": "animate", "name": "angry", diff --git a/project/floors/JQ36.js b/project/floors/JQ36.js index 2491b27..d8549da 100644 --- a/project/floors/JQ36.js +++ b/project/floors/JQ36.js @@ -14,8 +14,8 @@ main.floors.JQ36= "defaultGround": "ground", "bgm": "richu.mp3", "firstArrive": [ - "2016年8月20日,发生了一件让我非常气愤的事情,我被张逸凡给踢出了同学群。", - "张逸凡对我恩怨由来已久,他对我的怨念甚至比赵乐毅还要更胜一筹。他最终还是对同学群下手了,把我踢出去让我出丑,之后群里的事我就不知道了,但肯定没少说我坏话。", + "2016年8月20日,发生了一件让我非常气愤的事情,我被zyf给踢出了同学群。", + "zyf和我的矛盾由来已久,他对我的怨念甚至比zly还要更胜一筹。他最终还是对同学群下手了,把我踢出去让我出丑,之后群里的事我就不知道了,但肯定没少说我坏话。", { "type": "setCurtain", "time": 1000 @@ -25,7 +25,7 @@ main.floors.JQ36= "name": "SLjing", "loc": "hero" }, - "\t[hero]\b[hero]张逸凡...张逸凡这混蛋居然把我踢出了同学群!", + "\t[hero]\b[hero]zyf...zyf这混蛋居然把我踢出了同学群!", { "type": "animate", "name": "angry", @@ -118,7 +118,7 @@ main.floors.JQ36= "name": "angry", "loc": "hero" }, - "\t[hero]\b[hero]张逸凡,你怎么不去死呢?", + "\t[hero]\b[hero]zyf,你怎么不去死呢?", { "type": "animate", "name": "angry", diff --git a/project/floors/JQ37.js b/project/floors/JQ37.js index 710cf6b..b6b8d5a 100644 --- a/project/floors/JQ37.js +++ b/project/floors/JQ37.js @@ -14,8 +14,8 @@ main.floors.JQ37= "defaultGround": "ground", "bgm": "richu.mp3", "firstArrive": [ - "被张逸凡踢出群后,我感觉同学们对我的目光比之前更冷了。他们看我的眼神甚至都有一种怪异。", - "张逸凡这事让我对他恨之入骨,我甚至还诅咒过他死。因为他这行为,后面或多或少影响到了我的心态,也让我与竞赛同学关系冰到了低谷,难有缓和的趋势。", + "被zyf踢出群后,我感觉同学们对我的目光比之前更冷了。他们看我的眼神甚至都有一种怪异。", + "zyf这事让我对他恨之入骨,我甚至还诅咒过他死。因为他这行为,后面或多或少影响到了我的心态,也让我与竞赛同学关系冰到了低谷,难有缓和的趋势。", { "type": "setCurtain", "time": 1000 diff --git a/project/floors/JQ38.js b/project/floors/JQ38.js index 497b82e..b814f2a 100644 --- a/project/floors/JQ38.js +++ b/project/floors/JQ38.js @@ -36,23 +36,23 @@ main.floors.JQ38= "background": "winskin.png", "time": 40 }, - "\t[董烨华,N865]noip联赛你就别参加了,别去丢人现眼了。", + "\t[野花,N865]noip联赛你就别参加了,别去丢人现眼了。", { "type": "animate", "name": "SLjing", "loc": "hero" }, "\t[hero]为什么?", - "\t[董烨华,N865]你上课就没听过,我就没你这样的学生。你去了合适白搭,不可能拿奖。而且你模拟赛的成绩怎样心里没数?", + "\t[野花,N865]你上课就没听过,我就没你这样的学生。你去了合适白搭,不可能拿奖。而且你模拟赛的成绩怎样心里没数?", { "type": "animate", "name": "SLshengqi", "loc": "hero" }, "\t[hero]可是我想参加。", - "\t[董烨华,N865]别浪费时间了,不是我针对你,是你压根就出不来成绩。你又不按照正常流程来,总是我行我素。你自己想想有谁和你一样被单独关到一间教室来的?", + "\t[野花,N865]不是我针对你,是你压根就出不来成绩。你又不按照正常流程来,总是我行我素。你自己想想有谁和你一样被单独关到一间教室来的?", "\t[hero]但是...", - "\t[董烨华,N865]哼,别说了你。你是不会有出息的,进绍兴一中你的运气就已经用完了。你没必要在noip联赛浪费时间,我这是为你好!", + "\t[野花,N865]哼,别说了你。你是不会有出息的,进绍兴一中你的运气就已经用完了。你没必要在noip联赛浪费时间,我这是为你好!", { "type": "setText", "position": "center", diff --git a/project/floors/JQ39.js b/project/floors/JQ39.js index 17c8970..be3656f 100644 --- a/project/floors/JQ39.js +++ b/project/floors/JQ39.js @@ -14,7 +14,7 @@ main.floors.JQ39= "defaultGround": "ground", "bgm": "richu.mp3", "firstArrive": [ - "董烨华对我有偏见,一开始我因为一些事得罪了他。他便开始对我各种打压,把我单独放在一件教室,不让我听课等等。集训对我也不管", + "野花对我有偏见,一开始我因为一些事得罪了他。他便开始对我各种打压,把我单独放在一件教室,不让我听课等等。集训对我也不管", "后面noip即将到来,他直接不想让我参加。但我想参加,这事还闹到了我父母那。", { "type": "setCurtain", @@ -26,10 +26,10 @@ main.floors.JQ39= "background": "winskin.png", "time": 40 }, - "\t[母亲,N385]董老师,我恳请你让bdf参加noip联赛。", - "\t[董烨华,N865]他去参加也获得不了什么奖啊,没必要浪费这个时间。", + "\t[母亲,N385]野花老师,我恳请你让bdf参加noip联赛。", + "\t[野花,N865]他去参加也获得不了什么奖啊,没必要浪费这个时间。", "\t[父亲,N381]但他很期待的样子,而且他都准备这么久了。", - "\t[董烨华,N865]他怎么准备的他自己清楚,我也看在眼里。事实上,他不适合参加比赛。", + "\t[野花,N865]他怎么准备的他自己清楚,我也看在眼里。事实上,他不适合参加比赛。", "\t[母亲,N385]那也应该给他一个机会啊,总不能什么机会也不给他就给他强行扣不行的帽子吧?", { "type": "setText", @@ -48,11 +48,11 @@ main.floors.JQ39= "time": 1000, "keep": true }, - "这次noip联赛,在我父母的强烈要求下,董烨华同意了。这次笔塞我超常发挥,拿下了一等奖。", - "因为这次比赛我与模拟赛成绩格格不入,董烨华觉得我是走了运超常发挥。他不认为我有能力。", + "这次noip联赛,在我父母的强烈要求下,野花同意了。这次比赛我超常发挥,拿下了一等奖。", + "因为这次比赛我与模拟赛成绩格格不入,野花觉得我不过是走了运超常发挥罢了。他不认为我有能力拿一等奖。", "事实上,我也深知自己能力的不足。于是我开始努力,争取那之前所学弥补回来。从这之后我加倍努力,争取在省赛签约高校。", "进入17年后,我开始刷题,自己打学校的模拟赛。一切重新开始。我不知道我能取得怎样的成绩,但我认定的事我绝不放弃!", - "人生当中总是有能力所不及的范围,但是如果在能力所及的范围内,尽到了自己全部的努力,那还有什么可以遗憾呢。我想拼一把,而我的目标则是与北大签约!", + "人生当中总是有能力所不及的范围,但是如果在能力所及的范围内,尽到了自己全部的努力,那还有什么可以遗憾的呢。我想拼一把,而我的目标则是与北大签约!", { "type": "changeFloor", "floorId": "MT106", diff --git a/project/floors/JQ41.js b/project/floors/JQ41.js index 38034a0..46872d3 100644 --- a/project/floors/JQ41.js +++ b/project/floors/JQ41.js @@ -90,7 +90,7 @@ main.floors.JQ41= "\t[父亲,N381](后来,不断有家长反应他精神有问题,老师也对抱有怨念,但这些都没有击败他,反而让他在三年级的时候展现出了数学天赋和电脑的浓厚兴趣。)", "\t[父亲,N381](起初,我还担忧过电脑对他后面的发展不利,但幸好我支持了bdf,这才为现在打下了基础。后来,又经过了初中的洗礼,他第一次凭借着对电脑的热爱考入了绍兴一中。)", "\t[父亲,N381](入了高中,他还是那样,依旧我行我素。所幸他自己争气,最后成功弥补了最开始的过错,成功的签约北大。)", - "\t[父亲,N381](刚签约的时候,我们也担心过一个问题,那就是他很可能过不了一本线。幸运的是,bdf没有放弃学习,而是通过努力考得了不错的成绩。)", + "\t[父亲,N381](刚签约的时候,我们也担心过一个问题,那就是他很可能过不了一本线。幸运的是,bdf没有放弃学习,而是保持了较为不错的状态考出了不错的成绩。)", "\t[父亲,N381](一路走来,虽然总会有各种各样的小问题,但最后他总能给我们意想不到的惊喜。我很欣慰,有这么一个儿子。)", { "type": "animate", @@ -104,7 +104,7 @@ main.floors.JQ41= "type": "sleep", "time": 3000 }, - "\t[母亲,N385](真的不敢相信,他做到了。虽然平时顽皮了点,习惯有事也不好。但却总能给我们带来惊喜。)", + "\t[母亲,N385](真的不敢相信,他做到了。虽然平时顽皮了点,习惯有时也不好。但却总能给我们带来惊喜。)", "\t[母亲,N385](不过说来也是,他身上有一股不服输的韧性,认定的事情哪怕是九头牛都拉不回来。但正是一股不服输的劲,才让他取得了这般成就。)", "\t[母亲,N385](这些年,我们也为他操了不少心,但结果总归是好的。一切都值了!)", { diff --git a/project/floors/JQ42.js b/project/floors/JQ42.js index 4f2ff82..45bcd36 100644 --- a/project/floors/JQ42.js +++ b/project/floors/JQ42.js @@ -21,7 +21,7 @@ main.floors.JQ42= "目前为止,这事对我人生影响是最大的。正因为noi成功被北大签约,这才为我后来的一系列事情打下了基础。", "我高中的oi时期,我几乎是一个人在作战。老师不让我参赛,同学极力排斥我。给我施压。", "后面老师干脆完全不管我了,我只能自己独自备战。这段时间,我比以往更加认真,也不在像之前那样动不动偷懒撒滑。", - "苦心人天不负!经过了一系列努力付出了高昂的代价,北大签约资格终于被拿下了。我证明了自己!", + "苦心人天不负!经过了一系列努力付出了高昂的代价,北大签约资格终于被我拿下了。我证明了自己!", { "type": "setCurtain", "time": 2000 diff --git a/project/floors/JQ43.js b/project/floors/JQ43.js index 80863f5..80ed335 100644 --- a/project/floors/JQ43.js +++ b/project/floors/JQ43.js @@ -249,7 +249,7 @@ main.floors.JQ43= }, { "type": "if", - "condition": "flag:score<=225", + "condition": "(flag:score<=225)", "true": [ "\t[hero]最终,我得到了一份月base为${Math.round(flag:score*10/9)*100}元,年终2~4个月的offer。" ], diff --git a/project/floors/JQ44.js b/project/floors/JQ44.js index 35daf17..6d71e7c 100644 --- a/project/floors/JQ44.js +++ b/project/floors/JQ44.js @@ -38,7 +38,7 @@ main.floors.JQ44= "\t[父亲,N381]我们现在很担心你的学习,生怕你因为挂科毕不了业。", "\t[hero]不会的,后面我会好好用功的。把这学期落下的弥补回来。", "\t[母亲,N385]好,趁着寒假有空,你在家里好好把之前落下的补一遍吧。", - "\t[母亲,N385]以后不准在想上学期那样不认真了。", + "\t[母亲,N385]以后不准再像上学期那样不认真了。", { "type": "setText", "position": "center", diff --git a/project/floors/JQ46.js b/project/floors/JQ46.js index d592efa..bf5580a 100644 --- a/project/floors/JQ46.js +++ b/project/floors/JQ46.js @@ -25,24 +25,24 @@ main.floors.JQ46= "type": "setCurtain", "time": 1000 }, - "我在大学中遇到一个对我影响非常深刻的朋友,他叫孙昉。他人非常好,我竞赛也或多或少受到他的帮助。", - "后来,我在他的引荐下,我进入了张铭教授实验室进行科研实习。21年9月,我又与美团签订了协议,在美团实习广告平台技术部实习。", + "我在大学中遇到一个对我影响非常深刻的朋友,他叫孙日方。他人非常好,我竞赛也或多或少受到他的帮助。", + "后来,我在他的引荐下,我进入了鸣教授实验室进行科研实习。21年9月,我又与美团签订了协议,在美团实习广告平台技术部实习。", "在我大三这一年,我从小积累下的缺点全面爆发,直接让我陷入了一个困局当中。", "在美团,因为种种原因,我被其它同事反感,他们联合投诉我,想让我被辞退。因为我平时工作不认真,打瞌睡,总是迟到,加上投诉于是美团方面不让我在线下实习了。", "此次此刻,我与我大学室友的矛盾全面爆发。因为我个人习惯的不好,加上我因为签约北大前那次竞赛患上了很难控制的毛病无故咳嗽。室友们实在受不了我了,于是便联合投诉,想让我离开宿舍。", - "至于张铭教授实验室那边,同样也是糟透了。", + "至于鸣教授实验室那边,同样也是糟透了。", "因为遭到室友抵制,我只能有时在宿舍住有时出去住,来缓和矛盾。有段时间疫情封校,我甚至直接被困在了校外。", "而我大三的成绩,虽然没有挂科但成绩却并不优秀。", "此时此刻,我已经体验到了社会的艰辛。考入北大并不是已经达成最终目标,因为后面还要面临社会这一座更大的大山。", "因为我自身情况,于是我只能另找一份工作实习。这是一个刚创建的新公司,但工作内容以我专业对口,于是我便留了下来。", - "我美团那边同事发表了一个论文,但很遗憾没有我的名字。而我也深深的觉察到自己能力的不足。", - ",因为种种原因我又回到了美团实习,但依旧不知悔改,哪怕是在孙昉的帮助对美团那边的人劝说,最后依旧没有保住我,仅仅三周我就再次失去了实习资格。", + "我美团那边同事曾发表了一个论文,但很遗憾没有我的名字。而我也深深的觉察到自己能力的不足。", + "后来因为种种原因我又回到了美团实习,但依旧不知悔改,哪怕是在孙日方的帮助对美团那边的人劝说,最后依旧没有保住我,仅仅三周我就再次失去了实习资格。", "在困难面前,人类显得非常渺小。但这渺小的力量,也能爆发出巨大的能力,在这片茫茫星海中散发出耀眼的光芒。经过大三的实习,我学习到了很多。", "工作要脚踏实地,不认真的事情做多了,总有一天会积累到足以引起质变的程度,那么后果恐怕是我们很难承担的。", "大学,是一座分水岭。大学城内已经是一个小社会,也许你的同学会因为利益勾心斗角,也许你会因为一件小事而得罪人被穿小鞋。期间,还要为将来工作做准备,接受一些洗礼,此时此刻的自己,是否会怀念那些年单纯的自己呢?", "环境可以改变一个人,但也可以造就一个人,我不会因此而被打败,我只会追求更高的目标,实现自己的梦想。", - "我没有止步不前,实习到期后,哪怕第二个实习我可以继续续约,但因为待遇问题我也没必要留下了,我的征途是星辰大海,而这仅仅是通往大道的一个小小的站点罢了。", - "实习结束后,大学时光已经不多了,离真正的解放又进了一步...", + "我没有止步不前,实习到期后,哪怕第二个实习我可以继续续约,但因为待遇问题我也没必要留下了,我没有产生自满情绪,这仅仅是通往大道的一个小小的站点罢了。", + "实习结束后,大学时光已经不多了,离“真正的解放”又进了一步...", { "type": "setCurtain", "color": [ diff --git a/project/floors/JQ47.js b/project/floors/JQ47.js index 225f9cb..fe87d1e 100644 --- a/project/floors/JQ47.js +++ b/project/floors/JQ47.js @@ -28,11 +28,11 @@ main.floors.JQ47= "time": 1000 }, "大四,我需要面对的,就是求职。在错综复杂的社会上,想要立足只有全面提升自己。", - "然而,时光不等人,年过二十的自己必须要为自己出谋划策,时间仿佛长了一双无形的手,逐渐把自己带离青春。", - "此时此刻,经历了一系列洗礼,有多少人能坚持自己的初心?有多少人能坚持自己的梦想?时间会磨灭一切,包括曾经的最美的梦想。", + "时光不等人,年过二十的自己必须要为自己出谋划策。时间仿佛长了一双无形的手,青春渐渐的离自己而去。", + "此时此刻,经历了一系列洗礼,有多少人能坚持自己的初心?有多少人能贯彻自己的信念?时间会磨灭一切,包括曾经那最美的梦想。", "大学时光匆匆流逝,刚入学的你是为了什么而来?离开的时候,你带走的又是什么?此时此刻,问问心中的自己,真的没有任何遗憾吗?", - "毕业之后,自己究竟要干什么,自己是否又知道的?", - "虽然我从小到大一直暴露出的问题不少,但是我始终坚持自己的目标。我自始终,我也知道自己该做什么,追求什么。", + "毕业之后,自己究竟要干什么,想获得什么,路又在何方?问问心中的自己知道吗?", + "虽然我从小到大暴露出的问题不少,但是我始终坚持自己的目标,我也知道自己该做什么,该追求什么。虽然并不完美,但我觉得很值得。", "不知从何时起,我一直再做一个梦,一遍又一遍,没有开始也没有终结。我暗自祈祷,这不是梦,因为梦总会结束,于是我开始等待,等待着奇迹的发生。", "我仿佛坐在空无一人的山顶上,听着一个脚步声由远而近,也许那之后才是梦的开始。仿佛时间已经停止,我一直在等待着,直到我已忘记为何要等待。", "但是,正如黑夜之后一定是黎明,奇迹一定会到来!我坚信!", diff --git a/project/floors/JQ48.js b/project/floors/JQ48.js index 2a511be..331fff8 100644 --- a/project/floors/JQ48.js +++ b/project/floors/JQ48.js @@ -32,7 +32,7 @@ main.floors.JQ48= "\t[hero]\b[hero]我还没想好。", "\t[王州,N980]\b[up,8,6]要不叫逐梦九天吧?意思就是一直追逐梦想到最顶端。而你也终有一天会完成自己的梦想。", "\t[hero]\b[hero]嗯嗯,行。那么这个计划就叫逐梦九天计划吧。我打算2023年7月9日发塔,因为这一天是我入职的那天。", - "\t[王州,N980]\b[up,8,6]本菜鸡会好好做,争取不脱你们的后腿。", + "\t[王州,N980]\b[up,8,6]本菜鸡会好好做,争取不拖你们的后腿。", { "type": "move", "loc": [ @@ -55,7 +55,14 @@ main.floors.JQ48= "time": 1000, "keep": true }, - "最终,经过多人协作,逐梦九天做好了。", + "最终,经过顾、yztm、迷迭香的测试,逐梦九天终于做好了。", + { + "type": "if", + "condition": "((flag:hard==2 )&&( flag:score>291))", + "true": [ + "我超,你竟然把测试员爆了!!!" + ] + }, "虽然期间经过了波折,但这塔终归被做了出来。", { "type": "changeFloor", @@ -63,7 +70,8 @@ main.floors.JQ48= "loc": [ 6, 12 - ] + ], + "direction": "up" } ], "eachArrive": [], diff --git a/project/floors/JQ5.js b/project/floors/JQ5.js index e40375c..a205d32 100644 --- a/project/floors/JQ5.js +++ b/project/floors/JQ5.js @@ -36,7 +36,7 @@ main.floors.JQ5= "keep": true }, "小时候的我在老师眼里我就是一个问题学生,我和其它的同学都不一样,我经常上课走动,不老实。还经常趁着老师不在的时候搞事,就连老师电脑文件都给删了。", - "后来,我父母花费重金给我找了一个阿姨,希望能把我教育好。我也换了一家幼儿园学习。", + "后来,我父母花费重金给我找了一个阿姨,希望能把我教育好。而我也换了一家幼儿园学习。", { "type": "changeFloor", "floorId": "MT21", diff --git a/project/floors/JQ50.js b/project/floors/JQ50.js index 6e16857..456b941 100644 --- a/project/floors/JQ50.js +++ b/project/floors/JQ50.js @@ -19,7 +19,7 @@ main.floors.JQ50= "time": 1000 }, "\t[hero]请问您找我有啥事吗?", - "\t[人事,N988]来了啊,座吧。", + "\t[人事,N988]来了啊,坐吧。", { "type": "moveHero", "time": 500, @@ -31,8 +31,12 @@ main.floors.JQ50= "type": "changePos", "direction": "up" }, + { + "type": "sleep", + "time": 500 + }, "\t[人事,N988]是这样的,我们这边觉得您不太适合我们的工作,我们决定不再录用你。", - "\t[hero]不我们已经签了协议了啊。", + "\t[hero]可我们已经签了协议了啊。", "\t[人事,N988]不好意思了,但您真的不适合这份工作。我们打算与您解约。不过我们会按照规定给您一定赔偿。", "\t[人事,N988]你也别在这耽误了,早点去找更好的工作吧。我看了你的简历,你非常优秀。", { @@ -51,9 +55,16 @@ main.floors.JQ50= "time": 500 }, "就这样,我与公司解约了。我只能另谋出路。", + "重新优化路线再打一遍就能打出完美结局啦。", + { + "type": "setValue", + "name": "status:hp", + "value": "1" + }, { "type": "win", - "reason": "" + "reason": "临门一脚", + "norank": 1 } ], "eachArrive": [], diff --git a/project/floors/JQ51.js b/project/floors/JQ51.js index 4be6c27..6b0f111 100644 --- a/project/floors/JQ51.js +++ b/project/floors/JQ51.js @@ -15,21 +15,27 @@ main.floors.JQ51= "bgm": "dijia.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 - }, - "这就是我的故事,我的真实人生。", - "一路走来,风风雨雨,磕磕绊绊,我学到了很多失去了很多收获了很多。我对我的过去无怨无悔,我能做的只有不断向前看。", - "我的人生仅仅是一个开始,大千世界还有太多的未知等待着我去探索。", - "星空的背后是孤寂的,但又拥有着希望,犹如黎明的曙光,带着希望,走向未来。", - "未来,就是你站在茫茫星空的这一边,遥望着星空的那一边,充满好奇心,憧憬星空之上的向往,正是对未来的渴望。不了解与向往,所以才有了去追逐未来的勇气。", - "未来的路上,等待我的也许是荆棘,也许是指南针,我不知道路在何方,但我唯一可以肯定的是,我该对未来有信心,因为我在努力。", - "以梦为马,不负韶华,流年笑掷,未来可期,不忘初心,方得始终!", - { - "type": "moveHero", - "time": 1000, - "steps": [ - "up:10" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "setCurtain", + "time": 1000 + }, + "这就是我的故事,我的真实人生。", + "一路走来,风风雨雨,磕磕绊绊,我学到了很多失去了很多收获了很多。我对我的过去无怨无悔,我能做的只有不断向前看。", + "我的人生仅仅是一个开始,大千世界还有太多的未知等待着我去探索。", + "星空的背后是孤寂的,但又拥有着希望,犹如黎明的曙光,带着希望,走向未来。", + "未来,就是你站在茫茫星空的这一边,遥望着星空的那一边,充满好奇心,憧憬星空之上的向往,正是对未来的渴望。不了解与向往,所以才有了去追逐未来的勇气。", + "未来的路上,等待我的也许是荆棘,也许是指南针,我不知道路在何方,但我唯一可以肯定的是,我该对未来有信心,因为我在努力。", + "以梦为马,不负韶华,流年笑掷,未来可期,不忘初心,方得始终!", + { + "type": "moveHero", + "time": 1000, + "steps": [ + "up:10" + ] + } ] } ], @@ -38,17 +44,88 @@ main.floors.JQ51= "events": { "6,0": [ { - "type": "showStatusBar" - }, - "愿我们的征途都是星辰大海....", - { - "type": "setValue", - "name": "status:hp", - "value": "flag:score*5" - }, - { - "type": "win", - "reason": "雏鹰展翅" + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "setValue", + "name": "status:hp", + "value": "flag:score*5" + }, + { + "type": "win", + "reason": "雏鹰展翅" + } + ], + "false": [ + { + "type": "showStatusBar" + }, + { + "type": "choices", + "text": "到这故事就讲完了,请选择是否要观看本塔总结以及我这些年生活的感悟,真实想法和本塔的一些事。", + "choices": [ + { + "text": "查看最后总结并提交成绩", + "action": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "这就是我的故事,平凡但又充满曲折的经历。", + "本塔是我的真实经历,因为我感觉我这一路走来不是一帆风顺,所以便将我的故事加以整理做成了塔。", + "如今我已经大学毕业,我也不知道我在华为的发展会是什么样,但享受当下难道不就一件有意见的事情吗?", + "我小时候,经历过被排挤 ,也展现出与众不同的天赋。酸甜苦辣五味杂陈。我深刻的体验到了人生的滋味。", + "每一次成功都来之不易,每一次失败都刻骨铭心。抬头看向星空的时候,总能想到过去的点点滴滴。即使已经过去多年,但那些场景却在自己身边五厘米的位置放映着,如同一场电影。", + "过去,我因为拿到满分,竞赛获奖,考入高中,签约北大,进入大学校园而欢欣鼓舞。也因自身的缺陷,他人的反感,一系列的失利而黯然神伤。", + "过去的事实已无法更改,无论前面如何,我都会勇敢面对明天早上推开门之后真实的生活,这才是人生真正的魅力", + "最后,给在读大学或者未读大学的学弟学妹们一点建议。这是我根据我自己的四年学习经历总结出来的。", + "大一大二记得多学习基础,多做点项目或者竞赛之类,实习和进老师实验组越早越好。", + "最好大二进组,大二下开始找实习,大二暑假就开始实习,大三尽量也多干点活,大三下再开始找一个在大三暑假的一个实习。", + "大三六月份可以开始投秋招的简历了,到八月份差不多结束。秋招差不多十一到十二月就尘埃落定了,不要等到大四才想到找工作找实习之类的。", + "找工作和找导师都最好大二就开始准备起来了。最好有两段实习,有实习比没有好,即使实习的企业很小。\n以上就是我的全部建议。", + "愿我们的征途都是星辰大海....", + { + "type": "setValue", + "name": "status:hp", + "value": "flag:score*5" + }, + { + "type": "win", + "reason": "雏鹰展翅" + } + ] + }, + { + "text": "直接提交成绩", + "action": [ + { + "type": "animate", + "name": "shengdun", + "loc": "hero" + }, + "愿我们的征途都是星辰大海....", + { + "type": "setValue", + "name": "status:hp", + "value": "flag:score*5" + }, + { + "type": "win", + "reason": "雏鹰展翅" + } + ] + } + ] + } + ] } ] }, diff --git a/project/floors/JQ7.js b/project/floors/JQ7.js index e079776..0e2e58c 100644 --- a/project/floors/JQ7.js +++ b/project/floors/JQ7.js @@ -62,7 +62,8 @@ main.floors.JQ7= "loc": [ 10, 3 - ] + ], + "direction": "down" } ], "eachArrive": [], diff --git a/project/floors/MT0.js b/project/floors/MT0.js index a7d9ac5..a1c2293 100644 --- a/project/floors/MT0.js +++ b/project/floors/MT0.js @@ -30,7 +30,7 @@ main.floors.MT0= [ 0, 0, 0, 0, 0,40225, 45,40150, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0,40225, 0,40150, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0,40225, 0,40150, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,40224,40180,40182, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,40224,40181,40182, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "firstArrive": [ @@ -62,306 +62,13 @@ main.floors.MT0= "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": { "6,2": [ - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1000, - "keep": true - }, - "2001年3月29日,这是特殊的一天,因为...", - "\t[护士,N413]七斤六两,是个男孩。", - "\t[父亲,N389]哦,是个男孩啊,看样子挺健康。", - "\t[母亲,N385]健康就好,健康就好...\n给他起个名字吧。", - "\t[父亲,N389]我想想啊....嗯,就叫bdf吧。", - "\t[母亲,N385]bdf...挺不错的名字...来,让我看看咱们的宝宝...", - { - "type": "changeFloor", - "floorId": "MT1", - "loc": [ - 6, - 2 - ] - } - ], - "5,6": [ { "type": "if", - "condition": "(flag:hard==3)", + "condition": "(flag:hard===3)", "true": [ - { - "type": "choices", - "text": "\t[bdf,hero]各测塔员成绩", - "choices": [ - { - "text": "星宫白 - 1", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1" - }, - { - "type": "setValue", - "name": "status:mdef", - "operator": "+=", - "value": "3" - } - ] - }, - { - "text": "鸣 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-1" - } - ] - }, - { - "text": "yztm889 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-2" - } - ] - }, - { - "text": "顾 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-3" - } - ] - }, - { - "text": "Farewell - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-4" - } - ] - }, - { - "text": "(主角) bdf - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-5" - } - ] - }, - { - "text": "α - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-6" - } - ] - }, - { - "text": "(作者) 王州 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-7" - } - ] - }, - { - "text": "迷迭香 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-8" - } - ] - } - ] - } - ], - "false": [ - { - "type": "choices", - "text": "\t[bdf,hero]各测塔员成绩", - "choices": [ - { - "text": "星宫白 - 124", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "124" - } - ] - }, - { - "text": "鸣 - 114", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "114" - } - ] - }, - { - "text": "yztm889 - 112", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "112" - } - ] - }, - { - "text": "顾 - 110", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "110" - } - ] - }, - { - "text": "Farewell - 102", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "102" - } - ] - }, - { - "text": "(主角) bdf - 28", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "28" - } - ] - }, - { - "text": "α - 19", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "19" - } - ] - }, - { - "text": "(作者) 王州 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1" - } - ] - }, - { - "text": "迷迭香 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-1" - } - ] - } - ] - } - ] - }, - { - "type": "if", - "condition": "(flag:lhjnb>0)", - "true": [ - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "67" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "30" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "30" - }, - { - "type": "setValue", - "name": "status:mdef", - "operator": "+=", - "value": "81" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "value": "1" - }, - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "1" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "flag:lhjnb" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "-=", - "value": "1" - }, - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "4" - }, { "type": "changeFloor", - "floorId": "MT10", + "floorId": "MT1", "loc": [ 6, 2 @@ -370,682 +77,30 @@ main.floors.MT0= ], "false": [ { - "type": "setValue", - "name": "flag:lhjnb", - "value": "0" - } - ] - } - ], - "5,7": [ - { - "type": "choices", - "text": "\t[${status:name},hero]各测塔员成绩\\i[yellowKey]", - "choices": [ - { - "text": "星宫白 - 3黄 5蓝 366", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "530366" - } - ] - }, - { - "text": "顾 - 3黄 5蓝 282", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "530282" - } - ] - }, - { - "text": "yztm889 - 3黄 5蓝 88", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "530088" - } - ] - }, - { - "text": "(主角) bdf - 0黄 4蓝 229", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "400229" - } - ] - }, - { - "text": "(作者) 王州 - 1黄 1蓝 21", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "110021" - } - ] - }, - { - "text": "(特殊) 测试 - 0黄 0蓝 1", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1" - }, - "此情况过不了啊" - ] - }, - { - "text": "Cancel", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-1" - } - ] - } - ] - }, - { - "type": "if", - "condition": "(flag:lhjnb>0)", - "true": [ - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "235" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "131" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "129" - }, - { - "type": "setValue", - "name": "status:mdef", - "operator": "+=", - "value": "252" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "value": "1068" - }, - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "0" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "flag:lhjnb%10000" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "-=", - "value": "0" - }, - { - "type": "setValue", - "name": "item:yellowKey", - "value": "Math.floor(flag:lhjnb/10000)%10" - }, - { - "type": "setValue", - "name": "item:blueKey", - "value": "Math.floor(flag:lhjnb/100000)%10" - }, - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "114-5*item:blueKey-2*item:yellowKey" - }, - { - "type": "setBlock", - "number": "specialDoor", - "loc": [ - [ - 4, - 6 - ] + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 ], - "floorId": "MT22" + "time": 1000, + "keep": true }, + "2001年3月29日,这是特殊的一天,因为...", + "\t[护士,N413]七斤六两,是个男孩。", + "\t[父亲,N389]哦,是个男孩啊,看样子挺健康。", + "\t[母亲,N385]健康就好,健康就好...\n给他起个名字吧。", + "\t[父亲,N389]我想想啊....嗯,就叫bdf吧。", + "\t[母亲,N385]bdf...挺不错的名字...来,让我看看咱们的宝宝...", { "type": "changeFloor", - "floorId": "MT22", - "loc": [ - 5, - 6 - ] - } - ], - "false": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "0" - } - ] - } - ], - "5,8": [ - { - "type": "choices", - "text": "\t[${status:name},hero]各测塔员成绩\\i[blueKey]", - "choices": [ - { - "text": "星宫白 - 7黄 3蓝 1红 74", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1370074" - } - ] - }, - { - "text": "yztm889 - 6黄 3蓝 1红 7", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1360007" - } - ] - }, - { - "text": "顾 - 5黄 3蓝 1红 95", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1350095" - } - ] - }, - { - "text": "(主角) bdf - 5黄 3蓝 1红 88", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1350088" - } - ] - }, - { - "text": "(特殊) 测试 - 0黄 0蓝 0红 1", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "1" - } - ] - }, - { - "text": "(作者) 王州 - 过不去", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-1" - } - ] - }, - { - "text": "Cancel", - "action": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "-1" - } - ] - } - ] - }, - { - "type": "if", - "condition": "(flag:lhjnb>0)", - "true": [ - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "359" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "251" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "246" - }, - { - "type": "setValue", - "name": "status:mdef", - "operator": "+=", - "value": "520" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "value": "12664" - }, - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "0" - }, - { - "type": "sleep", - "time": 50 - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "flag:lhjnb%10000" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "-=", - "value": "0" - }, - { - "type": "setValue", - "name": "item:yellowKey", - "value": "Math.floor(flag:lhjnb/10000)%10" - }, - { - "type": "setValue", - "name": "item:blueKey", - "value": "Math.floor(flag:lhjnb/100000)%10" - }, - { - "type": "setValue", - "name": "item:redKey", - "value": "Math.floor(flag:lhjnb/1000000)%10" - }, - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "241-15*item:redKey-5*item:blueKey-2*item:yellowKey" - }, - { - "type": "changeFloor", - "floorId": "MT33", + "floorId": "MT1", "loc": [ 6, - 11 + 2 ] } - ], - "false": [ - { - "type": "setValue", - "name": "flag:lhjnb", - "value": "0" - } - ] - } - ], - "7,3": [ - { - "type": "choices", - "text": "\t[${status:name},hero]修改主角名", - "choices": [ - { - "text": "星宫白", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"星宫白\"" - } - ] - }, - { - "text": "鸣", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"鸣\"" - } - ] - }, - { - "text": "yztm889", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"夜战天明889\"" - } - ] - }, - { - "text": "顾", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"顾\"" - } - ] - }, - { - "text": "Farewell", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"Farewell\"" - } - ] - }, - { - "text": "(主角) bdf", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"bdf\"" - } - ] - }, - { - "text": "α", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"α\"" - } - ] - }, - { - "text": "(作者) 王州", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"王州\"" - } - ] - }, - { - "text": "迷迭香", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"迷迭香\"" - } - ] - }, - { - "text": "Others", - "action": [ - { - "type": "choices", - "text": "\t[${status:name},hero]修改主角名", - "choices": [ - { - "text": "鹿间裕贵", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"鹿间裕贵\"" - } - ] - }, - { - "text": "rys", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"rys\"" - } - ] - }, - { - "text": "北海小羊", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"北海小羊\"" - } - ] - }, - { - "text": "影法师", - "action": [ - { - "type": "setValue", - "name": "status:nameb", - "value": "\"影法师\"" - } - ] - }, - { - "text": "袜子精Boris", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"袜子精Boris\"" - } - ] - }, - { - "text": "金中梅西", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"金中梅西\"" - } - ] - }, - { - "text": "喜食佩刀的米格", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"喜食佩刀的米格\"" - } - ] - }, - { - "text": "千夜", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"千夜\"" - } - ] - }, - { - "text": "魔羊羊1", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"魔羊羊1\"" - } - ] - }, - { - "text": "castor_v_pollux", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"castor_v_pollux\"" - } - ] - }, - { - "text": "雨落南洋", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"雨落南洋\"" - } - ] - }, - { - "text": "悬壶桦雪", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"悬壶桦雪\"" - } - ] - }, - { - "text": "古祠", - "action": [ - { - "type": "setValue", - "name": "status:name", - "value": "\"古祠\"" - } - ] - }, - { - "text": "Cancel", - "action": [] - } - ] - } - ] - }, - { - "text": "Cancel", - "action": [] - } - ] - } - ], - "5,3": [ - { - "type": "choices", - "text": "\t[${status:name},hero]重置信息", - "choices": [ - { - "text": "重置uid", - "action": [ - { - "type": "input", - "text": "输入uid谢谢喵" - }, - { - "type": "if", - "condition": "core.username[flag:input]", - "true": [ - { - "type": "setValue", - "name": "flag:uid", - "value": "flag:input" - }, - { - "type": "setValue", - "name": "flag:user", - "value": "core.username[flag:uid]" - } - ] - } - ] - }, - { - "text": "重置username", - "action": [ - { - "type": "input2", - "text": "输入username谢谢喵" - }, - { - "type": "if", - "condition": "flag:input", - "true": [ - { - "type": "setValue", - "name": "flag:uid", - "value": "0" - }, - { - "type": "setValue", - "name": "flag:user", - "value": "flag:input" - } - ] - } - ] - } - ] - } - ], - "6,11": [ - { - "type": "if", - "condition": "(core.guanzhu && flag:uid)", - "true": [ - { - "type": "function", - "function": "function(){\nvar fol = [],\n\tfan = []\nfor (var i of core.guanzhu) {\n\tif (i[0] == flags.uid && core.username[i[1]]) fol.push('[' + i[1] + ']' + core.username[i[1]]);\n\telse if (i[0] == flags.uid && !core.username[i[1]]) console.log(\"invaild foll: \", i[1]);\n\tif (i[1] == flags.uid && core.username[i[0]]) fan.push('[' + i[0] + ']' + core.username[i[0]]);\n\telse if (i[1] == flags.uid && !core.username[i[0]]) console.log(\"invaild fans: \", i[0]);\n}\nvar temp = fol.length + fan.length;\nvar lhjnb = [];\nif (fol.length <= 40)\n\tlhjnb.push(\"关注数 \" + fol.length + String.fromCharCode(10) + fol.toLocaleString())\nelse {\n\tlhjnb.push(\"关注数 \" + fol.length + String.fromCharCode(10) + fol.splice(0, 40).toLocaleString())\n\twhile (fol.length > 0) lhjnb.push(fol.splice(0, 40).toLocaleString())\n}\nif (fan.length <= 40)\n\tlhjnb.push(\"粉丝数 \" + fan.length + String.fromCharCode(10) + fan.toLocaleString())\nelse {\n\tlhjnb.push(\"粉丝数 \" + fan.length + String.fromCharCode(10) + fan.splice(0, 40).toLocaleString())\n\twhile (fan.length > 0) lhjnb.push(fan.splice(0, 40).toLocaleString())\n}\n\nif (temp > 0) core.insertAction(lhjnb)\n}" - } ] } ] @@ -1054,7 +109,7 @@ main.floors.MT0= "afterBattle": {}, "afterGetItem": { "6,4": [ - "本塔的设定集(强烈建议打开)" + "本塔的设定集和游玩提示注意事项(强烈建议打开)" ] }, "afterOpenDoor": {}, diff --git a/project/floors/MT1.js b/project/floors/MT1.js index 3913726..845c8e4 100644 --- a/project/floors/MT1.js +++ b/project/floors/MT1.js @@ -22,38 +22,61 @@ main.floors.MT1= "defaultGround": "ground", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "changePos", - "direction": "down" - }, - "从这层开始的三层,到了下一层都不能返回,铁门需要你击败所有的怪物。" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "changePos", + "direction": "down" + }, + "从这层开始的三层,到了下一层都不能返回,铁门需要你击败所有的怪物。" + ], + "false": [] + } ], "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": { "6,10": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT2", + "loc": [ + 6, + 10 + ] + } ], - "time": 500, - "keep": true - }, - "\t[父亲,N389]孩子明天就满月了,辛苦你了。", - "\t[母亲,N385]不辛苦,只要孩子健康成长一切都是值得的。\n好了,宝宝乖...咱不哭", - { - "type": "changeFloor", - "floorId": "MT2", - "loc": [ - 6, - 10 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 500, + "keep": true + }, + "\t[父亲,N389]孩子明天就满月了,辛苦你了。", + "\t[母亲,N385]不辛苦,只要孩子健康成长一切都是值得的。\n好了,宝宝乖...咱不哭", + { + "type": "changeFloor", + "floorId": "MT2", + "loc": [ + 6, + 10 + ] + } ] } ] diff --git a/project/floors/MT10.js b/project/floors/MT10.js index a7c1dd9..8eab2a7 100644 --- a/project/floors/MT10.js +++ b/project/floors/MT10.js @@ -26,25 +26,42 @@ main.floors.MT10= "events": { "6,1": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT11", + "loc": [ + 6, + 9 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ1", - "loc": [ - 6, - 12 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ1", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT105.js b/project/floors/MT105.js index a1ad833..3a03d77 100644 --- a/project/floors/MT105.js +++ b/project/floors/MT105.js @@ -24,27 +24,62 @@ main.floors.MT105= "events": { "6,4": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "if", + "condition": "(status:def>8580)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT106", + "loc": [ + 6, + 12 + ], + "direction": "up" + } + ], + "false": [ + "请把全部宝石吃完。" + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ38", - "loc": [ - 2, - 7 - ], - "direction": "up" + "false": [ + { + "type": "if", + "condition": "(status:def>8580)", + "true": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ38", + "loc": [ + 2, + 7 + ], + "direction": "up" + } + ], + "false": [ + "请把全部宝石吃完。" + ] + } + ] } ] }, diff --git a/project/floors/MT12.js b/project/floors/MT12.js index d88a0bf..a2e9c53 100644 --- a/project/floors/MT12.js +++ b/project/floors/MT12.js @@ -358,25 +358,41 @@ main.floors.MT12= ], "6,6": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT16", + "loc": [ + 6, + 10 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ3", - "loc": [ - 6, - 12 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ3", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT120.js b/project/floors/MT120.js index 3052d3c..d4f140e 100644 --- a/project/floors/MT120.js +++ b/project/floors/MT120.js @@ -19,22 +19,42 @@ main.floors.MT120= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS4", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ28", - "loc": [ - 6, - 12 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ28", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT121.js b/project/floors/MT121.js index 934ed4b..f77c4c3 100644 --- a/project/floors/MT121.js +++ b/project/floors/MT121.js @@ -32,6 +32,11 @@ main.floors.MT121= { "type": "showStatusBar" }, + { + "type": "setValue", + "name": "item:I804", + "value": "0" + }, { "type": "setValue", "name": "item:I800", diff --git a/project/floors/MT124.js b/project/floors/MT124.js index cd65144..cc54a2b 100644 --- a/project/floors/MT124.js +++ b/project/floors/MT124.js @@ -128,7 +128,8 @@ main.floors.MT124= "value": "null" } ] - } + }, + "1": null } }, "cannotMove": {}, diff --git a/project/floors/MT132.js b/project/floors/MT132.js index 8b38f34..0cfd13e 100644 --- a/project/floors/MT132.js +++ b/project/floors/MT132.js @@ -30,29 +30,46 @@ main.floors.MT132= "events": { "6,8": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT133", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ33", - "loc": [ - 7, - 8 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ33", + "loc": [ + 7, + 8 + ] + } ] } ] diff --git a/project/floors/MT144.js b/project/floors/MT144.js index 55b3d02..339c88f 100644 --- a/project/floors/MT144.js +++ b/project/floors/MT144.js @@ -19,29 +19,46 @@ main.floors.MT144= "events": { "6,3": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS5", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "showStatusBar" - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ29", - "loc": [ - 5, - 7 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "showStatusBar" + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ29", + "loc": [ + 5, + 7 + ] + } ] } ] diff --git a/project/floors/MT153.js b/project/floors/MT153.js index 29c1916..d97f98f 100644 --- a/project/floors/MT153.js +++ b/project/floors/MT153.js @@ -27,27 +27,44 @@ main.floors.MT153= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT154", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ44", - "loc": [ - 8, - 5 - ], - "direction": "down" + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ44", + "loc": [ + 8, + 5 + ], + "direction": "down" + } + ] } ] }, diff --git a/project/floors/MT156.js b/project/floors/MT156.js index 050fdba..9abf857 100644 --- a/project/floors/MT156.js +++ b/project/floors/MT156.js @@ -31,9 +31,18 @@ main.floors.MT156= "events": { "10,1": [ { - "type": "openShop", - "id": "shop1", - "open": true + "type": "if", + "condition": "flag:shop1>=2&&flag:shop2>=2", + "true": [ + "神像眼中的红光已经彻底灭了,再无任何反应。" + ], + "false": [ + { + "type": "openShop", + "id": "shop1", + "open": true + } + ] } ] }, diff --git a/project/floors/MT158.js b/project/floors/MT158.js index 994c054..e21d021 100644 --- a/project/floors/MT158.js +++ b/project/floors/MT158.js @@ -26,27 +26,59 @@ main.floors.MT158= "events": { "0,6": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "disableShop", + "id": "shop1" + }, + { + "type": "changeFloor", + "floorId": "MT159", + "loc": [ + 12, + 6 + ], + "direction": "left" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ45", - "loc": [ - 6, - 12 + "false": [ + { + "type": "disableShop", + "id": "shop1" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ45", + "loc": [ + 6, + 12 + ] + } ] } + ], + "2,6": [ + "记得把在商店加点,下一区会关闭。", + { + "type": "hide", + "remove": true + } ] }, "changeFloor": { diff --git a/project/floors/MT160.js b/project/floors/MT160.js index dca4bf8..1fa9606 100644 --- a/project/floors/MT160.js +++ b/project/floors/MT160.js @@ -26,9 +26,18 @@ main.floors.MT160= "events": { "3,1": [ { - "type": "openShop", - "id": "shop2", - "open": true + "type": "if", + "condition": "flag:shop3>=3&&flag:shop4>=3", + "true": [ + "神像眼中的红光已经彻底灭了,再无任何反应。" + ], + "false": [ + { + "type": "openShop", + "id": "shop2", + "open": true + } + ] } ] }, diff --git a/project/floors/MT163.js b/project/floors/MT163.js index c11b818..6530e99 100644 --- a/project/floors/MT163.js +++ b/project/floors/MT163.js @@ -26,31 +26,63 @@ main.floors.MT163= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "disableShop", + "id": "shop2" + }, + { + "type": "changeFloor", + "floorId": "MT164", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ46", - "loc": [ - 6, - 12 + "false": [ + { + "type": "disableShop", + "id": "shop2" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ46", + "loc": [ + 6, + 12 + ] + } ] } + ], + "7,0": [ + "记得在商店加点,下一区关闭。", + { + "type": "hide", + "remove": true + } ] }, "changeFloor": { diff --git a/project/floors/MT17.js b/project/floors/MT17.js index 5bffb8f..dd85093 100644 --- a/project/floors/MT17.js +++ b/project/floors/MT17.js @@ -465,25 +465,41 @@ main.floors.MT17= ], "6,6": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT21", + "loc": [ + 6, + 12 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ4", - "loc": [ - 6, - 11 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ4", + "loc": [ + 6, + 11 + ] + } ] } ] diff --git a/project/floors/MT179.js b/project/floors/MT179.js index e04fc4e..dc76c61 100644 --- a/project/floors/MT179.js +++ b/project/floors/MT179.js @@ -28,11 +28,6 @@ main.floors.MT179= }, { "type": "showStatusBar" - }, - { - "type": "setValue", - "name": "flag:score", - "value": "item:yellowKey*2+item:blueKey*5+item:redKey*15+item:pickaxe*30" } ], "eachArrive": [], @@ -41,7 +36,7 @@ main.floors.MT179= "6,0": [ { "type": "if", - "condition": "switch:A", + "condition": "(flag:hard===3)", "true": [ { "type": "changeFloor", @@ -53,19 +48,35 @@ main.floors.MT179= } ], "false": [ - "我选择华为的那会,起初他们并没有理我。我一度心灰意冷,因为我害怕我的孤注一掷换来的是失败的结果。", - "生活之中,总会要面对让自己感到痛苦与无力的事情。有时候换来的失败。但成功只是一时的,失败才是主旋律,不能害怕失败,在失败中跌倒那么就想尽办法爬起来!", { - "type": "setValue", - "name": "switch:A", - "value": "true" - }, - { - "type": "changeFloor", - "floorId": "MT180", - "loc": [ - 6, - 12 + "type": "if", + "condition": "switch:A", + "true": [ + { + "type": "changeFloor", + "floorId": "MT180", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "我选择华为的那会,起初他们并没有理我。我一度心灰意冷,因为我害怕我的孤注一掷换来的是失败的结果。", + "生活之中,总会要面对让自己感到痛苦与无力的事情。有时候换来的失败。但成功只是一时的,失败才是主旋律,不能害怕失败,在失败中跌倒那么就想尽办法爬起来!", + { + "type": "setValue", + "name": "switch:A", + "value": "true" + }, + { + "type": "changeFloor", + "floorId": "MT180", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT180.js b/project/floors/MT180.js index 7a400eb..451574d 100644 --- a/project/floors/MT180.js +++ b/project/floors/MT180.js @@ -28,7 +28,7 @@ main.floors.MT180= "6,0": [ { "type": "if", - "condition": "switch:B", + "condition": "(flag:hard===3)", "true": [ { "type": "changeFloor", @@ -40,19 +40,35 @@ main.floors.MT180= } ], "false": [ - "正所谓失败过后总会出现彩虹,黑暗过后必将是黎明的到来。最终,我经历了十几次投递,并在华为公司面试了五轮后,获得了华为的offer。", - "这是我真真正正的获得的offer,此时此刻我的心情难以用语言表达。正所谓生活可能没有你想象的那么好,但绝对不会那么糟。人的坚强有时超乎自己的想象,认定的事情多坚持一下,说不定就成功了!", { - "type": "setValue", - "name": "switch:B", - "value": "true" - }, - { - "type": "changeFloor", - "floorId": "MT181", - "loc": [ - 6, - 12 + "type": "if", + "condition": "switch:B", + "true": [ + { + "type": "changeFloor", + "floorId": "MT181", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "正所谓失败过后总会出现彩虹,黑暗过后必将是黎明的到来。最终,我经历了十几次投递,并在华为公司面试了五轮后,获得了华为的offer。", + "这是我真真正正的获得的offer,此时此刻我的心情难以用语言表达。正所谓生活可能没有你想象的那么好,但绝对不会那么糟。人的坚强有时超乎自己的想象,认定的事情多坚持一下,说不定就成功了!", + { + "type": "setValue", + "name": "switch:B", + "value": "true" + }, + { + "type": "changeFloor", + "floorId": "MT181", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT181.js b/project/floors/MT181.js index 7566baa..62fb579 100644 --- a/project/floors/MT181.js +++ b/project/floors/MT181.js @@ -28,7 +28,7 @@ main.floors.MT181= "6,0": [ { "type": "if", - "condition": "switch:C", + "condition": "(flag:hard===3)", "true": [ { "type": "changeFloor", @@ -40,19 +40,35 @@ main.floors.MT181= } ], "false": [ - "生活有时是枯燥乏味的,但恰恰可以在这乏味的生活中寻找快乐。这样,自己的人生说不定就会更加丰富多彩不是吗?每个人都有权利追逐快乐。", - "魔塔是众多人的童年回忆,而我也非常喜欢魔塔。我从2019年入H5,到现在已经四年了,我做了十多个小游戏,投资了攻略激励计划和逐梦九天计划。希望H5可以越来越好。", { - "type": "setValue", - "name": "switch:C", - "value": "true" - }, - { - "type": "changeFloor", - "floorId": "MT182", - "loc": [ - 6, - 12 + "type": "if", + "condition": "switch:C", + "true": [ + { + "type": "changeFloor", + "floorId": "MT182", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "生活有时是枯燥乏味的,但恰恰可以在这乏味的生活中寻找快乐。这样,自己的人生说不定就会更加丰富多彩不是吗?每个人都有权利追逐快乐。", + "魔塔是众多人的童年回忆,而我也非常喜欢魔塔。我从2019年入H5,到现在已经四年了,我做了十多个小游戏,投资了攻略激励计划和逐梦九天计划。希望H5可以越来越好。", + { + "type": "setValue", + "name": "switch:C", + "value": "true" + }, + { + "type": "changeFloor", + "floorId": "MT182", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT182.js b/project/floors/MT182.js index d9429a1..254eed1 100644 --- a/project/floors/MT182.js +++ b/project/floors/MT182.js @@ -28,7 +28,7 @@ main.floors.MT182= "6,0": [ { "type": "if", - "condition": "switch:D", + "condition": "(flag:hard===3)", "true": [ { "type": "changeFloor", @@ -40,19 +40,35 @@ main.floors.MT182= } ], "false": [ - "当我们长大后,需要做的就是自己独立,不能总依靠父母。大四我利用课余时间给别人进行一对一上课辅导赚了一笔钱。这一次我没有被抵制,但我很清楚,未来的路不可能像这次这样这么好走。", - "人都是很现实的,钱是生活的根本。而我们拼命学习的很大部分就是为了今后可以找到好工作。而当我们开始赚钱时,好几座大山会立刻压在自己背上。", { - "type": "setValue", - "name": "switch:D", - "value": "true" - }, - { - "type": "changeFloor", - "floorId": "MT183", - "loc": [ - 6, - 12 + "type": "if", + "condition": "switch:D", + "true": [ + { + "type": "changeFloor", + "floorId": "MT183", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "当我们长大后,需要做的就是自己独立,不能总依靠父母。大四我利用课余时间给别人进行一对一上课辅导赚了一笔钱。这一次我没有被抵制,但我很清楚,未来的路不可能像这次这样这么好走。", + "人都是很现实的,钱是生活的根本。而我们拼命学习的很大部分就是为了今后可以找到好工作。而当我们开始赚钱时,好几座大山会立刻压在自己背上。", + { + "type": "setValue", + "name": "switch:D", + "value": "true" + }, + { + "type": "changeFloor", + "floorId": "MT183", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT183.js b/project/floors/MT183.js index 9ca0b81..5269b62 100644 --- a/project/floors/MT183.js +++ b/project/floors/MT183.js @@ -27,41 +27,58 @@ main.floors.MT183= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS7", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - "到底什么是梦境什么是真实?为何我会如此确信自己不是做梦?也许人生不过是一场梦境,醒来之时一切都已经结束了。", - "但是,人生不是梦。梦里啥都有,现实自己闯!因为我们只能一步一个脚印的走下去,从无到有,而不是一开始啥都有,因为这样我们才能如此确信自己不是在做梦。", - "我坚信,我可以把自己的现实闯好!", - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ48", - "loc": [ - 4, - 6 - ], - "direction": "right" + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "到底什么是梦境什么是真实?为何我会如此确信自己不是做梦?也许人生不过是一场梦境,醒来之时一切都已经结束了。", + "但是,人生不是梦。梦里啥都有,现实自己闯!因为我们只能一步一个脚印的走下去,从无到有,而不是一开始啥都有,因为这样我们才能如此确信自己不是在做梦。", + "我坚信,我可以把自己的现实闯好!", + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ48", + "loc": [ + 4, + 6 + ], + "direction": "right" + } + ] } ] }, diff --git a/project/floors/MT184.js b/project/floors/MT184.js index 073fbcf..ac7f242 100644 --- a/project/floors/MT184.js +++ b/project/floors/MT184.js @@ -5,9 +5,9 @@ main.floors.MT184= "name": "最后的大学", "width": 13, "height": 13, - "canFlyTo": false, - "canFlyFrom": false, - "canUseQuickShop": false, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, "cannotViewMap": false, "images": [ { @@ -26,31 +26,54 @@ main.floors.MT184= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS6", + "loc": [ + 6, + 12 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ47", - "loc": [ - 6, - 12 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ47", + "loc": [ + 6, + 12 + ] + } ] } + ], + "6,10": [ + "记得商店加点。", + { + "type": "hide", + "remove": true + } ] }, "changeFloor": { @@ -95,5 +118,9 @@ main.floors.MT184= ], "fg2map": [ -] +], + "flyPoint": [ + 6, + 12 + ] } \ No newline at end of file diff --git a/project/floors/MT2.js b/project/floors/MT2.js index 44762e7..f81f760 100644 --- a/project/floors/MT2.js +++ b/project/floors/MT2.js @@ -22,8 +22,15 @@ main.floors.MT2= "defaultGround": "ground", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "setCurtain", + "time": 1000 + } + ], + "false": [] } ], "eachArrive": [], @@ -31,24 +38,40 @@ main.floors.MT2= "events": { "6,6": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT3", + "loc": [ + 6, + 6 + ] + } ], - "time": 1000, - "keep": true - }, - "\t[母亲,N385]孩子他爸,明天咱儿子就要过百日了,宴席准备的咋样了?", - "\t[父亲,N389]放心吧,一切准备就绪,明天就让大家看一看这孩子。\n来,让爸爸抱抱..", - { - "type": "changeFloor", - "floorId": "MT3", - "loc": [ - 6, - 6 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "\t[母亲,N385]孩子他爸,明天咱儿子就要过百日了,宴席准备的咋样了?", + "\t[父亲,N389]放心吧,一切准备就绪,明天就让大家看一看这孩子。\n来,让爸爸抱抱..", + { + "type": "changeFloor", + "floorId": "MT3", + "loc": [ + 6, + 6 + ] + } ] } ] diff --git a/project/floors/MT22.js b/project/floors/MT22.js index 15e62fb..523f3e0 100644 --- a/project/floors/MT22.js +++ b/project/floors/MT22.js @@ -327,25 +327,41 @@ main.floors.MT22= ], "6,6": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT26", + "loc": [ + 6, + 12 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ6", - "loc": [ - 5, - 3 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ6", + "loc": [ + 5, + 3 + ] + } ] } ] diff --git a/project/floors/MT26.js b/project/floors/MT26.js index 8175d1a..0e8867b 100644 --- a/project/floors/MT26.js +++ b/project/floors/MT26.js @@ -20,7 +20,8 @@ main.floors.MT26= { "type": "setCurtain", "time": 1000 - } + }, + "后面的红蓝绿黄宝石必须拿完,不然可能卡关。" ], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MT3.js b/project/floors/MT3.js index 88a5d77..74d8bb1 100644 --- a/project/floors/MT3.js +++ b/project/floors/MT3.js @@ -31,26 +31,42 @@ main.floors.MT3= "events": { "6,8": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT4", + "loc": [ + 6, + 9 + ] + } ], - "time": 1000, - "keep": true - }, - "\t[父亲,N389]${core.status.hero.flags.truename || core.status.hero.name}已经一周岁了。许个愿望吧。", - "\t[母亲,N385]许个什么愿望呢...", - "\t[母亲,N385]希望他能平平安安健健康康吧。以后的路还很长,要靠他自己,我们当父母的默默的支持他就好。", - "\t[父亲,N389]嗯嗯,平安健康就好,我儿子将来一定会有出息的。", - { - "type": "changeFloor", - "floorId": "MT4", - "loc": [ - 6, - 9 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "\t[父亲,N389]${core.status.hero.flags.truename || core.status.hero.name}已经一周岁了。许个愿望吧。", + "\t[母亲,N385]许个什么愿望呢...", + "\t[母亲,N385]希望他能平平安安健健康康吧。以后的路还很长,要靠他自己,我们当父母的默默的支持他就好。", + "\t[父亲,N389]嗯嗯,平安健康就好,我儿子将来一定会有出息的。", + { + "type": "changeFloor", + "floorId": "MT4", + "loc": [ + 6, + 9 + ] + } ] } ] diff --git a/project/floors/MT32.js b/project/floors/MT32.js index 4d95169..9c6e5af 100644 --- a/project/floors/MT32.js +++ b/project/floors/MT32.js @@ -19,27 +19,62 @@ main.floors.MT32= "events": { "6,6": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "if", + "condition": "(status:mdef>515)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT34", + "loc": [ + 6, + 12 + ], + "direction": "up" + } + ], + "false": [ + "把所有宝石都吃完才给过。" + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ7", - "loc": [ - 2, - 11 - ], - "direction": "up" + "false": [ + { + "type": "if", + "condition": "(status:mdef>515)", + "true": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ7", + "loc": [ + 2, + 11 + ], + "direction": "up" + } + ], + "false": [ + "把所有宝石都吃完才给过" + ] + } + ] } ] }, diff --git a/project/floors/MT33.js b/project/floors/MT33.js index 2e92f6f..2115e81 100644 --- a/project/floors/MT33.js +++ b/project/floors/MT33.js @@ -15,103 +15,130 @@ main.floors.MT33= "bgm": "heidian.mp3", "firstArrive": [ { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "*=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "10" + }, + "生命翻十倍,功防血翻5倍。" ], - "time": 2000, - "times": 1 - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 2000, - "times": 1 - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1000, - "keep": true - }, - "没错,在我被周围几乎所有人歧视的时候,我父母站了出来。", - "在我难过的时候,他们安慰我,在我需要帮助的时候,他们出面帮助我。", - "人生之中,总会有人可以无条件的支持你,帮助你,一直默默地守护着你。请不要相信你是孤单一人,也许我们已经遇到真正对自己好的人!大千世界,总有属于自己的归处!", - "\t[父亲]bdf,别想太多,好好学习!", - "\t[母亲]不管你怎样,我们永远会支持你。", - { - "type": "setValue", - "name": "status:atk", - "operator": "*=", - "value": "5" - }, - "\t[父亲]请放心,bdf绝没有任何疾病,请在给他一些时间,我可以为他担保!", - "\t[母亲]校长,感谢您愿意相信bdf。", - { - "type": "setValue", - "name": "status:def", - "operator": "*=", - "value": "5" - }, - "\t[E346]他要是没多动症,可能到处走动到我家孩子那吗?", - "\t[E346]他要是没问题,会和我家孩子起冲突?", - "\t[E346]赶紧消失吧你!", - "\t[母亲]孩子他爸,我觉得我们儿子今后会很艰难,不管怎么说他依旧我行我素,我真不知道他到底咋想的。", - "\t[父亲]他还小,将来面对的挫折只会更多,咱们继续支持他就好。", - "\t[母亲]我也不希望bdf将来有太大出息,只希望他平平安安,安安稳稳就好!", - "\t[父亲]会的!", - { - "type": "setValue", - "name": "status:hp", - "operator": "*=", - "value": "10" - }, - "我可能已经忘记,但不会遗忘!", - "谢谢!", - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1000, - "times": 1 - }, - { - "type": "playSound", - "name": "061-Thunderclap01.ogg" - }, - { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "animate", - "name": "shengdun", - "loc": "hero" + "false": [ + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1 + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 2000, + "times": 1 + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "没错,在我被周围几乎所有人歧视的时候,我父母站了出来。", + "在我难过的时候,他们安慰我,在我需要帮助的时候,他们出面帮助我。", + "人生之中,总会有人可以无条件的支持你,帮助你,一直默默地守护着你。请不要相信你是孤单一人,也许我们已经遇到真正对自己好的人!大千世界,总有属于自己的归处!", + "\t[父亲]bdf,别想太多,好好学习!", + "\t[母亲]不管你怎样,我们永远会支持你。", + { + "type": "setValue", + "name": "status:atk", + "operator": "*=", + "value": "5" + }, + "\t[父亲]请放心,bdf绝没有任何疾病,请在给他一些时间,我可以为他担保!", + "\t[母亲]校长,感谢您愿意相信bdf。", + { + "type": "setValue", + "name": "status:def", + "operator": "*=", + "value": "5" + }, + "\t[E346]他要是没多动症,可能到处走动到我家孩子那吗?", + "\t[E346]他要是没问题,会和我家孩子起冲突?", + "\t[E346]赶紧消失吧你!", + "\t[母亲]孩子他爸,我觉得我们儿子今后会很艰难,不管怎么说他依旧我行我素,我真不知道他到底咋想的。", + "\t[父亲]他还小,将来面对的挫折只会更多,咱们继续支持他就好。", + "\t[母亲]我也不希望bdf将来有太大出息,只希望他平平安安,安安稳稳就好!", + "\t[父亲]会的!", + { + "type": "setValue", + "name": "status:hp", + "operator": "*=", + "value": "10" + }, + "我可能已经忘记,但不会遗忘!", + "谢谢!", + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "times": 1 + }, + { + "type": "playSound", + "name": "061-Thunderclap01.ogg" + }, + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "animate", + "name": "shengdun", + "loc": "hero" + } + ] } ], "eachArrive": [], @@ -121,121 +148,161 @@ main.floors.MT33= "beforeBattle": { "6,1": [ { - "type": "animate", - "name": "boss", - "loc": "hero" - }, - { - "type": "animate", - "name": "chanrao", - "loc": "hero" - }, - { - "type": "vibrate", - "direction": "horizontal", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "vibrate", - "direction": "vertical", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1000, - "times": 1 - }, - "不管外面有多少人想对我不利,但只要我还有一口气,还有人不懈余力的支持我!那么哪怕粉身碎骨,也依旧有翻盘的希望!", - { - "type": "animate", - "name": "chanrao", - "loc": "hero" - }, - { - "type": "vibrate", - "direction": "diagonal1", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "vibrate", - "direction": "diagonal2", - "time": 2000, - "speed": 10, - "power": 10 - }, - { - "type": "animate", - "name": "fire2", - "loc": "hero" - }, - { - "type": "animate", - "name": "sword3", - "loc": "hero", - "async": true - }, - { - "type": "animate", - "name": "sword3", - "loc": "hero" + "type": "if", + "condition": "(flag:hard<3)", + "true": [ + { + "type": "animate", + "name": "boss", + "loc": "hero" + }, + { + "type": "animate", + "name": "chanrao", + "loc": "hero" + }, + { + "type": "vibrate", + "direction": "horizontal", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "vibrate", + "direction": "vertical", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "times": 1 + }, + "不管外面有多少人想对我不利,但只要我还有一口气,还有人不懈余力的支持我!那么哪怕粉身碎骨,也依旧有翻盘的希望!", + { + "type": "animate", + "name": "chanrao", + "loc": "hero" + }, + { + "type": "vibrate", + "direction": "diagonal1", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "vibrate", + "direction": "diagonal2", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "animate", + "name": "fire2", + "loc": "hero" + }, + { + "type": "animate", + "name": "sword3", + "loc": "hero", + "async": true + }, + { + "type": "animate", + "name": "sword3", + "loc": "hero" + } + ] } ] }, "afterBattle": { "6,1": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "/=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "5" + }, + { + "type": "changeFloor", + "floorId": "MT35", + "loc": [ + 6, + 11 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "/=", - "value": "10" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "/=", - "value": "5" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "/=", - "value": "5" - }, - "后来,在我父母的帮助下,校长最终保下了我,让我得以继续学习,不是转学甚至留级。", - "我很庆幸我有深爱着我的爸爸妈妈,不然我真的不知道我会变成什么样。", - "一切好像是回到了正轨...", - { - "type": "changeFloor", - "floorId": "MT35", - "loc": [ - 6, - 11 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "/=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "/=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "/=", + "value": "5" + }, + "后来,在我父母的帮助下,校长最终保下了我,让我得以继续学习,不是转学甚至留级。", + "我很庆幸我有深爱着我的爸爸妈妈,不然我真的不知道我会变成什么样。", + "一切好像是回到了正轨...", + { + "type": "changeFloor", + "floorId": "MT35", + "loc": [ + 6, + 11 + ] + } ] } ] diff --git a/project/floors/MT34.js b/project/floors/MT34.js index 4461877..a983dd4 100644 --- a/project/floors/MT34.js +++ b/project/floors/MT34.js @@ -17,7 +17,7 @@ main.floors.MT34= { "type": "showStatusBar" }, - "即将进入boss战,为防止血不够建议这里存个档,可以随时回来补血瓶。进入boss战后无法回归此层。", + "即将进入boss战,为防止血不够建议这里存个档,可以随时回来补血瓶,后面的boss战前都会有这样的血门层。进入boss战后无法回归此层。", { "type": "setCurtain", "time": 1000 @@ -28,25 +28,43 @@ main.floors.MT34= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT33", + "loc": [ + 6, + 11 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - "在一年级刚开学也就一个来月,我就遭受了各方抵制。当时我年幼,很多细节已经记不清了,但对于当时的我来说仿佛陷入了黑暗无边的深渊。", - "现在想想,我甚至还有点后怕,这时是我的一个黑暗期,仿佛所有人都想让我消失。", - "但是...", - { - "type": "changeFloor", - "floorId": "MT33", - "loc": [ - 6, - 11 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "在一年级刚开学也就一个来月,我就遭受了各方抵制。当时我年幼,很多细节已经记不清了,但对于当时的我来说仿佛陷入了黑暗无边的深渊。", + "现在想想,我甚至还有点后怕,这时是我的一个黑暗期,仿佛所有人都想让我消失。", + "但是...", + { + "type": "changeFloor", + "floorId": "MT33", + "loc": [ + 6, + 11 + ], + "direction": "up" + } ] } ] diff --git a/project/floors/MT42.js b/project/floors/MT42.js index 5764ce3..12b5bb8 100644 --- a/project/floors/MT42.js +++ b/project/floors/MT42.js @@ -19,25 +19,41 @@ main.floors.MT42= "events": { "6,6": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT43", + "loc": [ + 6, + 11 + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ11", - "loc": [ - 6, - 12 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ11", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT44.js b/project/floors/MT44.js index 6d51b76..48ed7d6 100644 --- a/project/floors/MT44.js +++ b/project/floors/MT44.js @@ -13,51 +13,74 @@ main.floors.MT44= "ratio": 5, "defaultGround": "ground", "bgm": "title.mp3", - "firstArrive": [], + "firstArrive": [ + "本层机关门需要清理除小boss和本层守卫外的所有怪物。" + ], "eachArrive": [], "parallelDo": "", "events": { "11,10": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT50" + }, + "处在时空中的某个门开了!", + { + "type": "hide", + "remove": true + } ], - "time": 1000, - "keep": true - }, - "四年级的时候,我开始学习编程,并且参加了信息竞赛。", - "我第一次参加比赛,我就拿下了市一等奖。", - "按理说我应该高兴,因为自己拿了奖,但事实上,我并没有和其他获得一等奖的同学一样高兴,因为我这个电脑编程老师不想教我了。", - "我一向与同学的关系不好,还经常动他们关系,他们粉非常反感我。我们老师管不了我,他说什么我也不听,总是按照自己的那一套来,不管学习也好纪律也好,我都与他唱反调。", - "后来,我父母找老师说情,依旧没有缓解矛盾,就这样我与我人生中第一个编程老师不愉快的分别了。", - "但我并没有放弃我的梦想!因为我喜欢电脑喜欢编程。我父母经过考虑,最终决定花费重金为我请来了一个家教对我进行一对一辅导。", - "就这样,我五年级开始了一对一辅导,来参加后面的信息竞赛。而这个老师,也对我后面的人生产生了深远影响。", - { - "type": "openDoor", - "loc": [ - 6, - 4 - ], - "floorId": "MT50" - }, - { - "type": "showStatusBar" - }, - { - "type": "setCurtain", - "time": 1000 - }, - "处在时空中的某个门开了!", - { - "type": "hide", - "remove": true + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "四年级的时候,我开始学习编程,并且参加了信息竞赛。", + "我第一次参加比赛,我就拿下了市一等奖。", + "按理说我应该高兴,因为自己拿了奖,但事实上,我并没有和其他获得一等奖的同学一样高兴,因为我这个电脑编程老师不想教我了。", + "我一向与同学的关系不好,还经常动他们关系,他们粉非常反感我。我们老师管不了我,他说什么我也不听,总是按照自己的那一套来,不管学习也好纪律也好,我都与他唱反调。", + "后来,我父母找老师说情,依旧没有缓解矛盾,就这样我与我人生中第一个编程老师不愉快的分别了。", + "但我并没有放弃我的梦想!因为我喜欢电脑喜欢编程。我父母经过考虑,最终决定花费重金为我请来了一个家教对我进行一对一辅导。", + "就这样,我五年级开始了一对一辅导,来参加后面的信息竞赛。而这个老师,也对我后面的人生产生了深远影响。", + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT50" + }, + { + "type": "showStatusBar" + }, + { + "type": "setCurtain", + "time": 1000 + }, + "处在时空中的某个门开了!", + { + "type": "hide", + "remove": true + } + ] } ], "2,7": [ diff --git a/project/floors/MT45.js b/project/floors/MT45.js index c5a0eb1..fab8e0c 100644 --- a/project/floors/MT45.js +++ b/project/floors/MT45.js @@ -19,65 +19,115 @@ main.floors.MT45= "events": { "5,9": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "hide", + "loc": [ + [ + 5, + 9 + ] + ], + "remove": true + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 7 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 8 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "changeFloor", + "floorId": "MT44", + "loc": [ + 3, + 8 + ], + "direction": "up" + } ], - "time": 1000 - }, - "我爸爸妈妈最终还是同意了让我学习电脑,这时起我便有了一个奋斗目标。", - "我对电脑爱的深沉,正因为这份热爱,我有了当一个程序员的梦想,希望有朝一日成为一个电脑高手。", - "编程很枯燥,但我喜欢编程,我热爱编程。", - "这一年,我上四年级,也不过是一个不到十岁的少年,很多记忆我已经遗忘。", - "但我确信,在这一刻,我心里已经埋下了一颗电脑的种子,并随着时间茁壮成长,只是这成长的过程中...必然会经历一些风雨!", - { - "type": "hide", - "loc": [ - [ - 5, - 9 - ] - ], - "remove": true - }, - { - "type": "setBlockOpacity", - "loc": [ - [ - 2, - 7 - ] - ], - "floorId": "MT44", - "opacity": 0.5 - }, - { - "type": "setBlockOpacity", - "loc": [ - [ - 2, - 8 - ] - ], - "floorId": "MT44", - "opacity": 0.5 - }, - { - "type": "changeFloor", - "floorId": "MT44", - "loc": [ - 3, - 8 + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000 + }, + "我爸爸妈妈最终还是同意了让我学习电脑,这时起我便有了一个奋斗目标。", + "我对电脑爱的深沉,正因为这份热爱,我有了当一个程序员的梦想,希望有朝一日成为一个电脑高手。", + "编程很枯燥,但我喜欢编程,我热爱编程。", + "这一年,我上四年级,也不过是一个不到十岁的少年,很多记忆我已经遗忘。", + "但我确信,在这一刻,我心里已经埋下了一颗电脑的种子,并随着时间茁壮成长,只是这成长的过程中...必然会经历一些风雨!", + { + "type": "hide", + "loc": [ + [ + 5, + 9 + ] + ], + "remove": true + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 7 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 8 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "changeFloor", + "floorId": "MT44", + "loc": [ + 3, + 8 + ], + "direction": "up" + }, + { + "type": "showStatusBar" + } ] - }, - { - "type": "showStatusBar" } ] }, diff --git a/project/floors/MT50.js b/project/floors/MT50.js index afdb41a..51a56da 100644 --- a/project/floors/MT50.js +++ b/project/floors/MT50.js @@ -19,27 +19,53 @@ main.floors.MT50= "events": { "6,1": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "((status:atk<822)||((status:def<832)||(status:mdef<1078)))", + "true": [ + "把所有宝石都吃完才给过。" ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ13", - "loc": [ - 6, - 12 - ], - "direction": "up" + "false": [ + { + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT51", + "loc": [ + 6, + 10 + ], + "direction": "up" + } + ], + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ13", + "loc": [ + 6, + 12 + ], + "direction": "up" + } + ] + } + ] } ] }, diff --git a/project/floors/MT51.js b/project/floors/MT51.js index 2172bed..d1326d5 100644 --- a/project/floors/MT51.js +++ b/project/floors/MT51.js @@ -34,24 +34,40 @@ main.floors.MT51= "events": { "6,2": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT52", + "loc": [ + 6, + 10 + ] + } ], - "time": 1000, - "keep": true - }, - "五年级过完后,我迎来了暑假。我们也换了新班主任。", - "新班主任对我很好,是我人生中对我为数不多的好老师。我很尊重他。而我六年级,也可以说是我小学最高光的时刻。", - { - "type": "changeFloor", - "floorId": "MT52", - "loc": [ - 6, - 10 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "五年级过完后,我迎来了暑假。我们也换了新班主任。", + "新班主任对我很好,是我人生中对我为数不多的好老师。我很尊重他。而我六年级,也可以说是我小学最高光的时刻。", + { + "type": "changeFloor", + "floorId": "MT52", + "loc": [ + 6, + 10 + ] + } ] } ] diff --git a/project/floors/MT52.js b/project/floors/MT52.js index 84e27cf..f574c8b 100644 --- a/project/floors/MT52.js +++ b/project/floors/MT52.js @@ -24,7 +24,8 @@ main.floors.MT52= { "type": "setCurtain", "time": 1000 - } + }, + "本区楼传失效,下区恢复正常" ], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MT58.js b/project/floors/MT58.js index 406da34..f697b29 100644 --- a/project/floors/MT58.js +++ b/project/floors/MT58.js @@ -26,25 +26,42 @@ main.floors.MT58= "events": { "6,2": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS2", + "loc": [ + 6, + 9 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ15", - "loc": [ - 6, - 12 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ15", + "loc": [ + 6, + 12 + ] + } ] } ] diff --git a/project/floors/MT6.js b/project/floors/MT6.js index 46985db..c1bb624 100644 --- a/project/floors/MT6.js +++ b/project/floors/MT6.js @@ -26,24 +26,40 @@ main.floors.MT6= "events": { "6,2": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(status:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT7", + "loc": [ + 6, + 2 + ] + } ], - "time": 1000, - "keep": true - }, - "\t[母亲,N385]${core.status.hero.flags.truename || core.status.hero.name}学会了走路,但好像还不会说话啊...", - "\t[父亲,N389]慢慢来呗,早晚都会的,他不过才两岁罢了。", - { - "type": "changeFloor", - "floorId": "MT7", - "loc": [ - 6, - 2 + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + "\t[母亲,N385]${core.status.hero.flags.truename || core.status.hero.name}学会了走路,但好像还不会说话啊...", + "\t[父亲,N389]慢慢来呗,早晚都会的,他不过才两岁罢了。", + { + "type": "changeFloor", + "floorId": "MT7", + "loc": [ + 6, + 2 + ] + } ] } ] diff --git a/project/floors/MT60.js b/project/floors/MT60.js index e3226d4..eb46eb2 100644 --- a/project/floors/MT60.js +++ b/project/floors/MT60.js @@ -37,27 +37,44 @@ main.floors.MT60= "afterBattle": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT61", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - { - "type": "changeFloor", - "floorId": "JQ18", - "loc": [ - 5, - 11 - ], - "direction": "up" + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + { + "type": "changeFloor", + "floorId": "JQ18", + "loc": [ + 5, + 11 + ], + "direction": "up" + } + ] } ] }, diff --git a/project/floors/MT61.js b/project/floors/MT61.js index ff34429..6951095 100644 --- a/project/floors/MT61.js +++ b/project/floors/MT61.js @@ -30,6 +30,10 @@ main.floors.MT61= { "type": "function", "function": "function(){\ncore.visitFloor(\"MT61\")\n}" + }, + { + "type": "setHeroIcon", + "name": "hero2.png" } ], "eachArrive": [], diff --git a/project/floors/MT68.js b/project/floors/MT68.js index 08ecc6e..0c2694e 100644 --- a/project/floors/MT68.js +++ b/project/floors/MT68.js @@ -31,27 +31,44 @@ main.floors.MT68= "afterBattle": { "5,4": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT69", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ19", - "loc": [ - 2, - 11 - ], - "direction": "up" + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ19", + "loc": [ + 2, + 11 + ], + "direction": "up" + } + ] } ], "2,6": [ diff --git a/project/floors/MT76.js b/project/floors/MT76.js index 0ebdb72..21542ff 100644 --- a/project/floors/MT76.js +++ b/project/floors/MT76.js @@ -75,29 +75,63 @@ main.floors.MT76= ], "6,3": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "if", + "condition": "(status:mdef>3720)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT77", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "请拿完本区所有红黄蓝绿宝石。" + ] + } ], - "time": 1000, - "keep": true - }, - { - "type": "setHeroOpacity", - "opacity": 0 - }, - { - "type": "changeFloor", - "floorId": "JQ20", - "loc": [ - 6, - 12 + "false": [ + { + "type": "if", + "condition": "(status:mdef>3720)", + "true": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "changeFloor", + "floorId": "JQ20", + "loc": [ + 6, + 12 + ] + } + ], + "false": [ + "请拿完本区所有红黄蓝绿宝石。" + ] + } ] } ] diff --git a/project/floors/MT87.js b/project/floors/MT87.js index 0bb75f5..dbc5f3a 100644 --- a/project/floors/MT87.js +++ b/project/floors/MT87.js @@ -19,33 +19,50 @@ main.floors.MT87= "events": { "6,0": [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "BOSS3", + "loc": [ + 6, + 11 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "hideStatusBar" - }, - "我从小到大,走的是与别人与众不同的道路。我从幼儿园到初中结束,一直被别人当做问题学生。", - "很多行为我自己都不知道为啥要这么多。不过即使这样,我心中也有属于自己的目标。我从小喜欢电脑,后来学习了编程,我也喜欢上了。", - "在上学期间,我参加的竞赛都得了奖,其中不乏一等奖的存在。", - "功夫不负有心人,我的付出得到了回报。绍兴一中有特长生考试,这其中就有我们这些参加过信息竞赛的。", - "我果断报了名,因为我不敢百分百保证我成绩能考入绍兴一中,因为绍兴一中是浙江重点高中,也是我们这最好的高中。", - "于是初三这一年,准备绍兴一中的特长生考试成了我的头等大事。只要通过考试,初三下学期即可去往绍兴一中读书。", - { - "type": "changeFloor", - "floorId": "JQ21", - "loc": [ - 5, - 4 - ], - "direction": "up" + "false": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "hideStatusBar" + }, + "我从小到大,走的是与别人与众不同的道路。我从幼儿园到初中结束,一直被别人当做问题学生。", + "很多行为我自己都不知道为啥要这么做。不过即使这样,我心中也有属于自己的目标。我从小喜欢电脑,后来便学习了编程,之后我便是痴迷于此。", + "在上学期间,我参加的竞赛都得了奖,其中不乏一等奖的存在。", + "功夫不负有心人,我的付出得到了回报。绍兴一中有特长生考试,这其中就有我们这些参加过信息竞赛的。", + "我果断报了名,因为我不敢百分百保证我单凭中考成绩能考入绍兴一中,因为绍兴一中是浙江重点高中,也是我们这最好的高中。", + "于是初三这一年,准备绍兴一中的特长生考试成了我的头等大事。只要通过考试,初三下学期即可去往绍兴一中读书。", + { + "type": "changeFloor", + "floorId": "JQ21", + "loc": [ + 5, + 4 + ], + "direction": "up" + } + ] } ] }, diff --git a/project/floors/MT95.js b/project/floors/MT95.js index 2c20c27..9d41f70 100644 --- a/project/floors/MT95.js +++ b/project/floors/MT95.js @@ -19,27 +19,44 @@ main.floors.MT95= "events": { "6,0": [ { - "type": "hideStatusBar" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 + "type": "if", + "condition": "(flag:hard===3)", + "true": [ + { + "type": "changeFloor", + "floorId": "MT96", + "loc": [ + 6, + 12 + ], + "direction": "up" + } ], - "time": 1000, - "keep": true - }, - { - "type": "changeFloor", - "floorId": "JQ26", - "loc": [ - 7, - 11 - ], - "direction": "up" + "false": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ26", + "loc": [ + 7, + 11 + ], + "direction": "up" + } + ] } ] }, diff --git a/project/floors/MT96.js b/project/floors/MT96.js index 8d97b39..db384b5 100644 --- a/project/floors/MT96.js +++ b/project/floors/MT96.js @@ -22,10 +22,24 @@ main.floors.MT96= "type": "showStatusBar" }, { - "type": "setValue", - "name": "item:I800", - "operator": "+=", - "value": "1" + "type": "if", + "condition": "(flag:hard===1)", + "true": [ + { + "type": "setValue", + "name": "item:I804", + "operator": "+=", + "value": "1" + } + ], + "false": [ + { + "type": "setValue", + "name": "item:I800", + "operator": "+=", + "value": "1" + } + ] }, { "type": "setValue", diff --git a/project/floors/ND1.js b/project/floors/ND1.js index 26efc81..23488dc 100644 --- a/project/floors/ND1.js +++ b/project/floors/ND1.js @@ -46,7 +46,7 @@ main.floors.ND1= 1 ], "action": [ - "休闲模式含有丰富的剧情,\n讲述了主角从出生打大学毕业的时光,\n跟随主角去探寻人生中的酸甜苦辣。\n拥有百分之五减伤并且削弱最难的boss。适合广大休闲玩家游玩。\n最终计分方式为钥匙计分。", + "休闲模式带有剧情且难度不算太大,\n讲述了主角从出生到大学毕业的时光,\n跟随主角去探寻人生中的酸甜苦辣。\n拥有百分之五减伤并且让oi篇debuff减弱。适合广大休闲玩家游玩。\n最终计分方式为钥匙计分。", { "type": "confirm", "text": "确认要选择休闲模式吗?", @@ -78,7 +78,7 @@ main.floors.ND1= 1 ], "action": [ - "普通模式含有丰富的剧情,\n讲述了主角从出生打大学毕业的时光,跟随主角去探寻人生中的酸甜苦辣。\n最终计分方式为钥匙计分。", + "普通模式难度适中,剧情不变。\n讲述了主角从出生到大学毕业的时光,跟随主角去探寻人生中的酸甜苦辣。\n最终计分方式为钥匙计分。", { "type": "confirm", "text": "确认要选择普通模式吗?", @@ -110,7 +110,7 @@ main.floors.ND1= 1 ], "action": [ - "挑战模式去掉全部剧情。\n难度比休闲模式要高,没有破道具存在。\n适合喜欢冲榜的玩家优化路线,刷max。\n本塔的核心在于剧情,\n玩完休闲模式再来体验挑战模式效果更佳。\n计分方式为钥匙计分。", + "挑战模式去掉全部剧情,提升转换效率。\n难度更高,没有破墙镐存在。\n适合喜欢冲榜的玩家优化路线,刷max。\n本塔要知道前因后果需要打前面两个难度,之后再来体验挑战模式效果更佳。\n计分方式为钥匙计分。", { "type": "confirm", "text": "确认要选择挑战模式吗?", @@ -124,6 +124,72 @@ main.floors.ND1= "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 diff --git a/project/functions.js b/project/functions.js index 9b8580a..e79f12c 100644 --- a/project/functions.js +++ b/project/functions.js @@ -447,27 +447,27 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = core.clearContinueAutomaticRoute(); }, "afterGetItem": function (itemId, x, y, isGentleClick) { - // 获得一个道具后触发的事件 - // itemId:获得的道具ID;x和y是该道具所在的坐标 - // isGentleClick:是否是轻按触发的 - if (itemId.endsWith('Potion') && core.material.items[itemId].cls == 'items') - core.playSound('回血'); - else if (itemId.endsWith('Gem') && core.material.items[itemId].cls == 'items') - core.playSound('宝石') - else - core.playSound('获得道具'); + // 获得一个道具后触发的事件 + // itemId:获得的道具ID;x和y是该道具所在的坐标 + // isGentleClick:是否是轻按触发的 + if (itemId.endsWith('Potion') && core.material.items[itemId].cls == 'items') + core.playSound('回血'); + else if (itemId.endsWith('Gem') && core.material.items[itemId].cls == 'items') + core.playSound('宝石'); + else + core.playSound('获得道具'); - var todo = []; - // 检查该点的获得道具后事件。 - if (core.status.floorId == null) return; - var event = core.floors[core.status.floorId].afterGetItem[x + "," + y]; - if (event && (event instanceof Array || !isGentleClick || !event.disableOnGentleClick)) { - if (event.data) event = event.data; - core.unshift(todo, event); - } + var todo = []; + // 检查该点的获得道具后事件。 + if (core.status.floorId == null) return; + var event = core.floors[core.status.floorId].afterGetItem[x + "," + y]; + if (event && (event instanceof Array || !isGentleClick || !event.disableOnGentleClick)) { + if (event.data) event = event.data; + core.unshift(todo, event); + } - if (todo.length > 0) core.insertAction(todo, x, y); - }, + if (todo.length > 0) core.insertAction(todo, x, y); +}, "afterPushBox": function () { // 推箱子后的事件 if (core.searchBlock('box').length == 0) { @@ -730,8 +730,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = // 先攻 if (core.hasSpecial(mon_special, 1)) init_damage += per_damage; - if (core.hasItem('I800') && core.status.hero.lv <= 25) init_damage += per_damage * (core.status.hero.flags.hard == 1 ? 0.5 : 1); - + if (core.hasItem('I800') && core.status.hero.lv <= 25) init_damage += per_damage; + if (core.hasItem('I804')) + init_damage += per_damage * 0.5; // 压迫 if (core.hasSpecial(mon_special, 28)) per_damage += 2000; @@ -1633,6 +1634,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (core.status.hero.flags.hideStatusBar) { var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; if (flags.score) salary = flags.score / 2; + if (flags.hard == 1) salary *= .6; + else if (flags.hard == 3) salary *= 3; if (hero.lv < 5) salary = 0; if (core.domStyle.isVertical) {} else if (!core.flags.hideLeftStatusBar) { @@ -1731,30 +1734,32 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = fill(core.setTwoDigits(core.itemCount('pickaxe')), 291, 86, '#BC6E27'); var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; if (flags.score) salary = flags.score / 2; + if (flags.hard == 1) salary *= .6; + else if (flags.hard == 3) salary *= 3; if (hero.lv < 5) salary = 0; if (salary <= 13.5) { core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2, 280, 125 * salary / 13.5, 25) + ctx.fillRect(311, 66, 105 * salary / 13.5, 25) } else if (salary <= 70) { core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 13.5) / 56.5, 25) + ctx.fillRect(311, 66, 105 * (salary - 13.5) / 56.5, 25) core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2 + 125 * (salary - 13.5) / 56.5, 280, 125 - 125 * (salary - 13.5) / 56.5, 25) + ctx.fillRect(311 + 105 * (salary - 13.5) / 56.5, 66, 105 - 105 * (salary - 13.5) / 56.5, 25) } else if (salary <= 135) { core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 70) / 65, 25) + ctx.fillRect(311, 66, 105 * (salary - 70) / 65, 25) core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 70) / 65, 280, 125 - 125 * (salary - 70) / 65, 25) + ctx.fillRect(311 + 105 * (salary - 70) / 65, 66, 105 - 105 * (salary - 70) / 65, 25) } else if (salary <= 150) { core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2, 280, 125 * (salary - 135) / 15, 25) + ctx.fillRect(311, 66, 105 * (salary - 135) / 15, 25) core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 135) / 15, 280, 125 - 125 * (salary - 135) / 15, 25) + ctx.fillRect(311 + 105 * (salary - 135) / 15, 66, 105 - 105 * (salary - 135) / 15, 25) } else if (salary <= 400) { core.ui.setFillStyle(ctx, [255, 0, 0]); - ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) + ctx.fillRect(311, 66, 105 * (salary - 150) / 250, 25) core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) + ctx.fillRect(311 + 105 * (salary - 150) / 250, 66, 105 - 105 * (salary - 150) / 250, 25) } else core.lose('你作弊了'); if (hero.lv >= 5) fill("Pay: ¥" + (salary) + "/h", 311, 86, '#FA1489'); @@ -1823,6 +1828,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = fill(core.setTwoDigits(core.itemCount('pickaxe')), 92, 270, '#BC6E27'); var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; if (flags.score) salary = flags.score / 2; + if (flags.hard == 1) salary *= .6; + else if (flags.hard == 3) salary *= 3; if (hero.lv < 5) salary = 0; if (salary <= 13.5) { core.ui.setFillStyle(ctx, [0, 255, 255]); diff --git a/project/items.js b/project/items.js index 734d26f..764078e 100644 --- a/project/items.js +++ b/project/items.js @@ -289,8 +289,8 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "pickaxe": { "cls": "tools", "name": "破墙镐", - "text": "可以破坏勇士面前的墙", - "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();", + "text": "在人生中总有帮助过自己的人。可以破开部分墙体和怪物。", + "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.cls.indexOf('enemy') != 0 && block.event.cls.indexOf('items') != 0 && ![85, 86, 17].includes(block.id);\n\t};\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();", "canUseItemEffect": "true" }, "icePickaxe": { @@ -477,13 +477,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = { "text": "关于环境", "action": [ - "人生好比一条大道,它的尽头又在何方?\n在人生的道路上,必定会经历很多磨难,也会遇到许多挫折,这条路注定不会一帆风顺。但世间总有一些美好值得我们全力以赴,哪怕粉身碎骨。究竟怎样才能走到大道的尽头呢?" + "人生好比一条大道,它的尽头又在何方?\n在人生的道路上,必定会经历很多磨难,也会遇到许多挫折,这条路注定不会一帆风顺。但世间总有一些东西值得我们去探索值得我们去寻找。究竟怎样才能走到大道的尽头呢?" ] }, { "text": "关于怪物", "action": [ - "没有人会一帆风顺,也没人会保持一种情绪。\n怪物是什么?世界上根本没有怪物,被认为怪物的东西不过是超过人们的认知罢了。但是,人生总会有一些坎,困难,找你麻烦的家伙,自身的不良情绪等等...这,也许会成为你心中的怪物..." + "没有人会一帆风顺,也没人会保持一种情绪。\n怪物是什么?世界上根本没有怪物,被认为怪物的东西不过是超过人们的认知罢了。但是,人生总会有一些坎,困难,找你麻烦的家伙,自身的不良情绪,自己的心魔等等...这,也许会成为你心中的怪物..." ] }, { @@ -504,13 +504,19 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "浩瀚无际的星空,由一个个梦想交汇而成...抬头看向星空的时候,你是否知道自己究竟要去往何处?\n过去的时光中,总有一些痛苦让你刻骨铭心,总有一些快乐让你回味,酸甜苦辣,五味杂陈...你能感受的到吗?感受的话...你会想些啥呢?\n远在九天之上的梦想,并非遥不可及,踏空而行,贯彻道路,终有一天能够圆梦九天..." ] }, + { + "text": "游玩注意事项(重要)", + "action": [ + "1.本塔没有领域夹击吸血等恶心属性。\n2.遇到单层全是血门的时候存个档,大boss会很强,需要开血门。\n3.尽量多存钥匙以备不时之需。\n4.本塔多余血量没用,钥匙足够每一区哪怕只剩1血也能过关。\n5.本塔纯钥匙和破计分,血量不参与计分。\n6.机关门需要清理特殊怪物或者清理完本区全部怪物,铁门需要清理完本区全部怪物。\n7.每个区的红黄蓝绿宝石都要拿完。" + ] + }, { "text": "数值显示: ${(core.getFlag(\"itemDetail\") ? \"[ON]\" : \"[OFF]\")}", "action": [ { "type": "setValue", "name": "flag:itemDetail", - "value": "!flag:itemDetail" + "value": "(!flag:itemDetail)" } ] }, @@ -1229,13 +1235,14 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "constants", "name": "恶意", "canUseItemEffect": "true", - "text": "入学半年,我就得罪了无数人,还被张逸凡给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物先攻。" + "text": "入学半年,我就得罪了无数人,还被zyf给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物先攻。" }, "I804": { - "cls": "tools", - "name": "新物品", - "canUseItemEffect": "true", - "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();" + "cls": "constants", + "name": "无法调节的矛盾", + "canUseItemEffect": "false", + "useItemEffect": "(function () {})();", + "text": "入学半年,我就得罪了无数人,还被zyf给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物首回合附带一次每回合伤害的一半。" }, "I805": { "cls": "tools", @@ -1716,7 +1723,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "equips", "name": "初心法器", "canUseItemEffect": "true", - "text": "不忘初心,方得始终!\n牢记梦想,逐梦九天!\n装备可获得百分之十攻防。", + "text": "不忘初心,方得始终!牢记梦想,逐梦九天!装备可获得百分之十攻防。", "equip": { "type": "梦想", "value": {}, @@ -1786,9 +1793,9 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "itemEffect": "core.status.hero.hp += 50000000\ncore.status.hero.mdef += 200000\ncore.status.hero.def += 50000" }, "I953": { - "cls": "constants", + "cls": "tools", "name": "龙珠", - "canUseItemEffect": "true", + "canUseItemEffect": "false", "text": "集齐七颗龙珠就能召唤神龙。当七颗龙珠集齐之时,我的大学课程也就学完了,之后所获得的能力变会转换成一件强力装备。每颗龙珠增加许多能力。", "itemEffect": null }, diff --git a/project/maps.js b/project/maps.js index 8ecd556..468f766 100644 --- a/project/maps.js +++ b/project/maps.js @@ -109,7 +109,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "140": {"cls":"autotile","id":"autotile4","canBreak":true}, "141": {"cls":"autotile","id":"autotile5"}, "142": {"cls":"autotile","id":"autotile6"}, - "143": {"cls":"autotile","id":"autotile7"}, + "143": {"cls":"autotile","id":"autotile7","canBreak":false}, "144": {"cls":"autotile","id":"autotile8","canPass":false,"canBreak":true}, "145": {"cls":"autotile","id":"autotile9"}, "146": {"cls":"autotile","id":"autotile10"}, @@ -970,6 +970,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "175512": {"cls":"tileset","id":"X175512","canPass":true}, "175519": {"cls":"tileset","id":"X175519","canPass":true}, "190007": {"cls":"tileset","id":"X190007","canPass":false,"canBreak":true}, + "190012": {"cls":"tileset","id":"X190012","canBreak":true}, "192927": {"cls":"tileset","id":"X192927","canPass":false,"canBreak":true}, "193142": {"cls":"tileset","id":"X193142","canPass":false,"canBreak":true}, "193330": {"cls":"tileset","id":"X193330","canPass":false,"canBreak":true}, @@ -978,11 +979,13 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "240027": {"cls":"tileset","id":"X240027","canBreak":true}, "240054": {"cls":"tileset","id":"X240054","canPass":false,"canBreak":true}, "240201": {"cls":"tileset","id":"X240201","canPass":false,"canBreak":true}, + "240273": {"cls":"tileset","id":"X240273","canBreak":true}, "390009": {"cls":"tileset","id":"X390009","canBreak":true}, "390026": {"cls":"tileset","id":"X390026","canBreak":true}, "390032": {"cls":"tileset","id":"X390032","canBreak":true}, "390034": {"cls":"tileset","id":"X390034","canBreak":true}, "390060": {"cls":"tileset","id":"X390060","canBreak":true}, + "410010": {"cls":"tileset","id":"X410010","canBreak":true}, "450158": {"cls":"tileset","id":"X450158","canPass":true}, "450162": {"cls":"tileset","id":"X450162","canPass":false,"canBreak":true}, "450163": {"cls":"tileset","id":"X450163","canBreak":true}, @@ -997,6 +1000,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "450253": {"cls":"tileset","id":"X450253","canBreak":true}, "460007": {"cls":"tileset","id":"X460007","canBreak":true}, "463302": {"cls":"tileset","id":"X463302","canPass":false}, + "470054": {"cls":"tileset","id":"X470054","canBreak":true}, "470079": {"cls":"tileset","id":"X470079","canPass":false,"canBreak":true}, "470118": {"cls":"tileset","id":"X470118","canPass":false,"canBreak":true}, "470127": {"cls":"tileset","id":"X470127","canBreak":true},