From f09bee9c0d3700cf7bc85589ad693e11bb7692f0 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Sat, 20 Jul 2024 18:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=88=B6=E4=BA=86=E6=9D=91=E5=BA=84?= =?UTF-8?q?=E7=9A=84=E6=A5=BC=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/data.js | 12 +- project/floors/CZ1.js | 295 +++++++++ project/floors/CZ10.js | 1283 ++++++++++++++++++++++++++++++++++++++++ project/floors/CZ2.js | 89 +++ project/floors/CZ3.js | 133 +++++ project/floors/CZ4.js | 88 +++ project/floors/CZ5.js | 86 +++ project/floors/CZ6.js | 96 +++ project/floors/CZ7.js | 180 ++++++ project/floors/CZ8.js | 164 +++++ project/floors/CZ9.js | 136 +++++ 11 files changed, 2561 insertions(+), 1 deletion(-) create mode 100644 project/floors/CZ1.js create mode 100644 project/floors/CZ10.js create mode 100644 project/floors/CZ2.js create mode 100644 project/floors/CZ3.js create mode 100644 project/floors/CZ4.js create mode 100644 project/floors/CZ5.js create mode 100644 project/floors/CZ6.js create mode 100644 project/floors/CZ7.js create mode 100644 project/floors/CZ8.js create mode 100644 project/floors/CZ9.js diff --git a/project/data.js b/project/data.js index 63ce9c7..4fbdf9b 100644 --- a/project/data.js +++ b/project/data.js @@ -40,7 +40,17 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "XY8", "XY9", "XY10", - "YS1" + "YS1", + "CZ1", + "CZ2", + "CZ3", + "CZ4", + "CZ5", + "CZ6", + "CZ7", + "CZ8", + "CZ9", + "CZ10" ], "floorPartitions": [], "images": [ diff --git a/project/floors/CZ1.js b/project/floors/CZ1.js new file mode 100644 index 0000000..e4ced0a --- /dev/null +++ b/project/floors/CZ1.js @@ -0,0 +1,295 @@ +main.floors.CZ1= +{ + "floorId": "CZ1", + "title": "村庄 1 ", + "name": "村庄1", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "6,1": [ + "\t[三长老,king]\b[this,6,1]呀,小圣子", + "\t[光明圣子,hero]\b[down]三长老,您知道黑暗势力入侵的村庄在哪个方向吗", + "\t[三长老,king]\b[this,6,1]我当然知道啦,就在这个方向,你快上去吧", + "\t[光明圣子,hero]\b[down]多谢三长老", + { + "type": "move", + "loc": [ + 6, + 1 + ], + "time": 50, + "keep": true, + "steps": [ + "left:1" + ] + } + ], + "7,5": [ + "红宝石:提升攻击力\n蓝宝石:提升防御力\n绿宝石:提升护盾\n血红宝石:提升生命上限\n粉红宝石:提升魔力上限\n白宝石:进行加点\n黄宝石:提升攻击力、防御力和护盾\n血瓶:恢复血量\n钥匙:打开对应颜色的门\n神之血琼浆玉露:提升最大生命值百分比的生命值\n紫露魔力药水:提升最大魔力值百分比的魔力值\n星露:提升百分比的生命值和魔力值" + ], + "6,11": [ + { + "type": "if", + "condition": "switch:A", + "true": [ + "\t[光明圣子]四长老,你这么坑我,不怕教皇爷爷和二长老找你算账吗", + "\t[四长老,recluse]\b[this]嘿嘿,有钱不赚非君子,我走啦", + { + "type": "comment", + "text": "下一条指令可视情况使用或不使用" + }, + { + "type": "hide", + "remove": true, + "time": 250 + } + ], + "false": [ + { + "type": "confirm", + "text": "这条路由我管\n你出50金币就让你过去。", + "yes": [ + { + "type": "if", + "condition": "(status:money>=50)", + "true": [ + { + "type": "setValue", + "name": "status:money", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "确定" + }, + { + "type": "setValue", + "name": "switch:A", + "value": "true" + } + ], + "false": [ + { + "type": "playSound", + "name": "操作失败" + }, + "\t[四长老,recluse]\b[this]你的金币不足!" + ] + } + ], + "no": [] + } + ] + } + ], + "9,6": [ + "\t[凌依,N1151]\b[this,9,6]凌依拜见圣子殿下", + "\t[光明圣子,hero]\b[up]不必多礼,说说这里的情况吧", + "\t[凌依,N1151]\b[this,9,6]好,教皇陛下还是担心殿下安危,派了三长老、四长老和七长老以及属下协助殿下", + "\t[凌依,N1151]\b[this,9,6]不过属下认为,三长老毕竟是圣女的人,他的话不太可信,圣子殿下应当小心", + "\t[光明圣子,hero]\b[up]好,我自有决断,你继续去探路", + "\t[凌依,N1151]\b[this,9,6]属下遵命!", + { + "type": "hide", + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 5 + ] + ], + "floorId": "MT0", + "remove": true + } + ], + "1,6": [ + "\t[七长老,wizard]圣子宝贝,快过来,我给你开了一条路,加油哦", + { + "type": "hide", + "remove": true + } + ], + "5,1": [ + "\t[三长老,king]\b[this,5,1]快去吧,嘿嘿" + ], + "10,7": [ + "遇到下方这种宝箱,可以使用50魔力值打开,可能获得的物品有钥匙、护盾、魔力药水、生命药水等" + ], + "10,8": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "status:money", + "operator": "+=", + "value": "250" + }, + "你这个二百五,送你250金币!" + ] + } + ], + "no": [] + } + ], + "5,10": [ + "巅峰塔暂未开启" + ], + "7,3": { + "trigger": null, + "enable": false, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + "\t[光明圣子]你在这里干嘛", + "\t[乞丐,N1147]你要干什么", + { + "type": "choices", + "text": "\t[光明圣子]选择", + "choices": [ + { + "text": "我要你身后的宝石,还不速速滚开", + "action": [ + "\t[乞丐,N1147]该死的光明圣子,我不会放过你的!", + { + "type": "setValue", + "name": "flag:A", + "operator": "-=", + "value": "1" + }, + { + "type": "hide", + "loc": [ + [ + 7, + 3 + ] + ], + "remove": true + } + ] + }, + { + "text": "无事", + "action": [] + } + ] + } + ] + }, + "2,7": [ + "计分方式:最大生命值*10+攻击力*10000+防御力*10000+护盾*6000+神之血*一定数值+紫露*一定数值+星露*一定数值(按照六长老商店金币以1比100换算,六长老商店没有的分数在500到2500之间)+当前生命值" + ] + }, + "changeFloor": { + "12,6": { + "floorId": "MT1", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "CZ2", + "loc": [ + 6, + 12 + ] + }, + "6,12": { + "floorId": "CZ3", + "loc": [ + 6, + 0 + ] + }, + "0,6": { + "floorId": "CZ4", + "loc": [ + 12, + 6 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 0,127, 0, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20,70344,70345], + [ 20, 20,10300,1064,10299, 0, 0,10289, 20, 20, 20,70352,70353], + [ 94,125, 0, 0, 0, 0, 0, 0, 0,1151, 0, 0, 93], + [ 20, 20,10289, 20,1063, 20, 0, 20, 20, 20,10289, 20, 20], + [ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20,10110, 20, 20], + [ 20, 20, 20, 20, 20,70392, 0, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20,70400, 0, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20,126, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 91, 20, 20, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 12, + 6 + ] +} \ No newline at end of file diff --git a/project/floors/CZ10.js b/project/floors/CZ10.js new file mode 100644 index 0000000..6b5938c --- /dev/null +++ b/project/floors/CZ10.js @@ -0,0 +1,1283 @@ +main.floors.CZ10= +{ + "floorId": "CZ10", + "title": "村庄 10 ", + "name": "村庄10", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "6,10": [ + "\t[凌依,N1151]\b[this,6,10]殿下,这里有几个难缠的怪物", + "\t[光明圣子,hero]\b[up]emmmm,看到了", + "\t[凌依,N1151]\b[this,6,10]黑暗骑士不是殿下现在能应付的,让我等光明骑士对付吧!黑暗与光明终究要一碰的!", + "\t[光明圣子,hero]\b[up]行,那后面那个史莱姆王,我应该能应付!", + { + "type": "hide", + "remove": true + } + ], + "6,8": [ + { + "type": "confirm", + "text": "确认要跳过剧情吗?", + "yes": [ + { + "type": "hide", + "loc": [ + [ + 6, + 6 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "specialDoor", + "loc": [ + [ + 6, + 9 + ] + ] + }, + { + "type": "hide", + "remove": true + } + ], + "no": [ + "\t[黑暗骑士,E725]\b[up]黑暗骑士恭迎光明圣子殿下!", + "\t[光明圣子,hero]\b[down]呵,看得出你们等本少爷很久了。", + "\t[黑暗骑士,E725]\b[up]殿下误会了,是我们尊贵的黑暗圣子殿下想要见您,所以让我们来请殿下去黑暗神殿一聚", + "\t[光明圣子,hero]\b[down]请本少爷?就凭你能请动吗?", + { + "type": "setBlock", + "number": "N1151", + "loc": [ + [ + 6, + 7 + ] + ] + }, + "\t[凌依,N1151]\b[down]让我来会一会黑暗神殿的黑暗骑士吧,看看究竟是光明更强,还是黑暗更强!", + "\t[黑暗骑士,E725]\b[up]想来我是不便向殿下出手了,只能由让殿下脏手与小喽啰一战了。", + "\t[凌依,N1151]\b[down]废话少说,接招!", + { + "type": "hide", + "loc": [ + [ + 6, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 6, + 6 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "specialDoor", + "loc": [ + [ + 6, + 9 + ] + ] + }, + "\t[骷髅史莱姆王,E1039]\b[this,6,4]不知在下能否有幸让殿下出手呢", + "\t[光明圣子]\b[down]废话,本少爷身边的守护骑士都走了,当然得本少爷出手啦,来吧!", + { + "type": "hide", + "remove": true + } + ] + } + ], + "9,6": { + "trigger": null, + "enable": false, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "item:blueKey", + "operator": "+=", + "value": "1" + } + ] + } + ], + "no": [] + } + ] + }, + "3,6": { + "trigger": null, + "enable": false, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "item:I491", + "operator": "+=", + "value": "3" + } + ] + } + ], + "no": [] + } + ] + }, + "8,6": { + "trigger": null, + "enable": false, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + "\t[凌依,N1151]\b[down]殿下,属下等候多时了。", + "\t[凌依,N1151]\b[down]属下已经去两条路探过了。左右两边的宝石提升数值大致相等,打败怪物所获金币也一致。", + "\t[凌依,N1151]\b[down]不同之处在于\n左边的路宝物特有的:回魔权杖、破墙镐、炸弹\n右边的路宝物特有的:光明宝典(进阶版)、普通权杖、大黄钥匙\n左边的路上魔法阵比较多,右边的路领域怪较多。" + ] + }, + "3,0": [ + "\t[七长老,wizard]\b[this,3,0]我的宝贝圣子,你来啦", + "\t[光明圣子,hero]叔叔……七长老,您有什么事要告诉我呀", + "\t[七长老,wizard]\b[this,3,0]看到我旁边这种东西没,这是魔法阵,你需要使用30魔力值才能打开", + "\t[光明圣子,hero]哦哦", + "\t[七长老,wizard]\b[this,3,0]不慌,我给你提升一下实力", + { + "type": "setValue", + "name": "status:manamax", + "operator": "+=", + "value": "50" + }, + { + "type": "setValue", + "name": "status:mana", + "operator": "+=", + "value": "50" + }, + "\t[七长老,wizard]\b[this,3,0]我走啦", + { + "type": "hide", + "remove": true + } + ], + "9,0": [ + "\t[二长老,man]\b[this,9,0]我的宝贝圣子,你来啦", + "\t[光明圣子,hero]\b[down]伯伯……,您有什么事要告诉我呀", + "\t[二长老,man]\b[this,9,0]看到我旁边这种东西没,这是魔法阵,你需要使用30魔力值才能打开", + "\t[光明圣子,hero]哦哦", + "\t[二长老,man]\b[this,9,0]不慌,我给你提升一下实力", + { + "type": "setValue", + "name": "status:manamax", + "operator": "+=", + "value": "50" + }, + { + "type": "setValue", + "name": "status:mana", + "operator": "+=", + "value": "50" + }, + "\t[二长老,man]\b[this,9,0]我走啦", + { + "type": "hide", + "remove": true + } + ], + "4,5": { + "trigger": null, + "enable": false, + "noPass": null, + "displayDamage": true, + "opacity": 1, + "filter": { + "blur": 0, + "hue": 0, + "grayscale": 0, + "invert": false, + "shadow": 0 + }, + "data": [ + "\t[光明圣女,N1169]\b[down]圣子弟弟,你来了", + "\t[光明圣子]\b[up]为光明除去黑暗,身为圣子义不容辞!", + "\t[光明圣女,N1169]\b[down]虽说圣子弟弟你实力不足,不过姐姐我还是不会坐看黑暗神殿欺负你的", + "\t[光明圣子]\b[down]呵呵,那小弟多谢姐姐啦。只是姐姐若是也败在黑暗圣子手里,那丢的可是光明神殿的脸呀", + "\t[光明圣女,N1169]\b[down]怎么会呢,弟弟不用担心我的。现在有两条路,咱们各选一条吧", + { + "type": "choices", + "text": "\t[光明圣女,N1169]选择左边或者右边", + "choices": [ + { + "text": "左边", + "action": [ + { + "type": "openDoor", + "loc": [ + 4, + 0 + ] + }, + "\t[光明圣女,N1169]\b[down]那我先走了!", + { + "type": "hide", + "loc": [ + [ + 4, + 5 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 4, + 6 + ] + ], + "remove": true + }, + "\t[凌依,N1151]\b[down]属下先去探路", + { + "type": "hide", + "loc": [ + [ + 8, + 6 + ] + ], + "remove": true + } + ] + }, + { + "text": "右边", + "action": [ + { + "type": "openDoor", + "loc": [ + 8, + 0 + ] + }, + "\t[光明圣女,N1169]\b[down]那我先走了!", + { + "type": "hide", + "loc": [ + [ + 4, + 5 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 4, + 6 + ] + ], + "remove": true + }, + "\t[凌依,N1151]\b[down]属下先去探路", + { + "type": "hide", + "loc": [ + [ + 8, + 6 + ] + ], + "remove": true + } + ] + }, + { + "text": "跳过二区", + "action": [ + { + "type": "changeFloor", + "floorId": "MM6", + "loc": [ + 6, + 5 + ] + }, + { + "type": "hide", + "loc": [ + [ + 4, + 5 + ] + ], + "floorId": "CZ10", + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 4, + 6 + ] + ], + "floorId": "CZ10", + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 8, + 6 + ] + ], + "floorId": "CZ10", + "remove": true + } + ] + } + ] + } + ] + } + }, + "changeFloor": { + "6,12": { + "floorId": ":before", + "stair": "upFloor" + }, + "6,0": { + "floorId": "MM2", + "loc": [ + 6, + 12 + ] + }, + "0,0": { + "floorId": "SR1", + "loc": [ + 11, + 1 + ] + }, + "12,0": { + "floorId": "SR16", + "loc": [ + 0, + 0 + ] + } + }, + "beforeBattle": {}, + "afterBattle": { + "6,4": [ + { + "type": "setBlock", + "number": "I496", + "loc": [ + [ + 5, + 4 + ] + ] + }, + { + "type": "setBlock", + "number": "I484", + "loc": [ + [ + 7, + 4 + ] + ] + }, + { + "type": "setBlock", + "number": "I441", + "loc": [ + [ + 6, + 3 + ] + ] + }, + { + "type": "setBlock", + "number": "X10110", + "loc": [ + [ + 9, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "X10110", + "loc": [ + [ + 3, + 6 + ] + ] + }, + { + "type": "show", + "loc": [ + [ + 3, + 6 + ] + ] + }, + { + "type": "show", + "loc": [ + [ + 9, + 6 + ] + ] + }, + { + "type": "hide", + "loc": [ + [ + 6, + 9 + ] + ], + "remove": true + }, + "\t[??]\b[up]不错嘛", + "\t[光明圣子]\b[down]什么人?", + { + "type": "animate", + "name": "sword3", + "loc": [ + 6, + 5 + ] + }, + { + "type": "confirm", + "text": "确认要跳过剧情吗?", + "yes": [ + { + "type": "if", + "condition": "(flag:A>1)", + "true": [ + "先回圣子宫" + ], + "false": [ + { + "type": "setValue", + "name": "status:hpmax", + "operator": "-=", + "value": "50" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "-=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "-=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "-=", + "value": "5" + }, + "先回圣子宫" + ] + }, + { + "type": "show", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + }, + { + "type": "setBlock", + "number": "N1142", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + } + ], + "no": [ + { + "type": "if", + "condition": "(flag:A>1)", + "true": [ + { + "type": "animate", + "name": "sword2", + "loc": [ + 6, + 5 + ] + }, + { + "type": "setBlock", + "number": "N1152", + "loc": [ + [ + 6, + 4 + ] + ] + }, + "\t[乔浩岚,N1152]\b[down]殿下小心!", + "\t[光明圣子,up]好险!究竟是什么人,竟然偷袭本少爷!", + { + "type": "changePos", + "direction": "down" + }, + { + "type": "playBgm", + "name": "mingzhentankenanlansegubao.mp3" + }, + { + "type": "animate", + "name": "heidong3", + "loc": [ + 6, + 7 + ] + }, + { + "type": "setBlock", + "number": "N1165", + "loc": [ + [ + 6, + 7 + ] + ] + }, + { + "type": "vibrate", + "direction": "horizontal", + "time": 2000, + "speed": 10, + "power": 10 + }, + "\t[??,N1165]\b[down]莫析•辉,刚刚要不是这小子,你可得脱层皮!", + "\t[光明圣子,down]你是什么人!竟敢偷袭本少爷!啊,你怎么长得和我这么像……", + "\t[??,N1165]\b[down]哼,黑暗骑士们,还不出来,“请”光明圣子到黑暗神殿一坐?", + { + "type": "animate", + "name": "re", + "loc": [ + 5, + 7 + ] + }, + { + "type": "animate", + "name": "re", + "loc": [ + 7, + 7 + ] + }, + { + "type": "setBlock", + "number": "E725", + "loc": [ + [ + 5, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "E725", + "loc": [ + [ + 7, + 7 + ] + ] + }, + "\t[黑暗骑士,E725]为黑暗而战!", + "\t[光明圣子,down]我靠!", + "\t[黑暗骑士,E725]光明圣子殿下,麻烦您和我们走一趟吧", + "\t[光明骑士,N374]黑暗神殿欺我光明神殿无人吗?", + { + "type": "animate", + "name": "light", + "loc": [ + 5, + 5 + ] + }, + { + "type": "animate", + "name": "light", + "loc": [ + 7, + 5 + ] + }, + { + "type": "setBlock", + "number": "N374", + "loc": [ + [ + 5, + 5 + ] + ] + }, + { + "type": "setBlock", + "number": "N374", + "loc": [ + [ + 7, + 5 + ] + ] + }, + "\t[光明骑士,N374]为光明而战!", + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 6, + 6 + ] + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 5, + 6 + ], + "async": true + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 7, + 6 + ], + "async": true + }, + { + "type": "animate", + "name": "thunder2", + "loc": [ + 6, + 6 + ] + }, + { + "type": "animate", + "name": "thunder3", + "loc": [ + 6, + 6 + ] + }, + { + "type": "vibrate", + "direction": "diagonal1", + "time": 2000, + "speed": 10, + "power": 10 + }, + "\t[黑暗骑士,E725]殿下,短时间内,我们恐怕无法战胜光明骑士团掳走光明圣子,这里距离光明神殿太近了,怕是会惊扰到光明教皇……", + "\t[??,N1165]\b[down]光明圣子莫析•辉,同时转告光明圣女北纳•蜜西娅,我黑暗圣子墨奈,向你们宣战!有本事的话,来村庄尽头找本少爷!哈哈哈哈哈!", + { + "type": "vibrate", + "direction": "horizontal", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "hide", + "loc": [ + [ + 6, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 5, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 7 + ] + ], + "remove": true + }, + "\t[光明圣子,down]黑暗圣子……竟然是黑暗神殿的圣子……他好像比我厉害……", + "\t[乔浩岚,N1152]\b[down]殿下,别担心,我会保护你的!", + "\t[光明圣子,down]没事,我得先向教皇爷爷禀报一下这里的情况,然后再看看怎么处理黑暗圣子的事。(教皇已经在圣子宫等你了)", + "\t[乔浩岚,N1152]\b[down]是!", + "\t[光明圣子]\b[up]你们先退下吧", + "\t[乔浩岚,N1152]\b[down]是!", + { + "type": "hide", + "loc": [ + [ + 6, + 4 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 5, + 5 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 5 + ] + ], + "remove": true + }, + { + "type": "show", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + }, + { + "type": "setBlock", + "number": "N1142", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + } + ], + "false": [ + { + "type": "setValue", + "name": "status:hpmax", + "operator": "-=", + "value": "50" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "-=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "-=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "-=", + "value": "5" + }, + "\t[光明圣子]\b[up]啊啊啊啊啊!", + { + "type": "changePos", + "direction": "down" + }, + { + "type": "playBgm", + "name": "mingzhentankenanlansegubao.mp3" + }, + { + "type": "animate", + "name": "heidong3", + "loc": [ + 6, + 7 + ] + }, + { + "type": "setBlock", + "number": "N1165", + "loc": [ + [ + 6, + 7 + ] + ] + }, + { + "type": "vibrate", + "direction": "diagonal1", + "time": 2000, + "speed": 10, + "power": 10 + }, + "\t[??,N1165]\b[down]莫析•辉,感觉怎么样?", + "\t[光明圣子,down]你是什么人!竟敢偷袭本少爷!啊,你怎么长得和我这么像……", + "\t[??,N1165]\b[down]哼,黑暗骑士们,还不出来,“请”光明圣子到黑暗神殿一坐?", + { + "type": "animate", + "name": "re", + "loc": [ + 5, + 7 + ] + }, + { + "type": "animate", + "name": "re", + "loc": [ + 7, + 7 + ] + }, + { + "type": "setBlock", + "number": "E725", + "loc": [ + [ + 5, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "E725", + "loc": [ + [ + 7, + 7 + ] + ] + }, + "\t[黑暗骑士,E725]为黑暗而战!", + "\t[光明圣子,down]我靠!", + "\t[黑暗骑士,E725]光明圣子殿下,麻烦您和我们走一趟吧", + "\t[光明骑士,N374]黑暗神殿欺我光明神殿无人吗?", + { + "type": "animate", + "name": "light", + "loc": [ + 5, + 5 + ] + }, + { + "type": "animate", + "name": "light", + "loc": [ + 7, + 5 + ] + }, + { + "type": "setBlock", + "number": "N374", + "loc": [ + [ + 5, + 5 + ] + ] + }, + { + "type": "setBlock", + "number": "N374", + "loc": [ + [ + 7, + 5 + ] + ] + }, + "\t[光明骑士,N374]为光明而战!", + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 6, + 6 + ] + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 5, + 6 + ], + "async": true + }, + { + "type": "animate", + "name": "yijianzhanqianye", + "loc": [ + 7, + 6 + ], + "async": true + }, + { + "type": "animate", + "name": "thunder2", + "loc": [ + 6, + 6 + ] + }, + { + "type": "animate", + "name": "thunder3", + "loc": [ + 6, + 6 + ] + }, + { + "type": "vibrate", + "direction": "diagonal1", + "time": 2000, + "speed": 10, + "power": 10 + }, + "\t[黑暗骑士,E725]殿下,短时间内,我们恐怕无法战胜光明骑士团掳走光明圣子,这里距离光明神殿太近了,怕是会惊扰到光明教皇……", + "\t[??,N1165]\b[down]光明圣子莫析•辉,同时转告光明圣女北纳•蜜西娅,我黑暗圣子墨奈,向你们宣战!有本事的话,来村庄尽头找本少爷!哈哈哈哈哈!", + { + "type": "hide", + "loc": [ + [ + 6, + 7 + ] + ], + "remove": true + }, + { + "type": "vibrate", + "direction": "horizontal", + "time": 2000, + "speed": 10, + "power": 10 + }, + { + "type": "hide", + "loc": [ + [ + 5, + 7 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 7, + 7 + ] + ], + "remove": true + }, + "\t[光明圣子,down]黑暗圣子……竟然是黑暗神殿的圣子……他好像比我厉害……看来,我得去找教皇爷爷禀报一下了……(教皇已经在\r[red]圣子宫\r[]等你了)", + "\t[光明圣子]\b[up]你们先退下吧", + "\t[光明骑士,N374]\b[down]是!", + { + "type": "hide", + "loc": [ + [ + 5, + 5 + ] + ], + "remove": true + }, + { + "type": "show", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + }, + { + "type": "hide", + "loc": [ + [ + 7, + 5 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "N1142", + "loc": [ + [ + 6, + 7 + ] + ], + "floorId": "MT0" + } + ] + }, + { + "type": "changeFloor", + "floorId": "MM1" + }, + { + "type": "setHeroOpacity", + "opacity": 0 + }, + { + "type": "animate", + "name": "zone", + "loc": [ + 6, + 9 + ] + }, + { + "type": "setBlock", + "number": "N1183", + "loc": [ + [ + 6, + 9 + ] + ], + "floorId": "MM1" + }, + { + "type": "move", + "loc": [ + 6, + 9 + ], + "time": 500, + "keep": true, + "steps": [ + "up:5" + ] + }, + "\t[??,N1180]\b[up]大人", + "\t[??,N301]\b[down]怎么样?(隐晦的女声)", + "\t[??,N1180]\b[down]黑暗圣子墨奈竟然跑了,他居然没有和光明圣子火拼!", + "\t[??,N301]\b[down]很正常,这里离光明神殿太近了,容易招来光明教皇", + "\t[??,N301]\b[down]所以,黑暗圣子没有火并是正常的", + "\t[??,N1180]\b[up]可是,我做了这么多,岂不是白费了", + "\t[??,N301]\b[down]我不会让你的奴隶白费的。去吧,一定要挑起黑暗圣子和光明圣子、光明圣女的矛盾,让他们大战一场", + "\t[??,N301]\b[down]我本来还想着如何让黑暗圣子和光明神殿搞起来,没想到他自个儿去了,真是妙哉!啊哈哈哈哈!", + { + "type": "changeFloor", + "floorId": "CZ10" + }, + { + "type": "setHeroOpacity", + "opacity": 1 + }, + "\t[光明圣子]\b[down]先回\r[red]圣子宫\r[]" + ] + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 94,209,70338,125, 85, 0, 93, 0, 85,121,70338,209, 92], + [ 16, 16, 16, 16, 16, 0, 0, 0, 16, 16, 16, 16, 16], + [10293,10293,10293,10293,10293,10293, 0,10293,10293,10293,10293,10293,10293], + [10207,10207,10207,10207,10207,10207,10303,10207,10207,10207,10207,10207,10207], + [10295,10295, 0, 0, 0,10303,1039,10303, 0, 0, 0,10295,10295], + [10295,10295, 0, 0, 0, 0, 0, 0, 0, 0, 0,10295,10295], + [10295,10295, 0, 0, 0, 0,725, 0, 0, 0, 0,10295,10295], + [10295,10295, 0, 0, 0, 0, 0, 0, 0, 0, 0,10295,10295], + [10294,10294,10294,10294,10294,10294, 0,10294,10294,10294,10294,10294,10294], + [10294,10294,10294,10294,10294,10294, 83,10294,10294,10294,10294,10294,10294], + [10294,10294,10294,10294,10294,10294,1151,10294,10294,10294,10294,10294,10294], + [10294,10294,10294,10294,10294,10294, 0,10294,10294,10294,10294,10294,10294], + [ 16, 16, 16, 16, 16, 16, 91, 16, 16, 16, 16, 16, 16] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 6, + 12 + ] +} \ No newline at end of file diff --git a/project/floors/CZ2.js b/project/floors/CZ2.js new file mode 100644 index 0000000..a7860c1 --- /dev/null +++ b/project/floors/CZ2.js @@ -0,0 +1,89 @@ +main.floors.CZ2= +{ + "floorId": "CZ2", + "title": "村庄 2 ", + "name": "村庄2", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "6,8": [ + { + "type": "setBlock", + "number": "specialDoor", + "loc": [ + [ + 6, + 9 + ] + ] + }, + { + "type": "changePos", + "loc": [ + 6, + 8 + ], + "direction": "down" + }, + "\t[三长老,king]哈哈,圣子殿下,竟然被这点东西吸引了", + "\t[光明圣子]三长老,你干什么!", + "\t[三长老,king]我干什么?你太天真啦!你是莫析家族天赋最强的人,等你成为下一任光明教皇,岂能有我北纳家族的位置?让我替圣女把你除了吧!哈哈哈哈", + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "6,12": { + "floorId": "CZ1", + "loc": [ + 6, + 0 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20,419,416,410,398,413, 20, 20, 20, 20], + [ 20, 20, 20, 20,402,402,402,402,402, 20, 20, 20, 20], + [ 20, 20, 20, 20, 21, 21, 21, 21, 21, 20, 20, 20, 20], + [ 20, 20, 20, 20,434,403, 22,403,437, 20, 20, 20, 20], + [ 20, 20, 20, 20,434,403, 0,403,437, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20,1140, 0,1140, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 0, 0, 0, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20], + [ 20, 20, 20, 20, 20, 20, 91, 20, 20, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 6, + 12 + ] +} \ No newline at end of file diff --git a/project/floors/CZ3.js b/project/floors/CZ3.js new file mode 100644 index 0000000..63e7678 --- /dev/null +++ b/project/floors/CZ3.js @@ -0,0 +1,133 @@ +main.floors.CZ3= +{ + "floorId": "CZ3", + "title": "村庄 3 ", + "name": "村庄3", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "5,5": [ + "\t[二长老,man]圣子宝贝,你最好快一些收服圣骑士,越快越好,我这有几颗血红宝石,送给你吧", + { + "type": "setValue", + "name": "item:I397", + "operator": "+=", + "value": "10" + }, + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "6,0": { + "floorId": "CZ1", + "loc": [ + 6, + 12 + ] + }, + "0,6": { + "floorId": "CZ5", + "loc": [ + 12, + 6 + ] + } + }, + "beforeBattle": {}, + "afterBattle": { + "1,9": [ + { + "type": "setValue", + "name": "flag:door_CZ3_2_10", + "operator": "+=", + "value": "1" + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:door_CZ3_2_10", + "operator": "+=", + "value": "1" + } + ], + "6,4": [ + { + "type": "hide", + "loc": [ + [ + 6, + 11 + ] + ], + "floorId": "CZ1", + "remove": true + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": { + "2,10": { + "0": { + "condition": "flag:door_CZ3_2_10==2", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_CZ3_2_10", + "operator": "=", + "value": "null" + } + ] + } + } + }, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20], + [ 21, 20, 29, 21, 20, 27, 0, 28, 20, 32, 82,348, 21], + [398, 20, 0, 31, 20,397, 30,397, 20, 28, 20, 20, 20], + [205, 20,205, 20, 20,401,1129,401, 20, 0, 20,491, 32], + [ 0, 32, 0,203, 20, 20,208, 20, 20,266, 20,265, 20], + [ 20, 20, 20, 81, 20,121, 0, 0, 20, 81, 20, 81, 20], + [ 94, 0,202, 0, 34, 0, 0,265, 81, 0, 0, 0, 20], + [ 20, 20, 20, 82, 20, 20, 20, 20, 20, 20,203, 20, 20], + [ 20, 0, 34, 0,266, 0, 0, 0,266, 0, 0,402, 20], + [ 20,205, 0,205, 20, 20,204, 20, 20, 81, 20, 20, 20], + [ 20, 20, 85, 20, 20, 32, 27, 32, 20, 0, 21, 0, 20], + [ 20,400, 72,400, 20, 21, 29, 21, 20,1174, 0,205, 20], + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,491,404] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 0, + 6 + ] +} \ No newline at end of file diff --git a/project/floors/CZ4.js b/project/floors/CZ4.js new file mode 100644 index 0000000..47d7eb2 --- /dev/null +++ b/project/floors/CZ4.js @@ -0,0 +1,88 @@ +main.floors.CZ4= +{ + "floorId": "CZ4", + "title": "村庄 4 ", + "name": "村庄4", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [ + "\t[光明圣子]想不到神殿这么近的地方,竟然冒出如此多的怪物……还伤了不少村民" + ], + "eachArrive": [], + "parallelDo": "", + "events": { + "4,6": [ + "\t[三长老,king]\b[this,4,6]圣子啊,你知道白宝石应该怎么用吗", + "\t[光明圣子,hero]\b[up]不知道唉,还请三长老指点", + "\t[三长老,king]\b[this,4,6]一定要用白宝石多加生命值,这样才最划算", + "\t[光明圣子,hero]\b[up]是", + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "12,6": { + "floorId": "CZ1", + "loc": [ + 0, + 6 + ] + }, + "6,12": { + "floorId": "CZ5", + "loc": [ + 6, + 0 + ] + }, + "0,6": { + "floorId": "CZ6", + "loc": [ + 12, + 6 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20, 28, 20, 21,417,399,266,203, 20, 32,398, 21, 20], + [ 20, 32, 20, 20, 20, 20, 20, 0, 20, 0,205, 0, 20], + [ 20,203, 20, 0, 0, 27, 81,201, 20, 20, 81, 20, 20], + [ 20, 0, 20,202, 32, 0,20410, 0,265, 0, 0, 29, 20], + [ 20, 0, 20, 81, 20, 20,20410, 20, 20, 20, 20, 20, 20], + [ 94,265, 0, 0,127, 0,201, 31, 20, 21, 0, 0, 92], + [ 20, 0, 20, 20, 81, 20, 20, 0, 20, 0,1060, 0, 20], + [ 20, 29, 20, 0,203, 0, 20, 0, 81,201, 0, 21, 20], + [ 20, 32, 20, 31,416,1128, 20,201, 20, 20, 81, 20, 20], + [ 20, 0,202, 20, 20, 20,10300, 0, 20, 0,202, 0, 20], + [ 20,203, 0, 0, 32, 0,202, 0, 20, 21, 21, 21, 20], + [1174,397, 20, 20, 20, 20, 91,20395, 20, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 12, + 6 + ] +} \ No newline at end of file diff --git a/project/floors/CZ5.js b/project/floors/CZ5.js new file mode 100644 index 0000000..b8275fa --- /dev/null +++ b/project/floors/CZ5.js @@ -0,0 +1,86 @@ +main.floors.CZ5= +{ + "floorId": "CZ5", + "title": "村庄 5 ", + "name": "村庄5", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "11,8": [ + "\t[二长老,man]如果没有血了,可以使用“光明宝典”将魔力转换成生命值哦,现在我恢复你50点魔力值", + { + "type": "hide", + "remove": true + }, + { + "type": "setValue", + "name": "status:mana", + "operator": "+=", + "value": "50" + }, + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "6,0": { + "floorId": "CZ4", + "loc": [ + 6, + 12 + ] + }, + "12,6": { + "floorId": "CZ3", + "loc": [ + 0, + 6 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20], + [ 20,201, 81, 0, 20,401, 0,401, 20, 21, 29, 32, 20], + [ 20,265, 20,1128, 20, 0,201, 0, 20, 0, 28, 0, 20], + [ 20,205, 20, 0, 20, 20, 81, 20, 20, 20,202, 20, 20], + [ 20,397, 20, 0,202, 0, 0,201, 0, 31, 0, 0, 20], + [ 20,401, 20, 81, 20, 20, 20, 20, 20, 20, 20,201, 20], + [ 20, 30, 20, 0, 0,202, 22, 32, 27, 20, 32, 0, 92], + [ 20,401, 20,203, 20, 20, 20, 20, 20, 20, 0, 29, 20], + [ 20,397, 20, 0, 27, 20, 0, 21, 0,266, 0,121, 20], + [ 20,205, 20, 21, 0, 20, 34, 20, 20, 20, 81, 20, 20], + [ 20,265, 20, 0,401, 20, 0,349, 20, 0,203, 0, 20], + [ 20,201, 81, 0, 0,265, 0,20033, 20, 21,1173, 34, 20], + [ 20, 20, 20, 20, 20, 20, 20,20033,20035, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 6, + 0 + ] +} \ No newline at end of file diff --git a/project/floors/CZ6.js b/project/floors/CZ6.js new file mode 100644 index 0000000..cfda8ce --- /dev/null +++ b/project/floors/CZ6.js @@ -0,0 +1,96 @@ +main.floors.CZ6= +{ + "floorId": "CZ6", + "title": "村庄 6 ", + "name": "村庄6", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "6,11": [ + "\t[光明圣子]六长老?", + "\t[六长老,trader]生活困难,卖点东西赚钱", + "\t[光明圣子]牛逼!你敢赚我的钱,不怕教皇爷爷怪罪?", + "\t[六长老,trader]呵呵,我可不是你家伯伯,要白嫖找他去", + "\t[光明圣子]真是块硬石头,那我看看你店里有些什么", + { + "type": "openShop", + "id": "itemShop2", + "open": true + } + ], + "9,6": [ + "\t[凌依,N1151]\b[this,9,6]拜见圣子殿下,这个附近怪物很多,离神殿越远,怪物越强,村民们的尸体已经被尽数埋葬了", + "\t[光明圣子,hero]\b[up]凌依,你以为这是什么人领导的,能让这么多魔物在神殿附近伤人", + "\t[凌依,N1151]\b[this,9,6]能在光明神殿伤人,除非……", + "\t[光明圣子,hero]\b[up]黑暗神殿?", + "\t[凌依,N1151]\b[this,9,6]准确的说,应该是黑暗圣子,我们几个光明骑士与一个人交手过,他很强,自称黑暗圣子……", + "\t[光明圣子,hero]\b[up]黑暗圣子……", + "\t[凌依,N1151]\b[this,9,6]殿下,你可要小心", + "\t[光明圣子,hero]\b[up]嗯,你继续去探查!", + "\t[凌依,N1151]\b[this,9,6]属下告退!", + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "12,6": { + "floorId": "CZ4", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "CZ7", + "loc": [ + 6, + 12 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [140,140,140,140,140,140, 93, 20, 20, 20, 20, 20, 20], + [140,216, 81, 0, 0,205, 0, 0,265, 0, 81, 32, 20], + [140, 0, 20, 0, 32, 20, 20, 82, 20, 20, 20, 0, 20], + [140, 21, 20, 21, 0, 20, 31, 32,419, 21, 20,266, 20], + [140,402, 20, 20, 81, 20, 29,208,491,399, 20, 0, 20], + [140,397, 20, 0,203, 20, 20, 81, 20, 20, 20,205, 20], + [140,232, 20, 27, 0, 0,266, 0, 0,1151, 0, 0, 92], + [140, 0, 20,205, 20, 20, 20, 81, 20, 20, 20, 81, 20], + [140,206, 81, 0, 0, 0, 0,204, 0, 0, 20,205, 20], + [140, 21, 20,265, 20, 20, 81, 20, 20, 32, 20, 31, 20], + [140,403, 20, 21, 20,413,209,416, 20, 0, 20, 31, 20], + [140,460, 20, 31, 20,410,122,398, 82,265, 81, 31, 20], + [140, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 12, + 6 + ] +} \ No newline at end of file diff --git a/project/floors/CZ7.js b/project/floors/CZ7.js new file mode 100644 index 0000000..52f9cfa --- /dev/null +++ b/project/floors/CZ7.js @@ -0,0 +1,180 @@ +main.floors.CZ7= +{ + "floorId": "CZ7", + "title": "村庄 7 ", + "name": "村庄7", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [ + "如果已经收服圣骑士,并且圣骑士已经成为骑士,骷髅队长可以直接过去" + ], + "eachArrive": [], + "parallelDo": "", + "events": { + "10,10": [ + "\t[四长老,recluse]瞧一瞧看一看咧,我这里的钥匙,实惠又有用", + "\t[光明圣子]呵呵,四长老,你又出来挣钱啦", + "\t[四长老,recluse]嘿嘿,圣子殿下可要看看?我便宜点卖你", + "\t[光明圣子]要是贵了我的,当心教皇爷爷找你", + { + "type": "openShop", + "id": "itemShop", + "open": true + } + ], + "6,10": [ + "\t[凌依,N1151]\b[up]殿下之命,凌依已经带领骑士队将被怪物们杀害的村民埋葬", + "\t[光明圣子,hero]干的不错,你继续探路", + "\t[凌依,N1151]\b[up]遵命", + { + "type": "hide", + "remove": true + } + ], + "10,8": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "item:I492", + "operator": "+=", + "value": "2" + } + ] + } + ], + "no": [] + } + ] + }, + "changeFloor": { + "6,12": { + "floorId": "CZ6", + "loc": [ + 6, + 0 + ] + }, + "3,12": { + "floorId": ":next", + "stair": "downFloor" + } + }, + "beforeBattle": { + "3,6": [ + "\t[骷髅队长,skeletonWarrior]\b[this,3,6]吼!", + { + "type": "if", + "condition": "(flag:A>1)", + "true": [ + { + "type": "animate", + "name": "sword", + "loc": [ + 3, + 6 + ] + }, + "\t[乔浩岚,N1152]\b[this,3,6]殿下小心!", + { + "type": "hide", + "remove": true + }, + { + "type": "setValue", + "name": "status:money", + "operator": "+=", + "value": "20" + }, + { + "type": "setBlock", + "number": "N1152", + "loc": [ + [ + 3, + 6 + ] + ] + }, + "\t[光明圣子,hero]\b[down]你怎么来了", + "\t[乔浩岚,N1152]\b[this,3,6]属下担心殿下,就随殿下来了", + "\t[光明圣子,hero]\b[up]这个骷髅很厉害,幸好你来了!", + "\t[乔浩岚,N1152]\b[up]嘿嘿", + "\t[光明圣子,hero]\b[up]你既然来了,就帮我去前面探探路吧", + "\t[乔浩岚,N1152]\b[up]嘿嘿,遵命", + { + "type": "hide", + "remove": true + } + ], + "false": [] + } + ] + }, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20], + [ 20,400, 22,403, 30, 23, 20, 0, 31,416, 28, 27, 20], + [ 20, 20, 20,204, 20, 20, 20, 81, 20, 20, 20,397, 20], + [ 20,404, 20, 81, 20,404, 20, 81, 20,404, 20,266, 20], + [ 20,398, 20, 81, 20,398, 20, 81, 20,398, 20, 82, 20], + [ 20,208, 20, 81, 20,208, 20,211, 20,208, 20,492, 20], + [ 20, 0, 0,210, 0, 0, 20, 0,265, 0, 20,205, 20], + [ 20, 20, 20, 81, 20, 20,70247, 20, 20, 81, 20, 81, 20], + [ 20, 21, 31, 0,209, 0,265, 0, 81,266,10110, 0, 20], + [ 20, 20, 20, 20,70247, 20, 20,232, 20, 0, 0, 21, 20], + [ 20, 21, 0, 0, 20, 0,1151, 0, 20, 0,126,492, 20], + [ 20, 0, 32,204, 81,205, 0, 0, 81,206, 0, 21, 20], + [ 20, 20, 20, 91, 20, 20, 91, 20, 20, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 6, + 12 + ] +} \ No newline at end of file diff --git a/project/floors/CZ8.js b/project/floors/CZ8.js new file mode 100644 index 0000000..addccb7 --- /dev/null +++ b/project/floors/CZ8.js @@ -0,0 +1,164 @@ +main.floors.CZ8= +{ + "floorId": "CZ8", + "title": "村庄 8 ", + "name": "村庄8", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "5,3": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "item:yellowKey", + "operator": "+=", + "value": "3" + } + ] + } + ], + "no": [] + } + ], + "7,3": [ + { + "type": "confirm", + "text": "确认要打开这个宝箱吗?", + "yes": [ + { + "type": "if", + "condition": "(status:mana<50)", + "true": [ + { + "type": "playSound", + "name": "操作失败" + }, + "你的魔力不足!" + ], + "false": [ + { + "type": "setValue", + "name": "status:mana", + "operator": "-=", + "value": "50" + }, + { + "type": "playSound", + "name": "door.mp3" + }, + { + "type": "setBlock", + "number": "X10111" + }, + { + "type": "setValue", + "name": "item:I492", + "operator": "+=", + "value": "1" + } + ] + } + ], + "no": [] + } + ], + "4,11": [ + "\t[光明圣子,hero]五长老,你在这里干嘛", + "\t[五长老,youngMan]听闻圣子殿下正在调查村庄的事,想必遇到了不少怪物,我特来指点一下", + "\t[光明圣子,hero]五长老,请讲", + "\t[五长老,youngMan]圣子殿下若是打不过怪物,尽管提升生命上限,这样就能打赢啦", + "\t[光明圣子,hero]五长老说的是", + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "3,12": { + "floorId": "CZ7", + "loc": [ + 3, + 12 + ] + }, + "6,0": { + "floorId": "CZ9", + "loc": [ + 6, + 0 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20], + [ 20, 0, 21,401,209, 0,210, 0,209,401, 21, 0, 20], + [ 20, 0, 20, 20, 20, 20,434, 20, 20, 20,10294, 0, 20], + [ 20, 81, 20, 28, 20,10110, 20,10110, 20, 27, 20,208, 20], + [ 20, 0, 20,402,10294,428, 20, 22, 20,401, 20, 0, 20], + [ 20, 33, 20,207, 81,598,542,595, 81,211, 20, 34, 20], + [ 20, 0, 20, 81, 20,408, 20,435, 20, 0, 81, 0, 20], + [ 20,208, 20,204, 20, 20, 20, 20, 20, 0,207, 0, 20], + [ 20, 0,10294, 0,211,397,397,397, 20, 20,10294, 21, 20], + [ 20, 0,206, 0, 20,10294,204, 20,10294,401, 20, 20, 20], + [ 20, 20, 20, 0,404, 20,401,401, 20,399, 29, 21, 20], + [ 20,416, 20, 0,128, 20,402,402, 81,208, 21, 21, 20], + [ 20,401,208, 91, 20, 20, 20, 20,491, 20, 20, 20, 20] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 3, + 12 + ] +} \ No newline at end of file diff --git a/project/floors/CZ9.js b/project/floors/CZ9.js new file mode 100644 index 0000000..94c00c4 --- /dev/null +++ b/project/floors/CZ9.js @@ -0,0 +1,136 @@ +main.floors.CZ9= +{ + "floorId": "CZ9", + "title": "村庄 9 ", + "name": "村庄9", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "grass", + "bgm": "mingyunshouhu.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "6,0": { + "floorId": ":before", + "stair": "upFloor" + }, + "6,12": { + "floorId": ":next", + "stair": "downFloor" + } + }, + "beforeBattle": {}, + "afterBattle": { + "5,8": [ + { + "type": "setValue", + "name": "flag:door_CZ9_6_9", + "operator": "+=", + "value": "1" + } + ], + "7,8": [ + { + "type": "setValue", + "name": "flag:door_CZ9_6_9", + "operator": "+=", + "value": "1" + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:door_CZ9_6_11", + "operator": "+=", + "value": "1" + } + ], + "7,10": [ + { + "type": "setValue", + "name": "flag:door_CZ9_6_11", + "operator": "+=", + "value": "1" + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": { + "6,9": { + "0": { + "condition": "flag:door_CZ9_6_9==2", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_CZ9_6_9", + "operator": "=", + "value": "null" + } + ] + } + }, + "6,11": { + "0": { + "condition": "flag:door_CZ9_6_11==2", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_CZ9_6_11", + "operator": "=", + "value": "null" + } + ] + } + } + }, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20], + [ 20, 0,211, 0, 21,209, 0,210, 0, 0,209, 0, 20], + [ 20, 82, 20, 20, 20, 20,211, 20, 81,217, 20, 31, 20], + [ 20, 0, 20, 27,404, 20, 0, 20, 29,397, 20,402, 20], + [ 20, 31, 20,397, 29, 20,207, 20,404, 28, 20, 0, 20], + [ 20,209, 20, 81,248, 20, 0, 20, 20, 20, 20, 81, 20], + [ 20, 0,207, 0, 0, 81,208, 81, 21, 0,207, 0, 20], + [10294,10294,10294,10294,10294,10294, 82,10294,10294,10294,10294,10294,10294], + [10294, 32, 0,208, 0,220, 0,220, 0,208, 0, 32,10294], + [10294, 0,10294,10294,10294,10294, 85,10294,10294,10294,10294, 0,10294], + [10294,209,10294,210, 0,220, 0,220, 0,210,10294,209,10294], + [10294,416,10294, 0,10294,10294, 85,10294,10294, 0,10294, 22,10294], + [10294,434,10294,492,10294, 0, 91, 0,10294,403,10294,434,10294] +], + "bgmap": [ + +], + "fgmap": [ + +], + "flyPoint": [ + 6, + 0 + ] +} \ No newline at end of file