diff --git a/idea.md b/idea.md index fde73dc..1b58ef5 100644 --- a/idea.md +++ b/idea.md @@ -32,7 +32,7 @@ [x] 虚惊一场:打完山洞门口的怪只剩 1 滴血 [] 学坏了:学习敌人的电摇嘲讽技能 [x] 真能刷:勇气之路的刷血怪刷到 15w 以上的血 -[] 满腹经纶:把所有能学的怪物技能都学一遍 +[] 满腹经纶:把苍蓝之殿所有能学的怪物技能都学一遍 [] 冰与火之舞:通过第二章特殊战的困难难度 [x] 你是怎么做到的?!:山路地图与勇气之路地图中与若干个神秘的木牌对话 diff --git a/public/project/data.js b/public/project/data.js index 28a0071..02090fc 100644 --- a/public/project/data.js +++ b/public/project/data.js @@ -70,7 +70,19 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT55", "MT56", "MT57", - "MT58" + "MT58", + "MT59", + "MT60", + "MT61", + "MT62", + "MT63", + "MT64", + "MT65", + "MT66", + "MT67", + "MT68", + "MT69", + "MT71" ], "floorPartitions": [ [ diff --git a/public/project/enemys.js b/public/project/enemys.js index 8a9c1b3..803eab2 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -15,7 +15,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "rock": {"name":"洞穴巨石","hp":31,"atk":25,"def":0,"money":0,"exp":4,"point":0,"special":[3],"description":"一些具有攻击性的巨石?或许就是兽人穿上了一层石头外衣吧。"}, "bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[2]}, "redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "brownWizard": {"name":"苍蓝巫师","hp":8000,"atk":7000,"def":2000,"money":4,"exp":250,"point":0,"special":[28],"value":100,"range":2,"melt":null,"paleShield":25}, + "brownWizard": {"name":"苍蓝巫师","hp":16000,"atk":5000,"def":2000,"money":4,"exp":250,"point":0,"special":[28],"value":100,"range":2,"melt":null,"paleShield":25}, "redWizard": {"name":"靛红巫师","hp":12000,"atk":6000,"def":4000,"money":4,"exp":300,"point":0,"special":[25],"value":200,"zoneSquare":true,"melt":30}, "swordsman": {"name":"野蛮剑士","hp":250,"atk":55,"def":27,"money":0,"exp":9,"point":0,"special":[15],"value":75,"description":"剑?这是什么东西?他们拿的只是比较锋利的骨头吧。"}, "soldier": {"name":"冥战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, @@ -29,7 +29,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "skeletonPriest": {"name":"智慧骷髅","hp":4000,"atk":1200,"def":900,"money":1,"exp":75,"point":0,"special":[1,13],"value":20,"crit":500,"description":"人们说智慧可以做到任何事情,而这只骷髅却将可以变为了很容易。“我挥一挥法杖,智慧便会如泉般涌来。”,他说。"}, "skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "demonPriest": {"name":"苍蓝法师","hp":10000,"atk":4000,"def":4000,"money":4,"exp":250,"point":0,"special":[13]}, + "demonPriest": {"name":"苍蓝法师","hp":20000,"atk":4000,"def":3000,"money":4,"exp":250,"point":0,"special":[13]}, "goldHornSlime": {"name":"尖角怪","hp":1500,"atk":366,"def":166,"money":1,"exp":35,"point":0,"special":[],"description":"一个奇怪的物种,长着两只角就了不起了吗?或许还真是!"}, "silverSlime": {"name":"银头怪","hp":250,"atk":50,"def":20,"money":0,"exp":11,"point":0,"special":[2]}, "whiteHornSlime": {"name":"恐怖尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, @@ -54,7 +54,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "skeletonKnight": {"name":"骷髅骑士","hp":15000,"atk":4000,"def":5000,"money":5,"exp":450,"point":0,"special":[1,29],"crit":300,"value":5000,"specialHalo":[4],"haloRange":2}, + "skeletonKnight": {"name":"骷髅骑士","hp":25000,"atk":5000,"def":4000,"money":5,"exp":450,"point":0,"special":[1,29],"crit":300,"value":5000,"specialHalo":[4],"haloRange":2}, "skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"description":"法杖,人们总觉得这种东西只应该出现在虚拟的世界中。可是,智慧却成功将这件事变为了现实,而产物便是这只骷髅巫师。"}, "ironRock": {"name":"山间巨石","hp":750,"atk":150,"def":0,"money":0,"exp":20,"point":0,"special":[3],"description":"恐怖的东西,除了那只蝙蝠,还有...这个巨石。"}, "grayRock": {"name":"林间巨石","hp":100,"atk":60,"def":0,"money":0,"exp":12,"point":0,"special":[3],"description":"貌似比山洞里面的那些家伙硬了一些?哼,那又能有什么用呢?"}, @@ -113,7 +113,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E536": {"name":"智慧法师","hp":2000,"atk":400,"def":200,"money":1,"exp":35,"point":0,"special":[13]}, "E537": {"name":"智慧蝴蝶","hp":1500,"atk":450,"def":200,"money":1,"exp":35,"point":0,"special":[5,14]}, "E538": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E539": {"name":"苍蓝恶魔","hp":7500,"atk":4500,"def":3000,"money":4,"exp":200,"point":0,"special":[8],"together":25}, + "E539": {"name":"苍蓝恶魔","hp":15000,"atk":4500,"def":2000,"money":4,"exp":200,"point":0,"special":[8],"together":25}, "E544": {"name":"智慧具形","hp":2500,"atk":550,"def":225,"money":1,"exp":35,"point":0,"special":[]}, "E545": {"name":"勇气圣法","hp":3000,"atk":800,"def":350,"money":1,"exp":40,"point":0,"special":[13]}, "E546": {"name":"智慧信仰者","hp":2000,"atk":600,"def":250,"money":1,"exp":35,"point":0,"special":[]}, @@ -126,7 +126,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E561": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E562": {"name":"嘲讽剑客","hp":5000,"atk":1600,"def":500,"money":1,"exp":60,"point":0,"special":[19]}, "E563": {"name":"嘲讽剑圣","hp":15000,"atk":6000,"def":3000,"money":4,"exp":250,"point":0,"special":[19]}, - "E564": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E564": {"name":"苍蓝剑圣","hp":30000,"atk":6000,"def":3000,"money":5,"exp":400,"point":0,"special":[29],"haloRange":3,"specialHalo":[19]}, "E566": {"name":"智慧史莱姆","hp":6000,"atk":1200,"def":600,"money":1,"exp":50,"point":0,"special":[8],"together":25}, "E567": {"name":"精明史莱姆","hp":5000,"atk":1200,"def":550,"money":0,"exp":0,"point":0,"special":[8],"together":30}, "E568": {"name":"精明史莱姆","hp":5000,"atk":1500,"def":600,"money":1,"exp":60,"point":0,"special":[8],"together":30,"displayIdInBook":null}, @@ -143,7 +143,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E591": {"name":"新敌人","hp":10000,"atk":2000,"def":1000,"money":0,"exp":0,"point":0,"special":[]}, "E592": {"name":"冰封巨兽","hp":10000,"atk":2000,"def":1000,"money":2,"exp":85,"point":0,"special":[20,21],"iceHalo":20,"ice":50}, "E593": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E594": {"name":"苍蓝骑士","hp":10000,"atk":5000,"def":3000,"money":4,"exp":300,"point":0,"special":[29],"charge":500,"specialHalo":[11],"haloRange":3}, + "E594": {"name":"苍蓝骑士","hp":20000,"atk":5000,"def":2500,"money":4,"exp":300,"point":0,"special":[29],"charge":500,"specialHalo":[11],"haloRange":3}, "E595": {"name":"寒冰兽人","hp":12500,"atk":1800,"def":800,"money":2,"exp":100,"point":0,"special":[7],"hungry":25}, "E596": {"name":"苍蓝兽人","hp":20000,"atk":5000,"def":3000,"money":4,"exp":400,"point":0,"special":[1,28],"paleShield":30,"specialHalo":[],"iceHalo":20,"haloRange":2,"value":1000,"melt":50,"together":20,"fireCore":20,"crit":500}, "E597": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, @@ -160,7 +160,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E609": {"name":"具形雪人","hp":7500,"atk":2250,"def":1250,"money":2,"exp":90,"point":0,"special":[25],"melt":15}, "E610": {"name":"高冷雪人","hp":10000,"atk":2500,"def":1500,"money":2,"exp":150,"point":0,"special":[25],"melt":25}, "E611": {"name":"具形雪人法师","hp":15000,"atk":2500,"def":1750,"money":2,"exp":175,"point":0,"special":[13,25],"melt":30}, - "E612": {"name":"苍蓝雪人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E612": {"name":"苍蓝雪人","hp":30000,"atk":7500,"def":3000,"money":5,"exp":500,"point":0,"special":[29],"specialHalo":[25],"haloRange":3,"melt":10}, "E613": {"name":"寒冰核心","hp":20000,"atk":2750,"def":1500,"money":3,"exp":150,"point":0,"special":[26],"iceCore":20}, "E614": {"name":"火焰核心","hp":15000,"atk":2750,"def":1750,"money":3,"exp":140,"point":0,"special":[27],"fireCore":20}, "E615": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, @@ -172,8 +172,10 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E645": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E646": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E647": {"name":"苍蓝之灵-虚","hp":30000,"atk":5000,"def":3000,"money":10,"exp":2500,"point":0,"special":[28],"paleShield":10}, - "E656": {"name":"触手史莱姆","hp":12500,"atk":5000,"def":2500,"money":4,"exp":200,"point":0,"special":[8],"together":25}, + "E656": {"name":"触手史莱姆","hp":12500,"atk":4500,"def":2500,"money":4,"exp":200,"point":0,"special":[8],"together":25}, "E657": {"name":"触手法师","hp":50000,"atk":2000,"def":3000,"money":5,"exp":300,"point":0,"special":[8,13],"crit":null,"together":25}, "E658": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E659": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} + "E659": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E666": {"name":"苍蓝之灵-视","hp":300000,"atk":10000,"def":3000,"money":0,"exp":0,"point":0,"special":[29],"n":5,"specialHalo":[5],"haloRange":5}, + "E667": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} } \ No newline at end of file diff --git a/public/project/floors/MT50.js b/public/project/floors/MT50.js index 79bc573..52a6991 100644 --- a/public/project/floors/MT50.js +++ b/public/project/floors/MT50.js @@ -13,7 +13,15 @@ main.floors.MT50= "ratio": 8, "defaultGround": "T650", "bgm": "palaceSouth.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "openDoor", + "loc": [ + 2, + 7 + ] + } + ], "eachArrive": [], "parallelDo": "", "events": { @@ -39,7 +47,7 @@ main.floors.MT50= "本区域可以使用跳跃技能,不要忘记了。" ], "5,1": [ - "左边两个机关门在打完左下角区域的boss后开启,右边同理。" + "打完左下角和右下角的boss之后,开四个机关门" ] }, "changeFloor": { @@ -49,6 +57,20 @@ main.floors.MT50= 14, 7 ] + }, + "7,0": { + "floorId": "MT60", + "loc": [ + 7, + 14 + ] + }, + "14,7": { + "floorId": "MT62", + "loc": [ + 0, + 7 + ] } }, "beforeBattle": {}, @@ -60,19 +82,19 @@ main.floors.MT50= "cannotMoveIn": {}, "map": [ [648,648,648,648,648,648,648, 91,648,648,648,648,648,648,648], - [648, 0, 0, 0, 0,129, 0, 0, 0,129, 0, 0, 0, 0,648], - [648, 0,594, 0, 0,648,596,563,249,648, 0, 0, 0, 0,648], - [648, 0, 0, 0, 0,648,656,601,243,648, 0,240, 0, 0,648], - [648, 0, 0, 0,103,648,618,539,578,648,103, 0, 0, 0,648], - [648, 85,648,648,648,648,219, 0,220,648,648,648,648, 85,648], - [648, 0, 0, 0, 0, 0,484, 0,484, 0, 0, 0, 0, 0,648], - [ 92, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 94], - [648, 0, 0, 0, 0, 0,484, 0,484, 0, 0, 0, 0, 0,648], + [648, 27, 0, 28, 0,129, 0, 0, 0,129, 0, 28, 0, 27,648], + [648, 0,381, 0,482,648, 0, 0, 0,648,482, 0,381, 0,648], + [648, 28, 0, 27, 0,648, 0, 0, 0,648, 0, 27, 0, 28,648], + [648, 0,482, 0,103,648, 0, 0, 0,648,103, 0,482, 0,648], [648, 85,648,648,648,648, 0, 0, 0,648,648,648,648, 85,648], - [648, 0, 0, 0,103,648, 0, 0, 0,648,103, 0, 0, 0,648], - [648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648], - [648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648], - [648, 0, 0, 0, 0,129, 0, 0, 0,129, 0, 0, 0, 0,648], + [648, 0,648, 0, 0, 0,484, 0,484, 0, 0, 0,648, 0,648], + [ 92, 0, 85, 0, 0, 0, 0, 23, 0, 0, 0, 0, 85, 0, 94], + [648, 0,648, 0, 0, 0,484, 0,484, 0, 0, 0,648, 0,648], + [648, 85,648,648,648,648, 0, 0, 0,648,648,648,648, 85,648], + [648, 0,482, 0,103,648, 0, 0, 0,648,103, 0,482, 0,648], + [648, 28, 0, 27, 0,648, 0, 0, 0,648, 0, 27, 0, 28,648], + [648, 0,381, 0,482,648, 0, 0, 0,648,482, 0,381, 0,648], + [648, 27, 0, 28, 0,129, 0, 0, 0,129, 0, 28, 0, 27,648], [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] ], "bgmap": [ diff --git a/public/project/floors/MT53.js b/public/project/floors/MT53.js index bf024fd..2320684 100644 --- a/public/project/floors/MT53.js +++ b/public/project/floors/MT53.js @@ -38,6 +38,13 @@ main.floors.MT53= 7, 14 ] + }, + "14,7": { + "floorId": "MT60", + "loc": [ + 0, + 7 + ] } }, "beforeBattle": {}, diff --git a/public/project/floors/MT54.js b/public/project/floors/MT54.js index 6179ba6..89a169b 100644 --- a/public/project/floors/MT54.js +++ b/public/project/floors/MT54.js @@ -50,6 +50,13 @@ main.floors.MT54= 14, 7 ] + }, + "7,0": { + "floorId": "MT57", + "loc": [ + 7, + 14 + ] } }, "beforeBattle": {}, diff --git a/public/project/floors/MT55.js b/public/project/floors/MT55.js index e156233..b5f4b83 100644 --- a/public/project/floors/MT55.js +++ b/public/project/floors/MT55.js @@ -32,6 +32,13 @@ main.floors.MT55= 0, 7 ] + }, + "7,0": { + "floorId": "MT58", + "loc": [ + 7, + 14 + ] } }, "beforeBattle": {}, diff --git a/public/project/floors/MT56.js b/public/project/floors/MT56.js index 414cdb9..c6d8d35 100644 --- a/public/project/floors/MT56.js +++ b/public/project/floors/MT56.js @@ -32,6 +32,20 @@ main.floors.MT56= 7, 0 ] + }, + "0,7": { + "floorId": "MT57", + "loc": [ + 14, + 7 + ] + }, + "14,7": { + "floorId": "MT61", + "loc": [ + 0, + 7 + ] } }, "beforeBattle": {}, @@ -43,19 +57,19 @@ main.floors.MT56= "cannotMoveIn": {}, "map": [ [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648], - [648, 0,482,648,390, 21,396,648,482,482,492,482,403,482,648], + [648, 0,482,648,390, 21,396,492,482,482,492,482,403,482,648], [648,381, 0,249, 0,484, 0,648,648,648,648,378, 22,376,648], [648,657,648,648,648,648,648,648, 27, 0,648,648,648,249,648], - [648, 0, 0, 0, 0,563, 0,657,484, 28,648,378, 0,482,648], + [648, 0, 33, 27, 0,563, 0,657,484, 28,648,378, 0,482,648], [648,648,648,648,220,648,494,648,648,648,648,596,648,648,648], [648, 0,482, 0, 0,648, 27, 0,648, 0,648, 0, 0, 0,648], [ 92, 0,648,648,657,648,484, 29,596,103,539,482, 0,482, 94], - [648, 0,648,660,484,648, 28, 0,648, 27,648,648,648,648,648], - [648,578,648,648,648,648,648,648,648, 0,648, 0,243, 0,648], - [648, 0,381,482, 28, 0,492,482,648,482,648, 0,648, 0,648], - [648,648,648,648,648, 0,648,482,648, 0,219, 0,648, 0,648], - [648, 0, 0, 0,648,243,648,648,648,648,648,648,648, 0,648], - [648, 0, 0, 0,601, 0, 0, 0, 0, 0, 0, 0,220, 0,648], + [648, 0,648,660,484,648, 28, 0,648, 27,648,648,648,492,648], + [648,578,648,648,648,648,648,648,648, 0,648, 28,243, 0,648], + [648, 0,381,482, 28, 0,492,482,648, 33,648, 0,648,381,648], + [648,648,494,648,648, 0,648,482,648, 0,219, 34,648, 0,648], + [648, 0,381, 0,648,243,648,648,648,648,648,648,648,482,648], + [648, 28,484, 27,601, 0, 0, 0,482, 0, 0, 0,220, 0,648], [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] ], "bgmap": [ diff --git a/public/project/floors/MT57.js b/public/project/floors/MT57.js index b66e464..422cd7c 100644 --- a/public/project/floors/MT57.js +++ b/public/project/floors/MT57.js @@ -1,45 +1,132 @@ main.floors.MT57= { -"floorId": "MT57", -"title": "苍蓝之殿-左下", -"name": "57", -"width": 15, -"height": 15, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 8, -"defaultGround": "T650", -"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 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": "MT57", + "title": "苍蓝之殿-左下", + "name": "57", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "13,8": [ + "本地图不能使用跳跃。中间那个深色的开关可以开启去苍蓝之殿右下角的路。打死那两个卫兵开机关门" + ], + "7,1": [ + { + "type": "openDoor", + "loc": [ + 12, + 7 + ], + "floorId": "MT50" + }, + "\t[智人]\b[down,hero]貌似有哪里的门开了,应该是苍蓝之殿右下角吧" + ] + }, + "changeFloor": { + "14,7": { + "floorId": "MT56", + "loc": [ + 0, + 7 + ] + }, + "7,14": { + "floorId": "MT54", + "loc": [ + 7, + 0 + ] + }, + "0,7": { + "floorId": "MT58", + "loc": [ + 14, + 7 + ] + } + }, + "beforeBattle": {}, + "afterBattle": { + "4,2": [ + { + "type": "setValue", + "name": "flag:door_MT57_7_4", + "operator": "+=", + "value": "1" + } + ], + "10,2": [ + { + "type": "setValue", + "name": "flag:door_MT57_7_4", + "operator": "+=", + "value": "1" + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": { + "7,4": { + "0": { + "condition": "flag:door_MT57_7_4==2", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT57_7_4", + "operator": "=", + "value": "null" + } + ] + } + } + }, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648], + [648, 0,648,378,403,648,396,661,390,648,403,376,648, 0,648], + [648,376,601,482,578,648,491,468,491,648,578,482,601,378,648], + [648, 0,648,494,648,648,240,103,240,648,648,494,648, 0,648], + [648,482,648, 0,381,648,648, 85,648,648,381, 0,648,482,648], + [648, 0,596, 33, 0,656, 0,491, 0,656, 0, 33,596, 0,648], + [648,648,648,648,648,648,648,497,648,648,648,648,648,648,648], + [ 92, 0, 0,484, 0, 0, 0, 22, 0, 0, 0,484, 0, 0, 94], + [648,648,243,648,249,648,648,648,648,648,249,648,243,129,648], + [648, 27, 0,648, 0,403, 0,648, 0,403, 0,648, 0, 28,648], + [648, 0,482,648,376,491,378,494,378,491,376,648,482, 0,648], + [648,601,648,648,648,648,648,648,648,648,648,648,648,601,648], + [648,482,378,657,484,648, 0, 33, 0,648,484,657,376,482,648], + [648,381, 0,648, 0,656, 29, 0, 29,656, 0,648, 0,381,648], + [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT58.js b/public/project/floors/MT58.js index 6a8fb09..00a1e8d 100644 --- a/public/project/floors/MT58.js +++ b/public/project/floors/MT58.js @@ -1,45 +1,94 @@ main.floors.MT58= { -"floorId": "MT58", -"title": "苍蓝之殿-左下", -"name": "58", -"width": 15, -"height": 15, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 8, -"defaultGround": "T650", -"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 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": "MT58", + "title": "苍蓝之殿-左下", + "name": "58", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "11,3": [ + { + "type": "function", + "async": true, + "function": "function(){\nMota.require('module', 'Mechanism').BluePalace.doorConvert(11, 3);\n}" + } + ], + "6,1": [ + { + "type": "function", + "async": true, + "function": "function(){\nMota.require('module', 'Mechanism').BluePalace.doorConvert(6, 1);\n}" + } + ] + }, + "changeFloor": { + "14,7": { + "floorId": "MT57", + "loc": [ + 0, + 7 + ] + }, + "7,14": { + "floorId": "MT55", + "loc": [ + 7, + 0 + ] + }, + "0,7": { + "floorId": "MT59", + "loc": [ + 14, + 7 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648], + [648, 0,381, 0,482, 0,660,494,468, 0,578, 0, 0,594,648], + [648,596,648,648,648,648,648,648, 0,484,648,648,648, 0,648], + [648, 21, 0, 33, 0,656, 0,648,648,492,648,660,648, 28,648], + [648,648,648,648,648,648, 0,656, 33, 0,657, 0, 27,484,648], + [648, 0,648,381, 33,492, 21,648,648,494,648,648,648,648,648], + [648, 0,594, 33, 27,648, 0,648,376, 0,657, 0, 0, 0,648], + [ 92, 0,648,648,648,648,220,648, 0,648, 0,648, 0, 0, 94], + [648,484,648, 0, 0,219, 0,648,601, 0,378,648,648,596,648], + [648, 0,648,482,648,648, 0,648,648,648,219,648,381, 0,648], + [648, 0,596, 0, 0,648, 33, 0, 28, 0, 0,492, 0,484,648], + [648,492,648,648,381,648,648,492,648,648,240,648,578,648,648], + [648,378,484,648, 0,648, 0,482, 0,648,468,648,403, 27,648], + [648,403,376,249, 0,494, 29, 0, 29,243,484,494, 28,491,648], + [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT59.js b/public/project/floors/MT59.js new file mode 100644 index 0000000..7222238 --- /dev/null +++ b/public/project/floors/MT59.js @@ -0,0 +1,138 @@ +main.floors.MT59= +{ + "floorId": "MT59", + "title": "苍蓝之殿-左下", + "name": "59", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "14,7": { + "floorId": "MT58", + "loc": [ + 0, + 7 + ] + } + }, + "beforeBattle": {}, + "afterBattle": { + "2,7": [ + { + "type": "openDoor", + "loc": [ + 4, + 4 + ] + }, + { + "type": "openDoor", + "loc": [ + 4, + 10 + ] + }, + { + "type": "setValue", + "name": "flag:door_palaceSouth", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:door_palaceSouth===2)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 5 + ], + "floorId": "MT50" + }, + { + "type": "openDoor", + "loc": [ + 13, + 5 + ], + "floorId": "MT50" + }, + { + "type": "openDoor", + "loc": [ + 1, + 9 + ], + "floorId": "MT50" + }, + { + "type": "openDoor", + "loc": [ + 13, + 9 + ], + "floorId": "MT50" + }, + { + "type": "setValue", + "name": "flag:door_palaceSouth", + "value": "null" + } + ] + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": { + "4,10": { + "1": null + }, + "4,4": { + "1": null + } + }, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648], + [648, 27,491, 27,648, 0,648,578, 0,484, 0,596,482, 0,648], + [648, 0, 28, 0,648, 0,648, 0,648,648,648,648, 0, 29,648], + [648, 27,468, 27,648,484,648, 21,648, 27, 0,648, 27, 0,648], + [648, 0, 28, 0, 85, 0,648,482,648, 0, 29,657, 0, 28,648], + [648,648,648,648,648,390,648,376,648, 33,648,648,648,648,648], + [648,482, 0,482,648, 0,249, 0,648,539,648,482, 0,482,648], + [648, 0,666, 0,492,403,648,648,648, 0,492, 0,381, 0, 94], + [648,482, 0,482,648, 0,249, 0,648,539,648,482, 0,482,648], + [648,648,648,648,648,396,648,378,648, 33,648,648,648,648,648], + [648, 0, 27, 0, 85, 0,648,482,648, 0, 29,657, 0, 27,648], + [648, 28,468, 28,648,484,648, 21,648, 28, 0,648, 28, 0,648], + [648, 0, 27, 0,648, 0,648, 0,648,648,648,648, 0, 29,648], + [648, 28,491, 28,648, 0,648,578, 0,484, 0,596,482, 0,648], + [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/MT60.js b/public/project/floors/MT60.js new file mode 100644 index 0000000..c36457a --- /dev/null +++ b/public/project/floors/MT60.js @@ -0,0 +1,289 @@ +main.floors.MT60= +{ + "floorId": "MT60", + "title": "苍蓝之殿-中", + "name": "60", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "7,14": { + "floorId": "MT50", + "loc": [ + 7, + 0 + ] + }, + "0,7": { + "floorId": "MT53", + "loc": [ + 14, + 7 + ] + }, + "7,0": { + "floorId": "MT61", + "loc": [ + 7, + 14 + ] + } + }, + "beforeBattle": {}, + "afterBattle": { + "1,3": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_2", + "operator": "+=", + "value": "1" + } + ], + "3,3": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_2", + "operator": "+=", + "value": "1" + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_2", + "operator": "+=", + "value": "1" + } + ], + "1,5": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_2", + "operator": "+=", + "value": "1" + } + ], + "1,9": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_12", + "operator": "+=", + "value": "1" + } + ], + "1,11": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_12", + "operator": "+=", + "value": "1" + } + ], + "3,11": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_12", + "operator": "+=", + "value": "1" + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:door_MT60_2_12", + "operator": "+=", + "value": "1" + } + ], + "11,9": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_12", + "operator": "+=", + "value": "1" + } + ], + "11,11": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_12", + "operator": "+=", + "value": "1" + } + ], + "13,11": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_12", + "operator": "+=", + "value": "1" + } + ], + "13,9": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_12", + "operator": "+=", + "value": "1" + } + ], + "11,3": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_2", + "operator": "+=", + "value": "1" + } + ], + "11,5": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_2", + "operator": "+=", + "value": "1" + } + ], + "13,5": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_2", + "operator": "+=", + "value": "1" + } + ], + "13,3": [ + { + "type": "setValue", + "name": "flag:door_MT60_12_2", + "operator": "+=", + "value": "1" + } + ] + }, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": { + "2,2": { + "0": { + "condition": "flag:door_MT60_2_2==4", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT60_2_2", + "operator": "=", + "value": "null" + } + ] + } + }, + "2,12": { + "0": { + "condition": "flag:door_MT60_2_12==4", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT60_2_12", + "operator": "=", + "value": "null" + } + ] + } + }, + "12,12": { + "0": { + "condition": "flag:door_MT60_12_12==4", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT60_12_12", + "operator": "=", + "value": "null" + } + ] + } + }, + "12,2": { + "0": { + "condition": "flag:door_MT60_12_2==4", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT60_12_2", + "operator": "=", + "value": "null" + } + ] + } + } + }, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648, 91,648,648,648,648,648,648,648], + [648,390,441,396,648, 0, 0, 0, 0, 0,648,396,441,390,648], + [648,648, 85,648,648, 0, 0, 0, 0, 0,648,648, 85,648,648], + [648,249, 0,249,648, 0, 0, 0, 0, 0,648,249, 0,249,648], + [648, 0,491, 0,648, 0, 0, 0, 0, 0,648, 0,491, 0,648], + [648,249, 0,249,648,103, 0, 0, 0,103,648,249, 0,249,648], + [648,648,492,648,648, 0, 0, 0, 0, 0,648,648,492,648,648], + [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], + [648,648,492,648,648, 0, 0, 0, 0, 0,648,648,492,648,648], + [648,578, 0,578,648,103, 0, 0, 0,103,648,578, 0,578,648], + [648, 0,491, 0,648, 0, 0, 0, 0, 0,648, 0,491, 0,648], + [648,578, 0,578,648, 0, 0, 0, 0, 0,648,578, 0,578,648], + [648,648, 85,648,648, 0, 0, 0, 0, 0,648,648, 85,648,648], + [648,390,441,396,648, 0, 0, 0, 0, 0,648,396,441,390,648], + [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/MT61.js b/public/project/floors/MT61.js new file mode 100644 index 0000000..3acca4e --- /dev/null +++ b/public/project/floors/MT61.js @@ -0,0 +1,72 @@ +main.floors.MT61= +{ + "floorId": "MT61", + "title": "苍蓝之殿-中", + "name": "61", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "7,14": { + "floorId": "MT60", + "loc": [ + 7, + 0 + ] + }, + "0,7": { + "floorId": "MT56", + "loc": [ + 14, + 7 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648, 91,648,648,648,648,648,648,648], + [648, 0, 0, 0, 0, 0,648, 0,648, 0, 0, 0, 0, 0,648], + [648, 0,648,648,648,648,648,618,648,648,648,648,648, 0,648], + [648, 0,648, 0, 0, 0, 0, 0, 0, 0, 0, 0,648, 0,648], + [648, 0,648, 0,482, 0, 0, 0, 0, 0,482, 0,648, 0,648], + [648, 0,648, 0, 0,103, 0, 0, 0,103, 0, 0,648, 0,648], + [648,648,648, 0, 0, 0, 0, 0, 0, 0, 0, 0,648,648,648], + [ 92, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 94], + [648,648,648, 0, 0, 0, 0, 0, 0, 0, 0, 0,648,648,648], + [648, 0,648, 0, 0,103, 0, 0, 0,103, 0, 0,648, 0,648], + [648, 0,648, 0,482, 0, 0, 0, 0, 0,482, 0,648, 0,648], + [648, 0,648, 0, 0, 0, 0, 0, 0, 0, 0, 0,648, 0,648], + [648, 0,648,648,648,648,648, 0,648,648,648,648,648, 0,648], + [648, 0, 0, 0, 0, 0,648, 0,648, 0, 0, 0, 0, 0,648], + [648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/MT62.js b/public/project/floors/MT62.js new file mode 100644 index 0000000..c2831c8 --- /dev/null +++ b/public/project/floors/MT62.js @@ -0,0 +1,65 @@ +main.floors.MT62= +{ + "floorId": "MT62", + "title": "苍蓝之殿-右下", + "name": "62", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T650", + "bgm": "palaceSouth.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "0,7": { + "floorId": "MT50", + "loc": [ + 14, + 7 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [648,648,648,648,648,648,648, 91,648,648,648,648,648,648,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0,612,564, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,648], + [648,648,648,648,648,648,648,648,648,648,648,648,648,648,648] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/MT63.js b/public/project/floors/MT63.js new file mode 100644 index 0000000..69a647f --- /dev/null +++ b/public/project/floors/MT63.js @@ -0,0 +1,45 @@ +main.floors.MT63= +{ +"floorId": "MT63", +"title": "苍蓝之殿-右下", +"name": "63", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT64.js b/public/project/floors/MT64.js new file mode 100644 index 0000000..9dd25fc --- /dev/null +++ b/public/project/floors/MT64.js @@ -0,0 +1,45 @@ +main.floors.MT64= +{ +"floorId": "MT64", +"title": "苍蓝之殿-右下", +"name": "64", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT65.js b/public/project/floors/MT65.js new file mode 100644 index 0000000..1775630 --- /dev/null +++ b/public/project/floors/MT65.js @@ -0,0 +1,45 @@ +main.floors.MT65= +{ +"floorId": "MT65", +"title": "苍蓝之殿-右下", +"name": "65", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT66.js b/public/project/floors/MT66.js new file mode 100644 index 0000000..d13754f --- /dev/null +++ b/public/project/floors/MT66.js @@ -0,0 +1,45 @@ +main.floors.MT66= +{ +"floorId": "MT66", +"title": "苍蓝之殿-右下", +"name": "66", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT67.js b/public/project/floors/MT67.js new file mode 100644 index 0000000..57dc71c --- /dev/null +++ b/public/project/floors/MT67.js @@ -0,0 +1,45 @@ +main.floors.MT67= +{ +"floorId": "MT67", +"title": "苍蓝之殿-右下", +"name": "67", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT68.js b/public/project/floors/MT68.js new file mode 100644 index 0000000..f40ad98 --- /dev/null +++ b/public/project/floors/MT68.js @@ -0,0 +1,45 @@ +main.floors.MT68= +{ +"floorId": "MT68", +"title": "苍蓝之殿-右下", +"name": "68", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT69.js b/public/project/floors/MT69.js new file mode 100644 index 0000000..022d656 --- /dev/null +++ b/public/project/floors/MT69.js @@ -0,0 +1,45 @@ +main.floors.MT69= +{ +"floorId": "MT69", +"title": "苍蓝之殿-右下", +"name": "69", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT70.js b/public/project/floors/MT70.js new file mode 100644 index 0000000..4a5145f --- /dev/null +++ b/public/project/floors/MT70.js @@ -0,0 +1,45 @@ +main.floors.MT70= +{ +"floorId": "MT70", +"title": "苍蓝之殿-右下", +"name": "70", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT71.js b/public/project/floors/MT71.js new file mode 100644 index 0000000..193802d --- /dev/null +++ b/public/project/floors/MT71.js @@ -0,0 +1,45 @@ +main.floors.MT71= +{ +"floorId": "MT71", +"title": "苍蓝之殿-右下", +"name": "71", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T650", +"bgm": "palaceSouth.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/icons.js b/public/project/icons.js index 25c8ba0..7e4227c 100644 --- a/public/project/icons.js +++ b/public/project/icons.js @@ -423,7 +423,9 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "E656": 168, "E657": 169, "E658": 170, - "E659": 171 + "E659": 171, + "E666": 172, + "E667": 173 }, "enemy48": { "angel": 0, diff --git a/public/project/maps.js b/public/project/maps.js index 4b64fa0..62b5449 100644 --- a/public/project/maps.js +++ b/public/project/maps.js @@ -594,6 +594,8 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "663": {"cls":"items","id":"I663"}, "664": {"cls":"items","id":"I664"}, "665": {"cls":"items","id":"I665"}, + "666": {"cls":"enemys","id":"E666"}, + "667": {"cls":"enemys","id":"E667"}, "20032": {"cls":"tileset","id":"X20032","cannotOut":["up","left"],"cannotIn":["up","left"]}, "20033": {"cls":"tileset","id":"X20033","cannotOut":["up"],"cannotIn":["up"]}, "20034": {"cls":"tileset","id":"X20034","cannotOut":["up","right"],"cannotIn":["up","right"]}, diff --git a/public/project/materials/enemys.png b/public/project/materials/enemys.png index 8f9ae80..433c08d 100644 Binary files a/public/project/materials/enemys.png and b/public/project/materials/enemys.png differ diff --git a/script/dev.ts b/script/dev.ts index a83a86a..38db18d 100644 --- a/script/dev.ts +++ b/script/dev.ts @@ -256,7 +256,7 @@ async function writeFile(req: Request, res: Response) { if (name.endsWith('project/events.js')) doDeclaration('events', value); if (name.endsWith('project/items.js')) doDeclaration('items', value); if (name.endsWith('project/maps.js')) doDeclaration('maps', value); - if (name.endsWith('project/data.js')) writeDevResource(value); + if (name.endsWith('project/data.js')) doDeclaration('data', value); } catch (e) { console.log(e); res.end( diff --git a/src/components/minimap.vue b/src/components/minimap.vue index 969c5d5..db98624 100644 --- a/src/components/minimap.vue +++ b/src/components/minimap.vue @@ -105,6 +105,13 @@ function touchmove(e: TouchEvent) { lastDis = dis; } +function afterBattle() { + requestAnimationFrame(() => { + drawer.drawedThumbnail = {}; + drawer.drawMap(); + }); +} + onMounted(() => { const width = props.width ?? 300; const height = props.height ?? 300; @@ -119,9 +126,13 @@ onMounted(() => { drawer.noBorder = props.noBorder ?? false; drawer.showInfo = props.showInfo ?? false; + if (props.autoLocate) { + drawer.locateMap(drawer.nowFloor); + } drawer.drawMap(); hook.on('afterChangeFloor', onChange); + hook.on('afterBattle', afterBattle); if (props.action) { useDrag( @@ -154,6 +165,7 @@ onMounted(() => { onUnmounted(() => { hook.off('afterChangeFloor', onChange); + hook.off('afterBattle', afterBattle); }); diff --git a/src/core/fx/shadow.ts b/src/core/fx/shadow.ts index 7a4f5a5..6e2f933 100644 --- a/src/core/fx/shadow.ts +++ b/src/core/fx/shadow.ts @@ -16,7 +16,7 @@ const MAX_LIGHT_NUM = 5; const Z_INDEX = 55; // 我也不知道这个数怎么来的,试出来是这个,别动就行 const FOVY = Math.PI / 2; -const ignore: Set = new Set([660]); +const ignore: Set = new Set([660, 661]); interface LightConfig { decay: number; @@ -73,16 +73,16 @@ function addLightFromBlock(floors: FloorIds[], block: number, config: LightConfi Mota.require('var', 'hook').once('reset', () => { Shadow.init(); addLightFromBlock( - core.floorIds.slice(61), + core.floorIds.slice(61, 70).concat(core.floorIds.slice(72)), 103, { decay: 50, r: 300, color: [0.9333, 0.6, 0.333, 0.3] }, { background: [0, 0, 0, 0.26] }, { decay: 50, r: 250, color: [0, 0, 0, 0] } ); addLightFromBlock( - ['MT50'], + ['MT50', 'MT60', 'MT61'], 103, - { decay: 20, r: 100, color: [0.9333, 0.6, 0.333, 0.4], noShelter: true }, + { decay: 20, r: 150, color: [0.9333, 0.6, 0.333, 0.4], noShelter: true }, { background: [0, 0, 0, 0.4] } ); Shadow.mount(); @@ -95,7 +95,7 @@ Mota.require('var', 'hook').once('reset', () => { shadow.followHero.forEach(v => { shadow.modifyLight(v, { x: core.status.heroCenter.px, - y: core.status.heroCenter.py + y: core.status.heroCenter.py + 8 }); }); if (shadow.followHero.size > 0) shadow.requestRefresh(); diff --git a/src/game/enemy/battle.ts b/src/game/enemy/battle.ts index ef3399d..8a2b11a 100644 --- a/src/game/enemy/battle.ts +++ b/src/game/enemy/battle.ts @@ -1,6 +1,6 @@ import { DamageEnemy, ensureFloorDamage, getSingleEnemy } from './damage'; import { findDir, has } from '../../plugin/game/utils'; -import { loading } from '../game'; +import { hook, loading } from '../game'; export interface CurrentEnemy { enemy: DamageEnemy; @@ -265,6 +265,8 @@ function init() { // 如果已有事件正在处理中 if (core.status.event.id == null) core.continueAutomaticRoute(); else core.clearContinueAutomaticRoute(); + + hook.emit('afterBattle', enemy, x, y); }; } loading.once('coreInit', init); diff --git a/src/game/game.ts b/src/game/game.ts index eb24186..fdc1a89 100644 --- a/src/game/game.ts +++ b/src/game/game.ts @@ -1,4 +1,5 @@ import { EmitableEvent, EventEmitter } from '../core/common/eventEmitter'; +import { DamageEnemy } from './enemy/damage'; // ----- 加载事件 interface GameLoadEvent extends EmitableEvent { @@ -92,6 +93,7 @@ export interface GameEvent extends EmitableEvent { afterOpenDoor: (doorId: AllIdsOf<'animates'>, x: number, y: number) => void; afterChangeFloor: (floorId: FloorIds) => void; moveOneStep: (x: number, y: number, floorId: FloorIds) => void; + afterBattle: (enemy: DamageEnemy, x?: number, y?: number) => void; } export const hook = new EventEmitter(); diff --git a/src/plugin/fx/gameCanvas.ts b/src/plugin/fx/gameCanvas.ts index 2f83977..b203de4 100644 --- a/src/plugin/fx/gameCanvas.ts +++ b/src/plugin/fx/gameCanvas.ts @@ -28,7 +28,10 @@ export function setCanvasFilterByFloorId( Mota.require('var', 'loading').once('coreInit', () => { filterMap.push( - [['MT50'], 'brightness(80%)contrast(120%)'], // 童心佬的滤镜( - [core.floorIds.slice(61), 'brightness(90%)contrast(120%)'] // 童心佬的滤镜( + [['MT50', 'MT60', 'MT61'], 'brightness(80%)contrast(120%)'], // 童心佬的滤镜( + [ + core.floorIds.slice(61, 70).concat(core.floorIds.slice(72)), + 'brightness(90%)contrast(120%)' + ] // 童心佬的滤镜( ); }); diff --git a/src/plugin/game/skill.ts b/src/plugin/game/skill.ts index fd6b232..e751f25 100644 --- a/src/plugin/game/skill.ts +++ b/src/plugin/game/skill.ts @@ -35,7 +35,11 @@ export const jumpIgnoreFloor: FloorIds[] = [ 'MT47', 'MT48', 'MT49', - 'MT50' + 'MT50', + 'MT57', + 'MT59', + 'MT60', + 'MT61' ]; // 跳跃 export function jumpSkill() { diff --git a/src/plugin/game/skillTree.ts b/src/plugin/game/skillTree.ts index 9a653a3..0e10581 100644 --- a/src/plugin/game/skillTree.ts +++ b/src/plugin/game/skillTree.ts @@ -151,7 +151,7 @@ export const skills: Record = { index: 12, title: '聪慧', desc: ['使主角变得更加聪明,每级使绿宝石增加的智慧点上升5%'], - consume: 'level > 5 ? 100 * level ** 2 : 250 * level + 1250', + consume: 'level > 5 ? 1000 * level ** 2 : 250 * level + 1250', front: [ [8, 10], [9, 10] @@ -164,7 +164,7 @@ export const skills: Record = { index: 13, title: '治愈', desc: ['使主角能够更好地回复生命,每级使血瓶的加血量增加2%'], - consume: 'level > 5 ? 100 * level ** 2 : 250 * level + 1250', + consume: 'level > 5 ? 1000 * level ** 2 : 250 * level + 1250', front: [[10, 3]], loc: [4, 5], max: 20, @@ -177,7 +177,7 @@ export const skills: Record = { '第二章终极技能,', '每打一个怪物,勇士在本楼层对怪物造成的伤害便增加1%' ], - consume: '15000', + consume: '25000', front: [ [13, 10], [12, 10], diff --git a/src/plugin/ui/fly.ts b/src/plugin/ui/fly.ts index d30c207..217c521 100644 --- a/src/plugin/ui/fly.ts +++ b/src/plugin/ui/fly.ts @@ -531,7 +531,7 @@ export class MinimapDrawer { ctx.lineTo(x - 0.5, y + 1); ctx.lineTo(x + 1.5, y - 1); ctx.stroke(); - } else { + } else if (enemy.length < 2) { const ids = [...new Set(enemy.map(v => v.id))]; if (ids.length === 1) { core.drawIcon(ctx, ids[0], x - 2, y - 2, 4, 4); @@ -546,6 +546,11 @@ export class MinimapDrawer { ctx.strokeText('…', x + 4, y); ctx.fillText('…', x + 4, y); } + } else { + ctx.fillStyle = 'white'; + ctx.textAlign = 'center'; + ctx.textBaseline = 'middle'; + ctx.fillText(`+${enemy.length}`, x, y); } ctx.restore(); diff --git a/src/source/cls.d.ts b/src/source/cls.d.ts index f1fa72e..07fc755 100644 --- a/src/source/cls.d.ts +++ b/src/source/cls.d.ts @@ -593,6 +593,8 @@ interface IdToCls { I663: 'items'; I664: 'items'; I665: 'items'; + E666: 'enemys'; + E667: 'enemys'; X20032: 'tileset'; X20033: 'tileset'; X20034: 'tileset'; diff --git a/src/source/data.d.ts b/src/source/data.d.ts index 1b2f598..4b3a023 100644 --- a/src/source/data.d.ts +++ b/src/source/data.d.ts @@ -69,14 +69,18 @@ type FloorIds = | 'MT56' | 'MT57' | 'MT58' - | 'MT51_M' - | 'MT52_M' - | 'MT53_M' - | 'MT54_M' - | 'MT55_M' - | 'MT56_M' - | 'MT57_M' - | 'MT58_M' + | 'MT59' + | 'MT60' + | 'MT61' + | 'MT62' + | 'MT63' + | 'MT64' + | 'MT65' + | 'MT66' + | 'MT67' + | 'MT68' + | 'MT69' + | 'MT71' type ImageIds = | 'IQ.png' @@ -185,6 +189,8 @@ type BgmIds = | 'escape.mp3' | 'grass.mp3' | 'mount.mp3' + | 'palaceNorth.mp3' + | 'palaceSouth.mp3' | 'plot1.mp3' | 'road.mp3' | 'title.mp3' diff --git a/src/source/maps.d.ts b/src/source/maps.d.ts index 5967582..698ac7e 100644 --- a/src/source/maps.d.ts +++ b/src/source/maps.d.ts @@ -593,6 +593,8 @@ interface IdToNumber { I663: 663; I664: 664; I665: 665; + E666: 666; + E667: 667; X20032: 20032; X20033: 20033; X20034: 20034; @@ -1271,6 +1273,8 @@ interface NumberToId { 663: 'I663'; 664: 'I664'; 665: 'I665'; + 666: 'E666'; + 667: 'E667'; 20032: 'X20032'; 20033: 'X20033'; 20034: 'X20034';