From fb01b4541108042c64fa2de180230f725ee06141 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Tue, 27 Aug 2024 18:41:38 +0800 Subject: [PATCH] Add completing tasks;Enhanced task enemy; Add some stories --- project/enemys.js | 10 +-- project/floors/LZ1.js | 2 +- project/floors/LZ10.js | 2 +- project/floors/LZ2.js | 2 +- project/floors/LZ3.js | 2 +- project/floors/LZ4.js | 2 +- project/floors/LZ5.js | 2 +- project/floors/LZ6.js | 2 +- project/floors/LZ7.js | 2 +- project/floors/LZ8.js | 2 +- project/floors/LZ9.js | 2 +- project/floors/MJ1.js | 10 ++- project/floors/MJ10.js | 151 +++++++++++++++++++++++++++++++++++++++-- project/floors/MJ2.js | 2 +- project/floors/MJ3.js | 2 +- project/floors/MJ4.js | 2 +- project/floors/MJ5.js | 51 +++++++++----- project/floors/MJ6.js | 38 +++++++++-- project/floors/MJ7.js | 38 +++++++++-- project/floors/MJ8.js | 38 +++++++++-- project/floors/MJ9.js | 38 +++++++++-- project/floors/YS10.js | 110 +++++++++++++++++++++++++++++- project/items.js | 14 ++-- 23 files changed, 456 insertions(+), 68 deletions(-) diff --git a/project/enemys.js b/project/enemys.js index b7fc77d..8482662 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -512,7 +512,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E1168": {"name":"火蝙蝠","hp":60000000,"atk":405000,"def":98000,"money":300,"exp":0,"point":0,"special":[35]}, "E1169": {"name":"幽冥魔君","hp":10000000,"atk":940000,"def":465000,"money":1000,"exp":0,"point":0,"special":[30],"level":"八阶无上","value30_1":10000,"value30_2":50,"displayIdInBook":null}, "E1170": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E1171": {"name":"美面魔帝","hp":100000000,"atk":3200000,"def":0,"money":0,"exp":0,"point":0,"special":[30],"level":"九阶无上","value30_1":602214,"value30_2":200}, + "E1171": {"name":"美面魔帝","hp":200000000,"atk":3600000,"def":0,"money":0,"exp":0,"point":0,"special":[30],"level":"九阶无上","value30_1":602214,"value30_2":60,"notBomb":true}, "E1172": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1173": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1174": {"name":"火焰史莱姆王","hp":8000000,"atk":68000,"def":16040,"money":192,"exp":0,"point":0,"special":[21,35,39],"Mdefvalue":null,"mdefValue":100,"Atkvalue":35,"Defvalue":35}, @@ -521,7 +521,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E1177": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1178": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1179": {"name":"冰骨蝙蝠","hp":480000000000,"atk":60000000,"def":24500000,"money":30000,"exp":0,"point":0,"special":[42]}, - "E1180": {"name":"新敌人","hp":36000000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[10,17],"bigImage":"dragonknight_1.png"}, + "E1180": {"name":"赤焰黑龙","hp":36000000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[10,17],"bigImage":"dragonknight_1.png","level":"八阶无上"}, "E1246": {"name":"混沌魔君(阵法削弱状态)","hp":5000000000000,"atk":100000000,"def":20000000,"money":100000,"exp":0,"point":0,"special":[2],"description":"灵兽榜上第二名,混沌属性最强灵兽","notBomb":true}, "E827": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E988": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, @@ -620,7 +620,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E1136": {"name":"深渊巨龙","hp":20000000,"atk":1000000,"def":350000,"money":5000,"exp":0,"point":0,"special":[30,35],"level":"九阶无上","value30_1":10000,"value30_2":60}, "E1159": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1160": {"name":"棒锥","hp":10000000,"atk":940000,"def":465000,"money":1000,"exp":0,"point":0,"special":[30],"level":"八阶无上","value30_1":10000,"value30_2":50}, - "E1181": {"name":"新敌人","hp":10000,"atk":5000,"def":0,"money":0,"exp":0,"point":0,"special":[2,3,9],"bigImage":"dragon1_compress_0.png","purify":-9}, - "E1182": {"name":"新敌人","hp":25,"atk":2000000,"def":0,"money":0,"exp":0,"point":0,"special":[3],"bigImage":"dragon1_compress_1.png"}, - "E1183": {"name":"新敌人","hp":1000000000,"atk":40000,"def":0,"money":0,"exp":0,"point":0,"special":[2],"bigImage":"octopus_1.png"} + "E1181": {"name":"骨龙","hp":10000,"atk":5000,"def":0,"money":0,"exp":0,"point":0,"special":[2,3,9],"bigImage":"dragon1_compress_0.png","purify":-9,"level":"八阶无上"}, + "E1182": {"name":"金魔龙","hp":25,"atk":2000000,"def":0,"money":0,"exp":0,"point":0,"special":[3],"bigImage":"dragon1_compress_1.png","level":"八阶无上"}, + "E1183": {"name":"魔章鱼","hp":1000000000,"atk":40000,"def":0,"money":0,"exp":0,"point":0,"special":[2],"bigImage":"octopus_1.png","level":"八阶无上"} } \ No newline at end of file diff --git a/project/floors/LZ1.js b/project/floors/LZ1.js index d72baff..1b6a8f3 100644 --- a/project/floors/LZ1.js +++ b/project/floors/LZ1.js @@ -12,7 +12,7 @@ main.floors.LZ1= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [ "龙族剧情按照与圣骑士亲密度极好情况进行(亲密度不够依旧按照亲密度达到进行),玩法还是按照实际亲密度进行(亲密度不够不会额外获得帮助)。", "因圣骑士唐佳成的感应,光明圣子莫析辉与圣骑士二人来到了龙族,这块神秘的,远离光明神殿的岛屿……", diff --git a/project/floors/LZ10.js b/project/floors/LZ10.js index 41921b6..eb4f5f5 100644 --- a/project/floors/LZ10.js +++ b/project/floors/LZ10.js @@ -12,7 +12,7 @@ main.floors.LZ10= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [ { "type": "playBgm", diff --git a/project/floors/LZ2.js b/project/floors/LZ2.js index a1d3bbf..51dea1a 100644 --- a/project/floors/LZ2.js +++ b/project/floors/LZ2.js @@ -12,7 +12,7 @@ main.floors.LZ2= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ3.js b/project/floors/LZ3.js index 96b37b5..d51ed70 100644 --- a/project/floors/LZ3.js +++ b/project/floors/LZ3.js @@ -12,7 +12,7 @@ main.floors.LZ3= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ4.js b/project/floors/LZ4.js index a639ecc..640dee3 100644 --- a/project/floors/LZ4.js +++ b/project/floors/LZ4.js @@ -12,7 +12,7 @@ main.floors.LZ4= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ5.js b/project/floors/LZ5.js index 58b76ee..a76d751 100644 --- a/project/floors/LZ5.js +++ b/project/floors/LZ5.js @@ -12,7 +12,7 @@ main.floors.LZ5= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ6.js b/project/floors/LZ6.js index dcd6cf2..d57e956 100644 --- a/project/floors/LZ6.js +++ b/project/floors/LZ6.js @@ -12,7 +12,7 @@ main.floors.LZ6= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ7.js b/project/floors/LZ7.js index ab0382c..856eea7 100644 --- a/project/floors/LZ7.js +++ b/project/floors/LZ7.js @@ -12,7 +12,7 @@ main.floors.LZ7= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ8.js b/project/floors/LZ8.js index 3cb498b..b8d72d5 100644 --- a/project/floors/LZ8.js +++ b/project/floors/LZ8.js @@ -12,7 +12,7 @@ main.floors.LZ8= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/LZ9.js b/project/floors/LZ9.js index 5ef10b9..d0ba900 100644 --- a/project/floors/LZ9.js +++ b/project/floors/LZ9.js @@ -12,7 +12,7 @@ main.floors.LZ9= "images": [], "ratio": 512, "defaultGround": "grass", - "bgm": "bgm.mp3", + "bgm": "mingyuetianya.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MJ1.js b/project/floors/MJ1.js index a03884d..a23cff3 100644 --- a/project/floors/MJ1.js +++ b/project/floors/MJ1.js @@ -12,14 +12,20 @@ main.floors.MJ1= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": null, + "bgm": "douguishen.mp3", "firstArrive": [ - "魔界剧情按照与圣骑士亲密度达到进行。(后面五层需要圣骑士亲密度达到75开启。)", + "魔界剧情按照与圣骑士亲密度达到进行。(后面五层需要圣骑士亲密度达到100开启。)", "\t[莫析辉,hero]\b[hero]可恶啊,这个魔界怎么没有任何红黄蓝绿白宝石……", "\t[唐佳成,N510]\b[this,6,12]据说魔界的怪物都将所有的能量汲取了,如果想要从它们口中夺取能量,只能杀死它们。", "\t[唐佳成,N510]\b[this,6,12]不过殿下方向,我会一直守护殿下的。", { "type": "hide", + "loc": [ + [ + 6, + 12 + ] + ], "remove": true } ], diff --git a/project/floors/MJ10.js b/project/floors/MJ10.js index bf33b91..353afac 100644 --- a/project/floors/MJ10.js +++ b/project/floors/MJ10.js @@ -12,8 +12,49 @@ main.floors.MJ10= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", - "firstArrive": [], + "bgm": "douguishen.mp3", + "firstArrive": [ + "\t[美面魔帝,N1176]\b[this,6,7]哟呵呵,小哥哥,来玩呀!", + { + "type": "jumpHero", + "loc": [ + 7, + 10 + ], + "time": 500 + }, + { + "type": "changePos", + "direction": "up" + }, + "\t[莫析辉,hero]\b[hero]咦?怎么回事?", + "\t[唐佳成,N510]\b[this,6,10]圣子殿下,小心一些!", + "\t[莫析辉,hero]\b[hero]你打不过它吗?要我帮忙吗?", + "\t[唐佳成,N510]\b[this,6,10]我能打过它,但是……它有两个头,上下两个头,只要其中一个不死,就会立刻复活……", + "\t[莫析辉,hero]\b[hero]原来如此!那你攻上面,我攻下面!", + "\t[唐佳成,N510]\b[this,6,10]好,那就拜托殿下了!", + { + "type": "jump", + "from": [ + 6, + 10 + ], + "to": [ + 6, + 7 + ], + "time": 500 + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 6, + 7 + ] + }, + "\t[美面魔帝,N1176]\b[this,6,7]啊啊啊啊啊啊!该死的人类!我要杀了你!" + ], "eachArrive": [], "parallelDo": "", "events": {}, @@ -27,7 +68,107 @@ main.floors.MJ10= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,8": [ + { + "type": "hide", + "loc": [ + [ + 5, + 8 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 5, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 5, + 6 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 6 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 8 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 6, + 6 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "N510", + "loc": [ + [ + 6, + 7 + ] + ] + }, + "\t[唐佳成,N510]\b[this,6,7]殿下,幸不辱命!", + "\t[莫析辉,hero]\b[hero]那咱们去找江鹤仙子提交毕业任务吧!", + { + "type": "setValue", + "name": "flag:meimianmodi", + "value": "1" + }, + { + "type": "hide", + "loc": [ + [ + 6, + 7 + ] + ], + "remove": true + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -44,8 +185,8 @@ main.floors.MJ10= [ 4, 4, 4, 4,714,1175,1176,1177,714, 4, 4, 4, 4], [ 4, 4, 4, 4,714,1178,1171,1179,714, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 92, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 4, 4, 4, 4, 4, 0,513, 0, 0, 0, 0, 92, 4], + [ 4, 4, 4, 4, 4, 0, 0, 0, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], "bgmap": [ diff --git a/project/floors/MJ2.js b/project/floors/MJ2.js index 3ddd196..f73e46f 100644 --- a/project/floors/MJ2.js +++ b/project/floors/MJ2.js @@ -12,7 +12,7 @@ main.floors.MJ2= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MJ3.js b/project/floors/MJ3.js index 6f1dcd5..c959f24 100644 --- a/project/floors/MJ3.js +++ b/project/floors/MJ3.js @@ -12,7 +12,7 @@ main.floors.MJ3= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MJ4.js b/project/floors/MJ4.js index 0920090..1110d31 100644 --- a/project/floors/MJ4.js +++ b/project/floors/MJ4.js @@ -12,7 +12,7 @@ main.floors.MJ4= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/MJ5.js b/project/floors/MJ5.js index 3f6c2e7..3aa9549 100644 --- a/project/floors/MJ5.js +++ b/project/floors/MJ5.js @@ -12,7 +12,7 @@ main.floors.MJ5= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -24,21 +24,35 @@ main.floors.MJ5= "remove": true } ], - "11,11": [ - { - "type": "if", - "condition": "(flag:shengqishi>=99)", - "true": [ - { - "type": "hide", - "remove": true - } - ], - "false": [ - "与圣骑士亲密度没有达到99,不允许通行" - ] - } - ] + "11,11": { + "trigger": "action", + "enable": true, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + { + "type": "if", + "condition": "(flag:shengqishi>=100)", + "true": [ + { + "type": "hide", + "remove": true + } + ], + "false": [ + "与圣骑士亲密度没有达到100,不允许通行" + ] + } + ] + } }, "changeFloor": { "6,12": { @@ -77,6 +91,11 @@ main.floors.MJ5= "operator": "+=", "value": "1" }, + { + "type": "setValue", + "name": "flag:youmingmojun", + "value": "1" + }, { "type": "hide", "loc": [ diff --git a/project/floors/MJ6.js b/project/floors/MJ6.js index d648db6..c24bbcf 100644 --- a/project/floors/MJ6.js +++ b/project/floors/MJ6.js @@ -12,7 +12,7 @@ main.floors.MJ6= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -28,15 +28,45 @@ main.floors.MJ6= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,7": [ + { + "type": "setValue", + "name": "flag:door_MJ6_0_1", + "operator": "+=", + "value": "1" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "0,1": { + "0": { + "condition": "flag:door_MJ6_0_1==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MJ6_0_1", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [ 91, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 85, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [ 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], diff --git a/project/floors/MJ7.js b/project/floors/MJ7.js index 7fed2b7..0470a2a 100644 --- a/project/floors/MJ7.js +++ b/project/floors/MJ7.js @@ -12,7 +12,7 @@ main.floors.MJ7= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -28,10 +28,40 @@ main.floors.MJ7= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,8": [ + { + "type": "setValue", + "name": "flag:door_MJ7_10_11", + "operator": "+=", + "value": "1" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "10,11": { + "0": { + "condition": "flag:door_MJ7_10_11==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MJ7_10_11", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ @@ -46,7 +76,7 @@ main.floors.MJ7= [ 0, 4, 4, 4, 4, 0,1182, 0, 4, 4, 0, 4, 4], [ 0, 4, 4, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4], [ 0, 4, 4, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4], - [ 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 0, 4, 4], + [ 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 85, 4, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 93, 4, 4] ], "bgmap": [ diff --git a/project/floors/MJ8.js b/project/floors/MJ8.js index 9bf8620..9f773fa 100644 --- a/project/floors/MJ8.js +++ b/project/floors/MJ8.js @@ -12,7 +12,7 @@ main.floors.MJ8= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -28,10 +28,40 @@ main.floors.MJ8= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,3": [ + { + "type": "setValue", + "name": "flag:door_MJ8_1_10", + "operator": "+=", + "value": "1" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "1,10": { + "0": { + "condition": "flag:door_MJ8_1_10==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MJ8_1_10", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ @@ -45,7 +75,7 @@ main.floors.MJ8= [ 4, 4, 4, 0, 4, 4, 4, 4, 4, 4, 0, 4, 4], [ 4, 4, 4, 0, 4, 4, 4, 4, 4, 4, 0, 4, 4], [ 4, 4, 4, 0, 4, 4, 4, 4, 4, 4, 0, 4, 4], - [ 92, 0, 0, 0, 4, 4, 4, 4, 4, 4, 0, 4, 4], + [ 92, 85, 0, 0, 4, 4, 4, 4, 4, 4, 0, 4, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 4, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 91, 4, 4] ], diff --git a/project/floors/MJ9.js b/project/floors/MJ9.js index 5e2e3bb..1ad7336 100644 --- a/project/floors/MJ9.js +++ b/project/floors/MJ9.js @@ -12,7 +12,7 @@ main.floors.MJ9= "images": [], "ratio": 512, "defaultGround": "ground", - "bgm": "bgm.mp3", + "bgm": "douguishen.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -31,10 +31,40 @@ main.floors.MJ9= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,4": [ + { + "type": "setValue", + "name": "flag:door_MJ9_10_10", + "operator": "+=", + "value": "1" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "10,10": { + "0": { + "condition": "flag:door_MJ9_10_10==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MJ9_10_10", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ @@ -48,7 +78,7 @@ main.floors.MJ9= [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], - [ 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94, 4], + [ 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85, 94, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], diff --git a/project/floors/YS10.js b/project/floors/YS10.js index 2d1882f..3205462 100644 --- a/project/floors/YS10.js +++ b/project/floors/YS10.js @@ -196,7 +196,115 @@ main.floors.YS10= } ], "8,9": [ - "\t[江鹤依浩,fairy]\b[this]你好,我是神奇的江鹤依浩,你要做什么呢?" + "\t[江鹤依浩,fairy]\b[this]你好,我是神奇的江鹤依浩,你要做什么呢?", + { + "type": "choices", + "text": "\t[江鹤依浩,fairy]你可以在这里提交毕业任务", + "choices": [ + { + "text": "幽冥魔君", + "action": [ + { + "type": "if", + "condition": "(flag:youmingmojun===2)", + "true": [ + "\t[江鹤依浩,fairy]\b[this]该任务已经提交!" + ], + "false": [ + { + "type": "if", + "condition": "(flag:youmingmojun===1)", + "true": [ + "\t[江鹤依浩,fairy]\b[this]不错啊,竟然完成了击杀幽冥魔君的毕业任务,这是你的毕业奖励。攻防护盾+1w,魔力值+1000,生命上限+10w", + { + "type": "setValue", + "name": "status:hpmax", + "operator": "+=", + "value": "100000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "10000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "10000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "10000" + }, + { + "type": "setValue", + "name": "status:mana", + "operator": "+=", + "value": "10000" + }, + { + "type": "setValue", + "name": "flag:youmingmojun", + "operator": "+=", + "value": "1" + } + ], + "false": [ + "\t[江鹤依浩,fairy]\b[this]你还没有完成该任务!" + ] + } + ] + } + ] + }, + { + "text": "美面魔帝", + "action": [ + { + "type": "if", + "condition": "(flag:meimianmodi===2)", + "true": [ + "\t[江鹤依浩,fairy]\b[this]该任务已经提交!" + ], + "false": [ + { + "type": "if", + "condition": "(flag:meimianmodi===1)", + "true": [ + "\t[江鹤依浩,fairy]\b[this]美面魔帝这么难的任务,你们两个竟然击败了它!", + "\t[莫析辉,hero]\b[hero]还是学院教导的好", + "\t[江鹤依浩,fairy]\b[this]这是你的奖励。", + { + "type": "setValue", + "name": "item:I1088", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:meimianmodi", + "operator": "+=", + "value": "1" + } + ], + "false": [ + "\t[江鹤依浩,fairy]\b[this]你还没有完成该任务!" + ] + } + ] + } + ] + }, + { + "text": "无事", + "action": [] + } + ] + } ], "6,8": [ "此传送阵需要魔力值开启,建议通关黑暗神殿区域之后再进入", diff --git a/project/items.js b/project/items.js index fba5601..bc54f9d 100644 --- a/project/items.js +++ b/project/items.js @@ -2834,17 +2834,11 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "canUseItemEffect": "true" }, "I1088": { - "cls": "tools", - "name": "新物品", + "cls": "constants", + "name": "火焰纹章", "canUseItemEffect": "true", - "useItemEvent": [ - { - "type": "setValue", - "name": "flag:shengqishi", - "operator": "+=", - "value": "30" - } - ] + "useItemEvent": null, + "text": "击败美面魔帝的毕业奖励,拥有此物,最后评分提高20%" }, "I1089": { "cls": "items",