From cb515c83e692ebd779b632f841bd2e4622b77149 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Mon, 15 Jul 2024 11:51:15 +0800 Subject: [PATCH] add the second area --- project/enemys.js | 8 +-- project/floors/SN10.js | 157 ++++++++++++++++++++++++++++++++--------- project/floors/SN5.js | 57 ++++++++------- project/floors/SN6.js | 109 ++++++++++++++++++---------- project/floors/SN7.js | 153 +++++++++++++++++++++++++++++---------- project/floors/SN8.js | 109 ++++++++++++++++++---------- project/floors/SN9.js | 109 ++++++++++++++++++---------- project/items.js | 14 +++- 8 files changed, 493 insertions(+), 223 deletions(-) diff --git a/project/enemys.js b/project/enemys.js index 9af4ab2..e479c5a 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -12,10 +12,10 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "skeletonCaptain": {"name":"黄骷髅","hp":148,"atk":68,"def":15,"money":10,"exp":0,"point":0,"special":[6],"displayIdInBook":null,"counterAttack":0.2,"afterBattle":null,"level":"玄品初阶","n":3}, "zombie": {"name":"兽人","hp":225,"atk":120,"def":28,"money":10,"exp":0,"point":0,"special":[22],"damage":25,"level":"玄品初阶"}, "zombieKnight": {"name":"兽人武士","hp":2030,"atk":140,"def":45,"money":30,"exp":0,"point":0,"special":[5],"damage":300,"displayIdInBook":null,"level":"玄品高阶"}, - "rock": {"name":"石头人","hp":150,"atk":122,"def":65,"money":22,"exp":0,"point":0,"special":[],"level":"玄品中阶"}, + "rock": {"name":"石头人","hp":150,"atk":142,"def":65,"money":22,"exp":0,"point":0,"special":[],"level":"玄品中阶"}, "bluePriest": {"name":"初级法师","hp":58,"atk":30,"def":0,"money":4,"exp":0,"point":1,"special":[2],"level":"灵品中阶"}, - "redPriest": {"name":"高级法师","hp":328,"atk":58,"def":32,"money":16,"exp":0,"point":1,"special":[2],"displayIdInBook":null,"level":"玄品初阶"}, - "brownWizard": {"name":"麻衣巫师","hp":230,"atk":420,"def":0,"money":18,"exp":0,"point":0,"special":[2,6],"value":100,"range":null,"n":8}, + "redPriest": {"name":"高级法师","hp":328,"atk":64,"def":32,"money":16,"exp":0,"point":1,"special":[2],"displayIdInBook":null,"level":"玄品初阶"}, + "brownWizard": {"name":"麻衣巫师","hp":530,"atk":480,"def":105,"money":34,"exp":0,"point":0,"special":[2],"damage":300,"displayIdInBook":null,"level":"武品初阶"}, "redWizard": {"name":"红衣巫师","hp":210,"atk":540,"def":20,"money":22,"exp":0,"point":0,"special":[2,6],"value":100,"range":null,"n":7,"displayIdInBook":null}, "swordsman": {"name":"双手剑士","hp":850,"atk":545,"def":220,"money":32,"exp":0,"point":0,"special":[4]}, "soldier": {"name":"冥战士","hp":1624,"atk":634,"def":125,"money":30,"exp":0,"point":0,"special":[37],"Y":20}, @@ -48,7 +48,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "slimeman": {"name":"幽灵","hp":225,"atk":125,"def":35,"money":18,"exp":0,"point":0,"special":[6],"atkValue":2,"defValue":3,"n":8,"level":"玄品中阶"}, "yellowGateKeeper": {"name":"初级卫兵","hp":158,"atk":65,"def":10,"money":12,"exp":0,"point":0,"special":[22],"damage":50,"level":"灵品高阶"}, "blueGateKeeper": {"name":"中级卫兵","hp":265,"atk":145,"def":55,"money":24,"exp":0,"point":0,"special":0,"level":"玄品中阶"}, - "redGateKeeper": {"name":"高级卫兵","hp":72000,"atk":4850,"def":1350,"money":54,"exp":0,"point":0,"special":[9,36,37],"X":20,"Y":20,"purify":1}, + "redGateKeeper": {"name":"高级卫兵","hp":720,"atk":485,"def":135,"money":40,"exp":0,"point":0,"special":[9,36,37],"X":20,"Y":20,"purify":1,"level":"武品初阶"}, "magicMaster": {"name":"黑暗大法师","hp":10000,"atk":1600,"def":280,"money":12,"exp":0,"point":0,"special":[38],"value":0.3333333333333333,"add":true,"notBomb":true}, "devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, diff --git a/project/floors/SN10.js b/project/floors/SN10.js index 0d1893e..25aa108 100644 --- a/project/floors/SN10.js +++ b/project/floors/SN10.js @@ -1,43 +1,130 @@ main.floors.SN10= { -"floorId": "SN10", -"title": "圣女宫 10 ", -"name": "10", -"width": 13, -"height": 13, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 1, -"defaultGround": "T1067", -"bgm": "ending.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "floorId": "SN10", + "title": "圣女宫 10 ", + "name": "10", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "T1067", + "bgm": "ending.mp3", + "firstArrive": [ + { + "type": "jumpHero", + "loc": [ + 6, + 11 + ], + "time": 500 + }, + { + "type": "changePos", + "direction": "up" + }, + "\t[莫析辉,hero]\b[hero]圣女姐姐,我来了。", + "\t[蜜茜娅,N489]\b[this,6,2]圣子弟弟来啦,真是太令姐姐高兴了。", + { + "type": "moveHero", + "time": 500, + "steps": [ + "up:4" + ] + }, + "\t[莫析辉,hero]\b[hero]呵,我要是那么快来到圣女宫,那你布下的这么多怪物,岂不是白费了?", + "\t[蜜茜娅,N489]\b[this,6,2]弟弟误会了,姐姐也是为了弟弟,锻炼锻炼啦。要知道,我养这么多怪物,也是不容易的,拿出来给弟弟练练手,也是促进弟弟的实力嘛。", + "\t[蜜茜娅,N489]\b[this,6,2]还不快给圣子殿下上茶?", + "\t[蝶影,N432]\b[this,7,4]是。", + "\t[莫析辉,hero]\b[hero]不必了,咱们直接研习光明法术吧!" + ], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "6,12": { + "floorId": "SN9", + "loc": [ + 6, + 0 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0,50049,50049,50049,50049,50049,50049,50049,50049,50049,50049,50049, 0], + [ 0,50049,50049,50049,50049,50049,50071,50049,50049,50049,50049,50049, 0], + [ 0, 0,60549, 0, 0,50100,489,50100, 0, 0,60549, 0, 0], + [30858,30859,60355,50162,50163, 0, 0, 0,50162,50163,60355,30856,30857], + [ 0, 0, 0, 0, 0,473, 0,432, 0, 0, 0, 0, 0], + [50164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50164], + [ 0, 0,50165,50094, 0, 0, 0, 0, 0,50095,50165, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,50165,50094, 0, 0, 0,585, 0,50095,50165, 0, 0], + [50164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50164], + [ 0, 0,50165,50094, 0, 0, 0, 0, 0,50095,50165, 0, 0], + [ 0, 0, 0, 0, 0,442, 0,441, 0, 0, 0, 0, 0], + [30858,30859,50164,50164,50164,442, 91,441,50164,50164,50164,30856,30857] +], + "bgmap": [ + [31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054], + [31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054], + [31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054], + [31054,31054,30944,30945,30946,30947,30948,30949,30950,30951,31016,31054,31054], + [31054,31054,30952,30953,30954,30955,30956,30957,30958,30959,31024,31054,31054], + [31054,31054,30960,30961,30962,30963,30964,30965,30966,30967,31032,31054,31054], + [31054,31054,30968,30969,30970,30971,30972,30973,30974,30975,31040,31054,31054], + [31054,31054,30976,30977,30978,30979,30980,30981,30982,30983,31017,31054,31054], + [31054,31054,30984,30985,30986,30987,30988,30989,30990,30991,31025,31054,31054], + [31054,31054,30992,30993,30994,30995,30996,30997,30998,30999,31033,31054,31054], + [31054,31054,31000,31001,31002,31003,31004,31005,31006,31007,31041,31054,31054], + [31054,31054,31008,31009,31010,31011,31012,31013,31014,31015,31049,31054,31054], + [31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054,31054] +], + "fgmap": [ + [ 0, 0,50006,50007,50124, 0,50133, 0,50124,50006,50007, 0, 0], + [30842,30843,50014,50015,50132, 0, 0, 0,50132,50014,50015,30840,30841], + [30850,30851, 0,50154,50155, 0, 0, 0,50154,50155, 0,30848,30849], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [50156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50156], + [ 0, 0,50157,50086, 0, 0, 0, 0, 0,50087,50157, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,50157,50086, 0, 0, 0, 0, 0,50087,50157, 0, 0], + [50156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50156], + [ 0, 0,50157,50086, 0, 0, 0, 0, 0,50087,50157, 0, 0], + [30842,30843, 0, 0, 0, 0, 0, 0, 0, 0, 0,30840,30841], + [30850,30851,50156,50156,50156, 0, 0, 0,50156,50156,50156,30848,30849], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "bg2map": [ + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0,50049, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0,50079, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196], + [30196,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196] +], + "fg2map": [ + +], + "flyPoint": [ + 6, + 12 + ] } \ No newline at end of file diff --git a/project/floors/SN5.js b/project/floors/SN5.js index 5108fcb..198443b 100644 --- a/project/floors/SN5.js +++ b/project/floors/SN5.js @@ -16,7 +16,27 @@ main.floors.SN5= "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": { + "events": {}, + "changeFloor": { + "11,12": { + "floorId": "SN4", + "loc": [ + 11, + 12 + ] + }, + "0,12": { + "floorId": "SN6", + "loc": [ + 0, + 12 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": { "6,5": [ "\t[葛尔丹,N566]\b[this,2,1]咳咳,卢轩,我这些天实在是太疲惫了,你还是跟圣女妹妹去回绝一下,我是参加不了她的光明法术研讨会了……", "\t[卢轩,N578]\b[this,1,5]啊,是这样啊,那属下就去了。殿下您要好好休息呀。", @@ -33,7 +53,7 @@ main.floors.SN5= }, "\t[葛尔丹,N566]\b[this,2,1]卢轩走了吗?", "\t[准涵,N436]\b[this,3,5]走了,殿下。", - "\t[葛尔丹,N566]\b[this,2,1]哼,这个北纳蜜茜娅,可不是什么好东西!这次什么光明法术研讨,可不就是展示一下她的实力嘛,或者到时候给我们发难,问我们一些难堪的问题,可不是麻烦了吗?你啊,快去告诉一下圣子弟弟,别让圣子弟弟吃亏了。", + "\t[葛尔丹,N566]\b[this,2,1]哼,这个北纳蜜茜娅,可不是什么好东西!这次什么光明法术研讨,可不就是展示一下她的实力嘛,而且她布置这么多怪物在这里,不就是想暗中看看我们的实力如何吗?你啊,快去告诉一下圣子弟弟,别让圣子弟弟吃亏了。", "\t[准涵,N436]\b[this,3,5]殿下,您对圣子殿下真好。", "\t[葛尔丹,N566]\b[this,2,1]那是自然,圣子弟弟单纯,不像蜜西娅那般狡诈,我帮着他是应该的。", { @@ -71,7 +91,7 @@ main.floors.SN5= }, "\t[葛尔丹,N566]\b[this,2,1]圣子弟弟,你怎么来了。", "\t[莫析辉,hero]\b[hero]想不到,哥哥竟然对小弟这么好。", - "\t[葛尔丹,N566]\b[this,2,1]圣子弟弟,你我兄弟之间,何必如此。我年长些许,自然要对圣子弟弟好了。", + "\t[葛尔丹,N566]\b[this,2,1]圣子弟弟,你我兄弟之间,何必如此。我年长些许,自然要对圣子弟弟好了。对了,我这里有一件蕴灵甲,想必弟弟很是需要,就送给弟弟了。", "\t[莫析辉,hero]\b[hero]多谢哥哥,那蜜茜娅那边……", "\t[葛尔丹,N566]\b[this,2,1]我就不去了,圣子弟弟,那蜜西娅可没安好心,你当心点啊!", { @@ -97,35 +117,22 @@ main.floors.SN5= } ] }, - "changeFloor": { - "11,12": { - "floorId": "SN4", - "loc": [ - 11, - 12 - ] - } - }, - "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [141,141,141,141,141,141,141,141,141,141,141,141,141], - [141, 0,566, 0, 0,10156,141, 0,141, 0, 0, 0,141], - [141,10136,10137,10138, 0,694,141, 0, 0, 0, 0, 0,141], + [141,631,566, 0, 0,10156,141,682,141, 0,683, 0,141], + [141,10136,10137,10138, 0,694,141, 0, 81,213, 21,607,141], [141,10144,10145,10146, 0,683,141, 0,141,141,141,141,141], - [141,10152,10153,10154, 0,710,141, 0, 0, 0, 0, 0,141], + [141,10152,10153,10154, 0,710,141,206,214, 0,349,683,141], [141,581, 0,439, 0, 0, 82, 0,141,141,141,141,141], - [141,141,141,141,141,141,141, 0,141, 0, 0, 0,141], - [141, 0, 0, 0, 0, 0, 0, 0,141, 0,141, 0,141], - [141, 0,141,141,141,141,141, 0,141, 0,141, 0,141], - [141, 0,141, 0, 0, 0,141, 0,141, 0,141, 0,141], - [141, 0, 0, 0, 0, 0, 0, 0,141,141,141, 0,141], - [141, 0,141, 0, 0, 0,141, 0, 0, 0, 0, 0,141], + [141,141,141,141,141,141,141, 21,141, 0, 81,206,141], + [141, 0,213, 0,344, 0,218, 0,141,218,141, 0,141], + [141, 0,141,141,141,141,141,211,141,598,141, 21,141], + [141,682,141,682,348,694,141, 0,141,346,141, 0,141], + [141, 0, 81,206,710,211, 82,682,141,141,141,211,141], + [141,211,141,682,347,694,141, 0,206, 81, 0, 0,141], [ 92, 0,141,141,141,141,141,141,141,141,141, 91,141] ], "bgmap": [ diff --git a/project/floors/SN6.js b/project/floors/SN6.js index 960484c..2d403ab 100644 --- a/project/floors/SN6.js +++ b/project/floors/SN6.js @@ -1,43 +1,74 @@ main.floors.SN6= { -"floorId": "SN6", -"title": "圣女宫 6 ", -"name": "6", -"width": 13, -"height": 13, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 1, -"defaultGround": "T1067", -"bgm": "ending.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + "floorId": "SN6", + "title": "圣女宫 6 ", + "name": "6", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "T1067", + "bgm": "ending.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "0,12": { + "floorId": "SN5", + "loc": [ + 0, + 12 + ] + }, + "12,6": { + "floorId": "SN7", + "loc": [ + 12, + 6 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [141,141,141,141,141,141,141,141,141,141,141,141,141], + [141,682, 0,682,141,599, 0,607,141, 21, 0, 21,141], + [141, 0,683, 0,141, 0,349, 0,141, 0, 22, 0,141], + [141,682,215,682,141,694,214,348,141, 21,216, 21,141], + [141,141, 81,141,141,141, 82,141,141,141, 81,141,141], + [141,344, 0, 0,222, 0,682, 0, 82,211, 0,605,141], + [141,141,141,141,141,218,141,213,141,141,141,206, 94], + [141,218,343,682,141, 0,141, 0,141,141,141, 0,141], + [141, 81,141,141,141, 21,141,342, 0,218, 0,682,141], + [141, 0,682, 0,213, 0,141, 81,141,141, 81,141,141], + [141,206,141,141,141,141,141,682,141, 0,216, 0,141], + [141, 0, 81,211, 0,344, 0,206,141,682, 0,351,141], + [ 94, 0,141,141,141,141,141,141,141,141,141,141,141] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +], + "flyPoint": [ + 0, + 12 + ] } \ No newline at end of file diff --git a/project/floors/SN7.js b/project/floors/SN7.js index fa6ceb2..c903918 100644 --- a/project/floors/SN7.js +++ b/project/floors/SN7.js @@ -1,43 +1,118 @@ main.floors.SN7= { -"floorId": "SN7", -"title": "圣女宫 7 ", -"name": "7", -"width": 13, -"height": 13, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 1, -"defaultGround": "T1067", -"bgm": "ending.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + "floorId": "SN7", + "title": "圣女宫 7 ", + "name": "7", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "T1067", + "bgm": "ending.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "1,11": [ + { + "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" + }, + "获得初阶神之血*1", + { + "type": "setValue", + "name": "item:I710", + "operator": "+=", + "value": "1" + } + ] + } + ], + "no": [] + } + ] + }, + "changeFloor": { + "12,6": { + "floorId": "SN6", + "loc": [ + 12, + 6 + ] + }, + "6,12": { + "floorId": "SN8", + "loc": [ + 6, + 12 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [141,141,141,141,141,141,141,141,141,141,141,141,141], + [141,682, 0,682,141,609, 0,682,141,684,141, 21,141], + [141, 0,683, 0, 82, 0,355, 0,141,357,141,682,141], + [141, 0,215, 0,141, 0,214, 0,141, 22,141, 21,141], + [141,141, 81,141,141,141, 81,141,141, 0,141,218,141], + [141, 0, 0,222, 0,682, 0,218, 0,219, 82, 0,141], + [141, 81,141,141, 81,141,141,141, 81,141,141, 0, 92], + [141,216,141, 29,218,692,141, 0,216, 0,141, 0,141], + [141,694,141, 0, 27, 0,141, 0,359, 0,141,213,141], + [141,347,141, 28, 0,213,141,352, 0,710,141, 0,141], + [141,141,141,141,141, 83,141,141,141,141,141,344,141], + [141,10110, 21,218, 0, 0,213, 0,682, 0,218, 0,141], + [141,141,141,141,141,141, 93,141,141,141,141,141,141] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +], + "flyPoint": [ + 12, + 6 + ] } \ No newline at end of file diff --git a/project/floors/SN8.js b/project/floors/SN8.js index c11c208..32cbc9a 100644 --- a/project/floors/SN8.js +++ b/project/floors/SN8.js @@ -1,43 +1,74 @@ main.floors.SN8= { -"floorId": "SN8", -"title": "圣女宫 8 ", -"name": "8", -"width": 13, -"height": 13, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 1, -"defaultGround": "T1067", -"bgm": "ending.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + "floorId": "SN8", + "title": "圣女宫 8 ", + "name": "8", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "T1067", + "bgm": "ending.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "6,12": { + "floorId": "SN7", + "loc": [ + 6, + 12 + ] + }, + "6,0": { + "floorId": "SN9", + "loc": [ + 6, + 12 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [141,141,141,141,141,141, 91,141,141,141,141,141,141], + [141, 0,682, 0,214, 0, 21,213, 0, 82, 0,218,141], + [141,216,141, 81,141,141,141, 82,141,141,141, 0,141], + [141, 0,141,218,141,683,141,216,141,682,141, 21,141], + [141,344,141,342,141,609,141, 21,141,605,141, 0,141], + [141, 0,141,344,141,351,141,348,141, 22,141,213,141], + [141,222,141,216,141,214,141,214,141,216,141, 0,141], + [141, 81,141, 22,141,348,141,350,141,344,141,605,141], + [141,694,141,605,141, 21,141,696,141,343,141, 0,141], + [141, 0,141,682,141,216,141,683,141,218,141,206,141], + [141,215,141,141,141, 82,141,141,141, 81,141, 81,141], + [141, 0,693, 0,216, 0, 21, 0,218, 0,682, 0,141], + [141,141,141,141,141,141, 91,141,141,141,141,141,141] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +], + "flyPoint": [ + 6, + 12 + ] } \ No newline at end of file diff --git a/project/floors/SN9.js b/project/floors/SN9.js index 67b67c0..bd4adce 100644 --- a/project/floors/SN9.js +++ b/project/floors/SN9.js @@ -1,43 +1,74 @@ main.floors.SN9= { -"floorId": "SN9", -"title": "圣女宫 9 ", -"name": "9", -"width": 13, -"height": 13, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 1, -"defaultGround": "T1067", -"bgm": "ending.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + "floorId": "SN9", + "title": "圣女宫 9 ", + "name": "9", + "width": 13, + "height": 13, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "T1067", + "bgm": "ending.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "6,0": { + "floorId": "SN10", + "loc": [ + 6, + 12 + ] + }, + "6,12": { + "floorId": "SN8", + "loc": [ + 6, + 0 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [141,141,141,141,141,141, 91,141,141,141,141,141,141], + [141,682,141, 0, 30, 0,223, 0,682,141,346,347,141], + [141,607,141,214,141,141,141,141,344,141,141, 82,141], + [141, 22,141, 81,683, 0,216,141, 0, 21, 0,214,141], + [141,219,141,141,141,141, 81,141,222,141,141,141,141], + [141, 0,218, 81,344, 0,222, 0, 0,215, 0,682,141], + [141,141,141,141,141, 82,141, 81,141,141,141,141,141], + [141,218, 0,682, 0,213,141,214, 0,348,141,682,141], + [141, 81,141,141,141,141,141,141,141, 0,141,598,141], + [141,693, 0,213, 21,605,693,682,141,216,141, 21,141], + [141,216,141,141,141,141,141,141,141, 0,141,215,141], + [141, 0,682, 0, 81,218, 0,214, 0,682, 81, 0,141], + [141,141,141,141,141,141, 91,141,141,141,141,141,141] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +], + "flyPoint": [ + 6, + 12 + ] } \ No newline at end of file diff --git a/project/items.js b/project/items.js index 35b6cc3..e55ee2d 100644 --- a/project/items.js +++ b/project/items.js @@ -2029,9 +2029,17 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = } }, "I631": { - "cls": "items", - "name": "新物品", - "canUseItemEffect": "true" + "cls": "equips", + "name": "蕴灵甲", + "canUseItemEffect": "true", + "text": "防御力+12", + "equip": { + "type": "法袍", + "value": { + "def": 12 + }, + "percentage": {} + } }, "I632": { "cls": "items",