diff --git a/project/autotiles/autotile16.png b/project/autotiles/autotile16.png new file mode 100644 index 0000000..439813e Binary files /dev/null and b/project/autotiles/autotile16.png differ diff --git a/project/autotiles/autotile17.png b/project/autotiles/autotile17.png new file mode 100644 index 0000000..0a4c511 Binary files /dev/null and b/project/autotiles/autotile17.png differ diff --git a/project/autotiles/autotile18.png b/project/autotiles/autotile18.png new file mode 100644 index 0000000..eefa767 Binary files /dev/null and b/project/autotiles/autotile18.png differ diff --git a/project/autotiles/autotile19.png b/project/autotiles/autotile19.png new file mode 100644 index 0000000..8702fa1 Binary files /dev/null and b/project/autotiles/autotile19.png differ diff --git a/project/autotiles/autotile20.png b/project/autotiles/autotile20.png new file mode 100644 index 0000000..a19861a Binary files /dev/null and b/project/autotiles/autotile20.png differ diff --git a/project/autotiles/autotile21.png b/project/autotiles/autotile21.png new file mode 100644 index 0000000..b599459 Binary files /dev/null and b/project/autotiles/autotile21.png differ diff --git a/project/bgms/2.mp3 b/project/bgms/2.mp3 new file mode 100644 index 0000000..89b4597 Binary files /dev/null and b/project/bgms/2.mp3 differ diff --git a/project/bgms/Mountain.mp3 b/project/bgms/Mountain.mp3 new file mode 100644 index 0000000..4999c36 Binary files /dev/null and b/project/bgms/Mountain.mp3 differ diff --git a/project/bgms/crystallake.mp3 b/project/bgms/crystallake.mp3 new file mode 100644 index 0000000..802308f Binary files /dev/null and b/project/bgms/crystallake.mp3 differ diff --git a/project/bgms/ep01.mp3 b/project/bgms/ep01.mp3 new file mode 100644 index 0000000..2130f05 Binary files /dev/null and b/project/bgms/ep01.mp3 differ diff --git a/project/bgms/ep29.mp3 b/project/bgms/ep29.mp3 new file mode 100644 index 0000000..d9626b3 Binary files /dev/null and b/project/bgms/ep29.mp3 differ diff --git a/project/bgms/kissTheRain.mp3 b/project/bgms/kissTheRain.mp3 new file mode 100644 index 0000000..0d51df5 Binary files /dev/null and b/project/bgms/kissTheRain.mp3 differ diff --git a/project/bgms/title.mp3 b/project/bgms/title.mp3 new file mode 100644 index 0000000..cb09a13 Binary files /dev/null and b/project/bgms/title.mp3 differ diff --git a/project/bgms/wmf.mp3 b/project/bgms/wmf.mp3 new file mode 100644 index 0000000..6c3c08e Binary files /dev/null and b/project/bgms/wmf.mp3 differ diff --git a/project/bgms/xxcb.mp3 b/project/bgms/xxcb.mp3 new file mode 100644 index 0000000..53b7f9c Binary files /dev/null and b/project/bgms/xxcb.mp3 differ diff --git a/project/bgms/yqq.mp3 b/project/bgms/yqq.mp3 new file mode 100644 index 0000000..530697f Binary files /dev/null and b/project/bgms/yqq.mp3 differ diff --git a/project/bgms/zy.mp3 b/project/bgms/zy.mp3 new file mode 100644 index 0000000..f914c0e Binary files /dev/null and b/project/bgms/zy.mp3 differ diff --git a/project/bgms/放心去飞 - 小虎队.mp3 b/project/bgms/放心去飞 - 小虎队.mp3 new file mode 100644 index 0000000..6c440e6 Binary files /dev/null and b/project/bgms/放心去飞 - 小虎队.mp3 differ diff --git a/project/data.js b/project/data.js index 5e0421a..b15387e 100644 --- a/project/data.js +++ b/project/data.js @@ -30,7 +30,10 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT22", "MT23", "MT24", - "MT25" + "MT25", + "JQ3", + "JQ4", + "JQ5" ], "floorPartitions": [], "images": [ @@ -42,19 +45,21 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "6.jpeg", "641-e.jpg", "641-h.jpg", + "641.jpg", "7.jpg", "8.jpg", "9.jpeg", "bear.png", "bg.jpg", - "c9aabd97530e12a0c344bc2cc5095dea.jpeg", "dragon.png", "hero.png", "hero1.png", "hero2.png", "hero3.png", "hero4.png", - "winskin.png" + "lanxing.jpg", + "winskin.png", + "xinghe.jpeg" ], "tilesets": [ "magictower.png", @@ -79,7 +84,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "10.png", "014-PostTown02.png", "012-PortTown02.png", - "002-Woods01.png" + "002-Woods01.png", + "tilesets.min.png", + "2.png" ], "animates": [ "hand", @@ -857,6 +864,106 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "value": "5" } ] + }, + { + "need": "38", + "title": "4岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "500" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "5" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "5" + } + ] + }, + { + "need": "40", + "title": "5岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "600" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "6" + } + ] + }, + { + "need": "50", + "title": "6岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "800" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "8" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "8" + } + ] + }, + { + "need": "60", + "title": "7岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "10" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "10" + } + ] } ] }, diff --git a/project/enemys.js b/project/enemys.js index 2153bb7..4023630 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -4,16 +4,16 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "redSlime": {"name":"未知的周围","hp":30,"atk":8,"def":1,"money":0,"exp":0,"point":0,"special":[],"value":10}, "blackSlime": {"name":"未知的恐慌","hp":180,"atk":63,"def":6,"money":0,"exp":1,"point":0,"special":0}, "slimelord": {"name":"最初的记忆","hp":550,"atk":100,"def":10,"money":0,"exp":3,"point":0,"special":[]}, - "bat": {"name":"小蝙蝠","hp":100,"atk":120,"def":0,"money":2,"exp":0,"point":0,"special":[1]}, - "bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, - "redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "bat": {"name":"暂离父母","hp":130,"atk":72,"def":20,"money":0,"exp":1,"point":0,"special":[]}, + "bigBat": {"name":"略微的不安","hp":160,"atk":80,"def":22,"money":0,"exp":1,"point":0,"special":[]}, + "redBat": {"name":"不知道的事","hp":190,"atk":85,"def":25,"money":0,"exp":1,"point":0,"special":[4]}, "vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8}, - "skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, + "skeleton": {"name":"未知的好奇","hp":230,"atk":112,"def":32,"money":0,"exp":1,"point":0,"special":0}, "skeletonCaptain": {"name":"骷髅队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "zombieKnight": {"name":"兽人武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3}, - "bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[9]}, + "bluePriest": {"name":"陌生感","hp":170,"atk":25,"def":25,"money":0,"exp":1,"point":null,"special":[2]}, "redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"special":15,"value":100,"range":2}, "redWizard": {"name":"高级巫师","hp":1000,"atk":1200,"def":0,"money":160,"exp":0,"point":0,"special":15,"value":200,"zoneSquare":true}, @@ -34,11 +34,11 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "silverSlime": {"name":"银头怪","hp":100,"atk":120,"def":0,"money":15,"exp":0,"point":0,"special":14}, "whiteHornSlime": {"name":"尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "redSwordsman": {"name":"剑王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "poisonZombie": {"name":"绿兽人","hp":100,"atk":120,"def":0,"money":13,"exp":0,"point":0,"special":[12]}, + "poisonZombie": {"name":"莫名的恐惧","hp":300,"atk":110,"def":38,"money":0,"exp":1,"point":0,"special":[]}, "octopus": {"name":"血影","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":"dragon_1.png"}, "princessEnemy": {"name":"假公主","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "angel": {"name":"天使","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, - "elemental": {"name":"元素生物","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, + "elemental": {"name":"幼儿园毕业","hp":888,"atk":280,"def":88,"money":0,"exp":30,"point":0,"special":0}, "steelGuard": {"name":"铁守卫","hp":50,"atk":50,"def":50,"money":0,"exp":0,"point":0,"special":[18],"value":20}, "evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, @@ -60,21 +60,21 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "yellowPriest": {"name":"中级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "evilPrincess": {"name":"痛苦魔女","hp":1000,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[10]}, "blademaster": {"name":"剑圣","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, - "evilFairy": {"name":"黑暗仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, + "evilFairy": {"name":"遗忘的记忆","hp":580,"atk":130,"def":40,"money":0,"exp":20,"point":0,"special":0}, "greenKnight": {"name":"强盾骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "bowman": {"name":"初级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "watcherSlime": {"name":"邪眼怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "devilKnight": {"name":"恶灵骑士","hp":150,"atk":100,"def":50,"money":0,"exp":0,"point":0,"special":[1,5,7,8]}, "grayPriest": {"name":"混沌法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "greenGateKeeper": {"name":"卫兵队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, - "ghostSoldier": {"name":"冥队长","hp":200,"atk":100,"def":50,"money":0,"exp":0,"point":0,"special":8}, + "ghostSoldier": {"name":"陌生的环境","hp":200,"atk":100,"def":30,"money":0,"exp":1,"point":0,"special":[]}, "frostBat": {"name":"寒蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "blackKing": {"name":"黑衣魔王","hp":1000,"atk":500,"def":0,"money":1000,"exp":1000,"point":0,"special":0,"notBomb":true}, "yellowKing": {"name":"黄衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "greenKing": {"name":"青衣武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "redKing": {"name":"红衣魔王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "blueKing": {"name":"白衣武士","hp":100,"atk":120,"def":0,"money":17,"exp":0,"point":0,"special":16}, - "keiskeiFairy": {"name":"铃兰花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, + "keiskeiFairy": {"name":"好玩的天性","hp":400,"atk":180,"def":50,"money":0,"exp":1,"point":0,"special":0}, "tulipFairy": {"name":"郁金香花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "purpleBowman": {"name":"高级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png"}, @@ -100,5 +100,39 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E359": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E360": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E361": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E412": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} + "E412": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E452": {"name":"特殊的好奇心","hp":420,"atk":220,"def":70,"money":0,"exp":1,"point":0,"special":[]}, + "E453": {"name":"误打误撞的后果","hp":350,"atk":50,"def":55,"money":0,"exp":1,"point":0,"special":[2]}, + "E454": {"name":"未知的向往","hp":350,"atk":150,"def":40,"money":0,"exp":1,"point":0,"special":[1]}, + "E455": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E456": {"name":"懵懂的记忆","hp":280,"atk":120,"def":40,"money":0,"exp":1,"point":0,"special":[]}, + "E458": {"name":"好奇心的驱动","hp":305,"atk":159,"def":42,"money":0,"exp":1,"point":0,"special":[]}, + "E459": {"name":"玩性","hp":380,"atk":200,"def":76,"money":0,"exp":1,"point":0,"special":[]}, + "E460": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E461": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E462": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E463": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E464": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E465": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E466": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E467": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E468": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E469": {"name":"记忆深处","hp":440,"atk":235,"def":71,"money":0,"exp":1,"point":0,"special":[]}, + "E470": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E471": {"name":"幼儿园的烦恼","hp":450,"atk":250,"def":75,"money":0,"exp":1,"point":0,"special":[]}, + "E472": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E473": {"name":"新环境的压力","hp":350,"atk":188,"def":70,"money":0,"exp":1,"point":0,"special":[]}, + "E474": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E475": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E476": {"name":"无形的压迫","hp":420,"atk":80,"def":80,"money":0,"exp":1,"point":0,"special":[2]}, + "E477": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E478": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E479": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E480": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E481": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E482": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E483": {"name":"幼儿园的压迫","hp":1000,"atk":270,"def":60,"money":0,"exp":35,"point":0,"special":[]}, + "E484": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E485": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E486": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} } \ No newline at end of file diff --git a/project/floors/JQ1.js b/project/floors/JQ1.js index 3f9eee4..b507638 100644 --- a/project/floors/JQ1.js +++ b/project/floors/JQ1.js @@ -57,7 +57,7 @@ main.floors.JQ1= "floorId": "JQ2", "loc": [ 6, - 8 + 12 ], "direction": "up" } diff --git a/project/floors/JQ2.js b/project/floors/JQ2.js index 57d93a7..acfc4d6 100644 --- a/project/floors/JQ2.js +++ b/project/floors/JQ2.js @@ -21,13 +21,52 @@ main.floors.JQ2= "type": "sleep", "time": 1500 }, + { + "type": "waitAsync" + }, + { + "type": "move", + "loc": [ + 5, + 12 + ], + "time": 500, + "keep": true, + "async": true, + "steps": [ + "up:4" + ] + }, + { + "type": "moveHero", + "time": 500, + "async": true, + "steps": [ + "up:3" + ] + }, + { + "type": "move", + "loc": [ + 7, + 12 + ], + "time": 500, + "keep": true, + "steps": [ + "up:4" + ] + }, + { + "type": "waitAsync" + }, "\t[幼儿园老师,N401]小朋友你叫什么名字啊?", "\t[母亲,N385]老师问你叫什么名字,对老师说你叫什么名字...", "\t[hero]...", "\t[幼儿园老师,N401]小朋友有点害羞啊。", "\t[母亲,N385]他叫bdf,不久前才学会说话,对陌生环境也比较害怕。", "\t[幼儿园老师,N401]你叫bdf是吧?从今往后起我就是你的老师了,我们一起在这里玩耍好不好啊?", - "\t[hero]...嗯...", + "\t[hero]\b[hero]...嗯...", "\t[父亲,N389]这孩子在幼儿园要麻烦你们这些老师照顾了,可能需要费点心。", "\t[幼儿园老师,N401]不麻烦,这都是我们应该做的", { @@ -53,7 +92,7 @@ main.floors.JQ2= "floorId": "MT11", "loc": [ 6, - 12 + 9 ] } ], @@ -73,15 +112,15 @@ main.floors.JQ2= [140716,140717,140718,140719,140700, 0, 0, 0,140639,190713,190714,190715,190716], [140732,140733,140734,140735, 0, 0, 0,403,140655,190721,190722,190723,190724], [140696,140697,140698, 0, 0, 0, 0, 0,140671,190729,190730,190731,190732], - [140712,140713,140714, 0,140697, 0, 0,140687, 0, 0, 0, 0, 0], + [140712,140713,140714, 0,140697, 0, 0, 0,140687, 0, 0, 0, 0], [140728,140729,140730, 0,140713, 0, 0, 0, 0,411, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,401, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0,140687,388, 0,392,140687, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,140687, 0, 0, 0,140687, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,416], [ 0, 0, 0,408, 0, 0, 0, 0, 0,407, 0, 0, 0], [ 0,135, 0, 0, 0, 0, 0, 0, 0, 0,122, 0, 0], - [ 0,405, 0, 0,140687, 0,409, 0,140687, 0, 0, 0, 0] + [ 0,405, 0, 0,140687,388, 0,392,140687, 0, 0, 0, 0] ], "bgmap": [ [305,305,305,305,305,190008,190008,190008,110001,110001,110001,110001,110001], diff --git a/project/floors/JQ3.js b/project/floors/JQ3.js new file mode 100644 index 0000000..662e3b5 --- /dev/null +++ b/project/floors/JQ3.js @@ -0,0 +1,55 @@ +main.floors.JQ3= +{ + "floorId": "JQ3", + "title": "主塔 25 层", + "name": "25", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": false, + "cannotViewMap": true, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "bgm3.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] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/project/floors/JQ4.js b/project/floors/JQ4.js new file mode 100644 index 0000000..ce60493 --- /dev/null +++ b/project/floors/JQ4.js @@ -0,0 +1,55 @@ +main.floors.JQ4= +{ + "floorId": "JQ4", + "title": "主塔 25 层", + "name": "25", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": false, + "cannotViewMap": true, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "bgm3.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] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/project/floors/JQ5.js b/project/floors/JQ5.js new file mode 100644 index 0000000..bab7501 --- /dev/null +++ b/project/floors/JQ5.js @@ -0,0 +1,55 @@ +main.floors.JQ5= +{ + "floorId": "JQ5", + "title": "主塔 25 层", + "name": "25", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": false, + "cannotViewMap": true, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "bgm3.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] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/project/floors/MT11.js b/project/floors/MT11.js index 669e448..b28b5a5 100644 --- a/project/floors/MT11.js +++ b/project/floors/MT11.js @@ -1,42 +1,276 @@ main.floors.MT11= { "floorId": "MT11", - "title": "主塔 11 层", - "name": "11", + "title": "遗忘的幼儿园", + "name": "遗忘的幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, - "images": [], + "cannotViewMap": false, + "images": [ + { + "name": "lanxing.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", - "firstArrive": [], + "bgm": "yunitongzai.mp3", + "firstArrive": [ + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "showStatusBar" + } + ], "eachArrive": [], - "parallelDo": "", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT12", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,6": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ] + }, "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,40225, 91,40194, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,40225, 0,40194, 0, 0, 0, 0, 0], + [ 0, 0,40226,40204,40204,40227, 81,40202,40204,40204,40206, 0, 0], + [ 0, 0,40225, 29, 0,205, 0,206, 0, 21,40194, 0, 0], + [ 0, 0,40225, 0, 34,40045,40045,40045, 34, 0,40194, 0, 0], + [ 0, 0,40225,205,40045,40045,40045,40045,40045,205,40194, 0, 0], + [ 0, 0,40225, 0, 27, 81, 0,205, 28, 0,40194, 0, 0], + [ 0, 0,40225,206,40045,40045, 21,40045,40045,206,40194, 0, 0], + [ 0, 0,40225, 0, 30,40045, 0,40045, 30, 0,40194, 0, 0], + [ 0, 0,40225, 21, 32,40045, 0,40045, 32, 21,40194, 0, 0], + [ 0, 0,40224,40180,40180,40180,40180,40180,40180,40180,40182, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], @@ -47,7 +281,19 @@ main.floors.MT11= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT12.js b/project/floors/MT12.js index a3692fb..be2e9ac 100644 --- a/project/floors/MT12.js +++ b/project/floors/MT12.js @@ -1,44 +1,391 @@ main.floors.MT12= { "floorId": "MT12", - "title": "主塔 12 层", - "name": "12", + "title": "遗忘的幼儿园", + "name": "遗忘的幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, - "images": [], + "cannotViewMap": false, + "images": [ + { + "name": "lanxing.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", - "firstArrive": [], + "bgm": "yunitongzai.mp3", + "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT11", + "loc": [ + 6, + 0 + ] + }, + "0,6": { + "floorId": "MT13", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT14", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "MT15", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "3,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "6,6": [ + { + "type": "changeFloor", + "floorId": "MT16", + "loc": [ + 6, + 10 + ] + } + ] + }, "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,40225, 91,40214, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,40225, 0,40214, 0, 0, 0, 0, 0], + [ 0, 0,40226,40204,40204,40227,217,40202,40204,40204,40206, 0, 0], + [ 0, 0,40225, 32, 0,217, 0,217, 0, 34,40214, 0, 0], + [ 0, 0,40225, 0,441,40044, 86,40044,442, 0,40214, 0, 0], + [40203,40203,40227,206,40044,40044, 86,40044,40044, 82,40202,40203,40203], + [ 92, 0,206, 0, 22,40044,252,40044,443, 0,206, 0, 94], + [40180,40180,40228,205,40044,40044,40044,40044,40044,207,40178,40180,40180], + [ 0, 0,40225, 0, 32,40044, 31,40044,440, 0,40214, 0, 0], + [ 0, 0,40225, 29, 0, 81, 0,206, 0, 32,40214, 0, 0], + [ 0, 0,40224,40180,40180,40228,205,40178,40180,40180,40182, 0, 0], + [ 0, 0, 0, 0, 0,40225, 0,40214, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,40225, 93,40214, 0, 0, 0, 0, 0] ], "bgmap": [ @@ -47,7 +394,19 @@ main.floors.MT12= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [80016,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT13.js b/project/floors/MT13.js index 7865a86..67e7af0 100644 --- a/project/floors/MT13.js +++ b/project/floors/MT13.js @@ -1,25 +1,281 @@ main.floors.MT13= { "floorId": "MT13", - "title": "主塔 13 层", - "name": "13", + "title": "遗忘的幼儿园", + "name": "遗忘的幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, - "images": [], + "cannotViewMap": false, + "images": [ + { + "name": "lanxing.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "yunitongzai.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "12,6": { + "floorId": "MT12", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,2": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -27,17 +283,17 @@ main.floors.MT13= "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,40226,40204,40204,40204,40204,40204,40204,40204,40204,40206, 0, 0], + [ 0,40225, 22, 0, 30,40044, 0,207,440,441,40194, 0, 0], + [ 0,40225,40044,212,40044,40044, 81,40044,40044,40044,40194, 0, 0], + [ 0,40225, 28, 0, 81, 0, 31, 0, 21, 0,40194, 0, 0], + [ 0,40225,40044,40044,40044,206,40044, 81,40044,207,40202,40204,40204], + [ 0,40225, 27, 28, 29, 0,40044, 27,40044, 0, 32, 0, 94], + [ 0,40225,40044,40044,40044,207,40044, 28,40044,205,40178,40180,40180], + [ 0,40225, 0,440,442, 0, 81, 0, 81, 0,40194, 0, 0], + [ 0,40225,212,40044,40044, 82,40044,40044,40044,40044,40194, 0, 0], + [ 0,40225, 0,441,442, 0,217, 31, 31, 27,40194, 0, 0], + [ 0,40224,40180,40180,40180,40180,40180,40180,40180,40180,40182, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "bgmap": [ @@ -47,7 +303,19 @@ main.floors.MT13= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT14.js b/project/floors/MT14.js index 9fa54bd..7e60d1d 100644 --- a/project/floors/MT14.js +++ b/project/floors/MT14.js @@ -1,25 +1,341 @@ main.floors.MT14= { "floorId": "MT14", - "title": "主塔 14 层", - "name": "14", + "title": "遗忘的幼儿园", + "name": "遗忘的幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, - "images": [], + "cannotViewMap": false, + "images": [ + { + "name": "lanxing.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "yunitongzai.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT12", + "loc": [ + 12, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "3,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "9,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -27,17 +343,17 @@ main.floors.MT14= "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,40226,40205,40205,40205,40205,40205,40205,40205,40205,40206, 0], + [ 0, 0,40225, 21,40044,40044,40044,40044,40044,40044,40044,40214, 0], + [ 0, 0,40225,442,40044,443, 0,40044, 0,209, 0,40214, 0], + [ 0, 0,40225, 34,40044, 0,209, 81, 32,40044, 21,40214, 0], + [40205,40205,40227,212,40044,40044,40044,40044,207,40044,443,40214, 0], + [ 92, 0, 32, 0,209, 0,440, 34, 0,40044, 0,40214, 0], + [40180,40180,40228,206,40044,40044,40044,40044,207,40044,212,40214, 0], + [ 0, 0,40225, 0,40044, 33, 0,40044, 0, 81, 0,40214, 0], + [ 0, 0,40225,441,40044,40044, 82,40044, 32,40044,207,40214, 0], + [ 0, 0,40225, 0, 81,212, 0, 32,442,40044, 22,40214, 0], + [ 0, 0,40224,40180,40180,40180,40180,40180,40180,40180,40180,40182, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "bgmap": [ @@ -47,7 +363,19 @@ main.floors.MT14= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [80016,80016,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT15.js b/project/floors/MT15.js index 283df6b..1015a66 100644 --- a/project/floors/MT15.js +++ b/project/floors/MT15.js @@ -1,25 +1,251 @@ main.floors.MT15= { "floorId": "MT15", - "title": "主塔 15 层", - "name": "15", + "title": "遗忘的幼儿园", + "name": "遗忘的幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, - "images": [], + "cannotViewMap": false, + "images": [ + { + "name": "lanxing.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "yunitongzai.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT12", + "loc": [ + 6, + 0 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,5": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ], + "8,4": [ + { + "type": "setValue", + "name": "flag:yeytm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yeytm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT12" + }, + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT12" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -27,18 +253,18 @@ main.floors.MT15= "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,40226,40204,40204,40204,40204,40204,40204,40204,40204,40204,40206, 0], + [ 0,40225,40044,40044,40044,40044,40044,40044,40044,40044,40044,40186, 0], + [ 0,40225,40044,440, 0,209, 0, 34,40044,440, 0,40186, 0], + [ 0,40225,40044, 34,40044,40044, 0, 0,209, 0, 34,40186, 0], + [ 0,40225,40044,441, 0, 82,206, 0,40044,441, 0,40186, 0], + [ 0,40225,40044,40044,40044,40044, 81,40044,40044,40044,40044,40186, 0], + [ 0,40225,442, 32,440,212, 0,212,441, 32,442,40186, 0], + [ 0,40225,40044,40044,40044,40044, 81,40044,40044,40044,40044,40186, 0], + [ 0,40225, 21, 32,440,207, 0,207,441, 32, 21,40186, 0], + [ 0,40224,40180,40180,40180,40228, 21,40178,40180,40180,40180,40182, 0], + [ 0, 0, 0, 0, 0,40225, 0,40214, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,40225, 93,40214, 0, 0, 0, 0, 0] ], "bgmap": [ @@ -47,7 +273,19 @@ main.floors.MT15= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0,80016,80016,80016,80016,80016,80016,80016,80016,80016, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,80016, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT16.js b/project/floors/MT16.js index 16e77aa..648e835 100644 --- a/project/floors/MT16.js +++ b/project/floors/MT16.js @@ -1,47 +1,482 @@ main.floors.MT16= { "floorId": "MT16", - "title": "主塔 16 层", - "name": "16", + "title": "未来之星幼儿园", + "name": "未来之星幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT17", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "8,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,8": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ] + }, "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] + [155,155,155,155,155, 20, 91, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 81, 20,155,155,155,155,155], + [155,155,155,155,155, 20,256, 20,155,155,155,155,155], + [155,155, 20, 20, 20, 20, 0, 20, 20, 20, 20,155,155], + [155,155,440, 20,441, 20,440, 0,456, 0, 32,155,155], + [155,155,441, 20, 34, 20, 0, 32, 20,441, 21,155,155], + [155,155,458, 20,456, 20,256, 20, 20, 20, 20,155,155], + [155,155, 0,442, 0, 81, 0, 81,256, 0, 22,155,155], + [155,155,458, 20,456, 20, 21, 20, 20,458, 20,155,155], + [155,155,440, 20, 34, 20, 0, 20, 31, 0, 20,155,155], + [155,155,441, 20,440, 20, 0, 20,443, 31, 20,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155] ], "bgmap": [ - + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305] ], "fgmap": [ diff --git a/project/floors/MT17.js b/project/floors/MT17.js index 1472cec..901abd3 100644 --- a/project/floors/MT17.js +++ b/project/floors/MT17.js @@ -1,50 +1,528 @@ main.floors.MT17= { "floorId": "MT17", - "title": "主塔 17 层", - "name": "17", + "title": "未来之星幼儿园", + "name": "未来之星幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT18", + "loc": [ + 12, + 6 + ] + }, + "6,12": { + "floorId": "MT16", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT19", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "MT20", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "10,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "9,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "7,8": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,6": [ + { + "type": "changeFloor", + "floorId": "MT21", + "loc": [ + 6, + 12 + ] + } + ] + }, "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] + [155,155,155,155,155, 20, 91, 20,155,155,155,155,155], + [155,155,155,155,155, 20,453, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 82, 20,155,155,155,155,155], + [155,155, 21, 20, 20, 20, 0, 20, 20, 20, 22,155,155], + [155,155,440, 20, 0,456, 0, 81, 0, 20,440,155,155], + [155,155,456, 20, 34,130042, 86,130042, 34, 20,453,155,155], + [ 92, 0, 0,256, 0, 86,483, 86, 0,458, 0, 0, 94], + [155,155,456, 20,441,130042, 86,130042,440, 20,453,155,155], + [155,155,441, 20, 0, 82, 0,453, 0, 20,441,155,155], + [155,155, 21, 20, 20, 20, 29, 20, 20, 20, 22,155,155], + [155,155,155,155,155, 20, 31, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 0, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 93, 20,155,155,155,155,155] ], "bgmap": [ - + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305] ], "fgmap": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110037, 0], + [ 0, 0,110036, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [110037, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110036], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,110036, 0, 0, 0, 0, 0, 0, 0,110036, 0], + [110037, 0, 0, 0, 0, 0, 0, 0, 0,110037, 0, 0, 0] ], "bg2map": [ diff --git a/project/floors/MT18.js b/project/floors/MT18.js index c05c1eb..721baeb 100644 --- a/project/floors/MT18.js +++ b/project/floors/MT18.js @@ -1,47 +1,574 @@ main.floors.MT18= { "floorId": "MT18", - "title": "主塔 18 层", - "name": "18", + "title": "未来之星幼儿园", + "name": "未来之星幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "12,6": { + "floorId": "MT17", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "4,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "5,2": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ] + }, "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] + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,440, 20, 0,458, 0,440, 0, 81, 0,155,155], + [155,155, 34, 20, 30, 20, 20, 20, 20, 20,440,155,155], + [155,155,441, 20, 0, 81,458,440,440, 20, 0,155,155], + [155,155,454, 20,453, 20, 20, 20, 20, 20,256,155,155], + [155,155, 0, 82, 0, 32, 21, 0,456, 82, 0, 0, 94], + [155,155, 21, 20, 81, 20, 20, 20, 20, 20,256,155,155], + [155,155, 34, 20, 0, 20,441,441,456, 81, 0,155,155], + [155,155,442, 20, 34, 20, 20, 20, 20, 20,441,155,155], + [155,155, 0,454, 0,458, 0,443, 0,454, 0,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155] ], "bgmap": [ - + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305] ], "fgmap": [ diff --git a/project/floors/MT19.js b/project/floors/MT19.js index 9b38e2f..7ff482a 100644 --- a/project/floors/MT19.js +++ b/project/floors/MT19.js @@ -1,47 +1,390 @@ main.floors.MT19= { "floorId": "MT19", - "title": "主塔 19 层", - "name": "19", + "title": "未来之星幼儿园", + "name": "未来之星幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT17", + "loc": [ + 12, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "2,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ] + }, "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] + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,442, 20, 20, 20, 20, 20, 20, 20, 20,155,155], + [155,155, 32, 20, 0,454, 0,454, 0, 34, 20,155,155], + [155,155, 32, 20, 27, 20, 21, 20,441, 22, 20,155,155], + [155,155,456, 20, 28, 20,442, 20, 20, 20, 20,155,155], + [ 92, 0, 0, 82, 0, 20, 0, 81, 0, 34, 20,155,155], + [155,155,453, 20, 29, 20,458, 20,325, 20, 20,155,155], + [155,155, 0, 20, 34, 20, 21, 20, 0,440, 20,155,155], + [155,155, 0,325, 0, 81, 0, 20,441, 33, 20,155,155], + [155,155,440, 20, 20, 20, 20, 20, 20, 20, 20,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155] ], "bgmap": [ - + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305] ], "fgmap": [ diff --git a/project/floors/MT20.js b/project/floors/MT20.js index 50cfd40..8a61d4f 100644 --- a/project/floors/MT20.js +++ b/project/floors/MT20.js @@ -1,47 +1,344 @@ main.floors.MT20= { "floorId": "MT20", - "title": "主塔 20 层", - "name": "20", + "title": "未来之星幼儿园", + "name": "未来之星幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT17", + "loc": [ + 6, + 0 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:cltm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:cltm==42)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT17" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT17" + } + ] + } + ] + }, "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] + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,155,155,155,155,155,155,155,155,155,155,155], + [155,155,440, 33, 20, 0, 33, 0, 20, 33,441,155,155], + [155,155, 0,440, 20,442, 0,442, 20,441, 0,155,155], + [155,155,325, 20, 20, 20,325, 20, 20, 20,325,155,155], + [155,155, 0,453, 0,440, 0,441, 0,453, 0,155,155], + [155,155, 30, 20, 81, 20, 20, 20, 81, 20, 34,155,155], + [155,155, 0, 20, 34, 20, 20, 20, 34, 20, 0,155,155], + [155,155, 82, 20, 20, 20, 20, 20, 20, 20,441,155,155], + [155,155, 0, 34, 0, 81, 0,454, 0,440, 0,155,155], + [155,155,155,155,155, 20,443, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 0, 20,155,155,155,155,155], + [155,155,155,155,155, 20, 93, 20,155,155,155,155,155] ], "bgmap": [ - + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305], + [305,305,305,305,305,305,305,305,305,305,305,305,305] ], "fgmap": [ diff --git a/project/floors/MT21.js b/project/floors/MT21.js index 48a521a..d99e659 100644 --- a/project/floors/MT21.js +++ b/project/floors/MT21.js @@ -1,47 +1,436 @@ main.floors.MT21= { "floorId": "MT21", - "title": "主塔 21 层", - "name": "21", + "title": "清水嘉苑幼儿园", + "name": "清水嘉苑幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "onenight.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT22", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,8": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "11,12": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "1,11": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ] + }, "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, 17, 17, 91, 17, 17, 0, 0, 0, 0], + [240079,240080,240081, 0, 17,240058,473, 17, 17, 0, 0, 0, 0], + [240082,240083,240084, 0, 17, 17, 81, 17, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 17, 0,240058, 17, 0, 0,240055,240056], + [ 0, 0, 0, 0, 17, 17, 32, 17, 17, 0, 0,240059,240060], + [ 0, 0, 0, 0, 17,240058, 31, 17, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 17, 21, 17, 17, 0, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17, 0,240058, 17, 17, 17, 17, 17], + [ 17, 17,240058, 17, 17, 17,473, 17, 17,240058, 17,240058, 17], + [441,240054, 0,473, 0, 81, 0, 81, 0,452, 0,240031,440], + [ 21,240054,442,240050,459,240053, 0,240053,459,240050,440,240031,441], + [ 0,452, 0,240050, 34,240053, 0,240053, 34,240050, 21,240031, 22], + [ 32,250010,250010,240050,440,240053, 0,240053,441,240050, 0,476, 0] ], "bgmap": [ - + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [159,159,159,159,157,156,418,156,157,159,159,159,159], + [157,157,157,157,157,156,418,156,157,157,157,157,157], + [156,156,156,156,156,156,418,156,156,156,156,156,156], + [418,418,418,418,418,418,418,418,418,418,418,418,418], + [418,418,418,418,418,418,418,418,418,418,418,418,418], + [418,418,418,418,418,418,418,418,418,418,418,418,418], + [418,418,418,418,418,418,418,418,418,418,418,418,418] ], "fgmap": [ diff --git a/project/floors/MT22.js b/project/floors/MT22.js index d350851..ed0f4dd 100644 --- a/project/floors/MT22.js +++ b/project/floors/MT22.js @@ -1,47 +1,378 @@ main.floors.MT22= { "floorId": "MT22", - "title": "主塔 22 层", - "name": "22", + "title": "清水嘉苑幼儿园", + "name": "清水嘉苑幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "onenight.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT21", + "loc": [ + 6, + 0 + ] + }, + "0,6": { + "floorId": "MT23", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT24", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "MT25", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,8": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "item:yellowKey*20000+item:blueKey*50000" + }, + { + "type": "win", + "reason": "", + "norank": 1 + } + ] + }, "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, 17, 91, 17, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 17, 0,240058, 0, 0, 0, 0, 0], + [ 0, 0, 17, 17,240058, 17, 83, 17, 17, 17, 17, 0, 0], + [ 0, 0, 17,440, 34,240050, 32,240050, 34,441,240058, 0, 0], + [ 0,240058, 17, 21, 0, 81,442, 81, 0, 21, 17, 0, 0], + [ 17, 17, 17,240050,476,240453, 86,240453,469,240050, 17, 17, 17], + [ 92, 0,469, 0, 0, 86,262, 86, 0,440, 81, 0, 94], + [240058, 17, 17,240050,452,240453, 86,240453,452,240050, 17, 17, 17], + [ 0, 0, 17, 34, 0, 82, 0,459, 0, 34, 17, 17, 17], + [ 0, 0,240058,441,442,240050, 27,240050, 28, 21,240058, 17, 0], + [ 0, 0, 17, 17,240058, 17, 31, 17,240058, 17, 17, 17, 17], + [ 0, 0, 0, 0, 0, 17, 0, 17, 17, 17, 17, 17, 17], + [ 0, 0, 0, 0, 0, 17, 93, 17, 0, 0, 17, 17, 0] ], "bgmap": [ - + [159,159,159,159,157,156,418,156,157,159,159,159,159], + [159,157,157,157,157,156,418,156,157,157,157,157,159], + [159,157,156,156,156,156,418,156,156,156,156,157,159], + [159,157,156,418,418,418,418,418,418,418,156,157,159], + [157,157,156,418,418,418,418,418,418,418,156,157,157], + [156,156,156,418,418,418,418,418,418,418,156,156,156], + [418,418,418,418,418,418,418,418,418,418,418,418,418], + [156,156,156,418,418,418,418,418,418,418,156,156,156], + [157,157,156,418,418,418,418,418,418,418,156,157,157], + [159,157,156,418,418,418,418,418,418,418,156,157,157], + [159,157,156,156,156,156,418,156,156,156,156,157,159], + [159,157,157,157,157,156,418,156,157,157,157,157,159], + [159,159,159,159,157,156,418,156,157,159,159,159,159] ], "fgmap": [ diff --git a/project/floors/MT23.js b/project/floors/MT23.js index 201dbe2..17147fe 100644 --- a/project/floors/MT23.js +++ b/project/floors/MT23.js @@ -1,25 +1,402 @@ main.floors.MT23= { "floorId": "MT23", - "title": "主塔 23 层", - "name": "23", + "title": "清水嘉苑幼儿园", + "name": "清水嘉苑幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "onenight.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "12,6": { + "floorId": "MT22", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,7": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -27,21 +404,33 @@ main.floors.MT23= "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, 17, 17, 17, 17, 17, 17, 17,240058, 17, 17, 17, 17], + [ 0, 17, 17, 17, 17,240058, 17, 17, 17, 17, 17, 17, 17], + [ 0, 17,240058, 23, 0,476, 82, 0,240028,440, 17, 17, 17], + [ 0, 17, 17, 0,240023,240023,240023,440,240028,440,240058, 17, 17], + [ 0, 17, 17,471,240023, 33,240023, 21,240028,476, 17, 17, 17], + [ 0, 17,240058, 0, 22, 0,471, 0,469, 0, 34, 0, 94], + [ 0, 17, 17,469,240023, 30,240023, 32,240028,476, 17,240058, 17], + [ 0, 17, 17, 0,240023,240023,240023,441,240028,441, 17, 17, 17], + [ 0, 17,240058, 30, 0,469, 81, 0,240028,441, 17, 17, 17], + [ 0, 17, 17, 17, 17, 17,240058, 17, 17,240058, 17, 17, 17], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "bgmap": [ - + [159,159,159,159,159,159,159,159,159,159,159,159,159], + [159,157,157,157,157,157,157,157,157,157,157,157,159], + [159,157,156,156,156,156,156,156,156,156,156,157,159], + [159,157,156,418,418,418,418,418,418,418,156,157,159], + [159,157,156,418,418,418,418,418,418,418,156,157,157], + [159,157,156,418,418,418,418,418,418,418,156,156,156], + [159,157,156,418,418,418,418,418,418,418,418,418,418], + [159,157,156,418,418,418,418,418,418,418,156,156,156], + [159,157,156,418,418,418,418,418,418,418,156,157,157], + [159,157,156,418,418,418,418,418,418,418,156,157,159], + [159,157,156,156,156,156,156,156,156,156,156,157,159], + [159,157,157,157,157,157,157,157,157,157,157,157,159], + [159,159,159,159,159,159,159,159,159,159,159,159,159] ], "fgmap": [ diff --git a/project/floors/MT24.js b/project/floors/MT24.js index 1877d63..f2191af 100644 --- a/project/floors/MT24.js +++ b/project/floors/MT24.js @@ -1,47 +1,252 @@ main.floors.MT24= { "floorId": "MT24", - "title": "主塔 24 层", - "name": "24", + "title": "清水嘉苑幼儿园", + "name": "清水嘉苑幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "onenight.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT22", + "loc": [ + 12, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,6": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,9": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ] + }, "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, 17, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0], + [ 0, 17, 17,240058, 17, 17, 17, 17,240058, 17, 17, 17, 0], + [ 0, 17, 17,440, 34, 0,476, 0,440, 34, 17, 17, 0], + [ 17,240058, 17, 0,240054,240201,240201,240201,240201,442,240058, 17, 0], + [ 17, 17, 17,452,240054, 32, 32, 31, 81, 0, 17, 17, 0], + [ 92, 0,442, 0,240054,240201,240201,240201,240201,476, 17, 17, 0], + [240058, 17, 17, 82,240054, 32, 32, 31, 81, 0, 17, 17, 0], + [ 17, 17, 17, 0,240054,240201,240201,240201,240201,442, 17, 17, 0], + [ 17, 17, 17,441, 34, 0,476, 0,441, 34,240058, 17, 0], + [ 17, 17, 17, 17,240058, 17, 17, 17,240058, 17, 17, 17, 0], + [ 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "bgmap": [ - + [159,159,159,159,159,159,159,159,159,159,159,159,159], + [159,157,157,157,157,157,157,157,157,157,157,157,159], + [159,157,156,156,156,156,156,156,156,156,156,157,159], + [159,157,156,418,418,418,418,418,418,418,156,157,159], + [157,157,156,418,418,418,418,418,418,418,156,157,159], + [156,156,156,418,418,418,418,418,418,418,156,157,159], + [418,418,418,418,418,418,418,418,418,418,156,157,159], + [156,156,156,418,418,418,418,418,418,418,156,157,159], + [157,157,156,418,418,418,418,418,418,418,156,157,159], + [159,157,156,418,418,418,418,418,418,418,156,157,159], + [159,157,156,156,156,156,156,156,156,156,156,157,159], + [159,157,157,157,157,157,157,157,157,157,157,157,159], + [159,159,159,159,159,159,159,159,159,159,159,159,159] ], "fgmap": [ diff --git a/project/floors/MT25.js b/project/floors/MT25.js index 8217683..ac1fa71 100644 --- a/project/floors/MT25.js +++ b/project/floors/MT25.js @@ -1,47 +1,160 @@ main.floors.MT25= { "floorId": "MT25", - "title": "主塔 25 层", - "name": "25", + "title": "清水嘉苑幼儿园", + "name": "清水嘉苑幼儿园", "width": 13, "height": 13, "canFlyTo": false, "canFlyFrom": false, "canUseQuickShop": false, - "cannotViewMap": true, + "cannotViewMap": false, "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bewithyou.mp3", + "bgm": "onenight.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT22", + "loc": [ + 6, + 0 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:haibtm", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:haibtm==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 5 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 7, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 5, + 6 + ], + "floorId": "MT22" + }, + { + "type": "openDoor", + "loc": [ + 6, + 7 + ], + "floorId": "MT22" + } + ] + } + ] + }, "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,240078, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,240078], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,240070, 17], + [ 17, 17, 17, 17, 17, 17,240058, 17, 17, 17, 17, 17, 17], + [240070, 17, 17, 17, 17, 17, 33, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17,240058, 33, 17, 17, 17, 17,240065,240066], + [ 17, 17, 17, 17, 17, 17,443,240058, 17, 17, 17,240073,240077], + [240066,240072, 17, 17, 17, 17,443, 17, 17, 17, 17,240085,240086], + [240077,240077, 17, 17, 17,240058,471, 17, 17, 17, 17,240042,240043], + [240086,240107, 17, 17, 17, 17,471,240058, 17, 17, 17, 17, 17], + [240043,240044, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17,240079], + [ 17, 17, 17, 17, 17,240058, 0, 17, 17, 17, 17, 17,240082], + [ 17, 17, 17, 17, 17, 17, 93, 17, 17, 17, 17, 17, 17] ], "bgmap": [ - + [160,160,160,160,160,160,160,160,160,160,160,160,160], + [160,160,160,159,159,159,159,159,159,159,160,160,160], + [160,160,160,159,157,157,157,157,157,159,160,160,160], + [160,160,160,159,157,156,156,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160], + [160,160,160,159,157,156,418,156,157,159,160,160,160] ], "fgmap": [ diff --git a/project/floors/sample0.js b/project/floors/sample0.js deleted file mode 100644 index 7ffc756..0000000 --- a/project/floors/sample0.js +++ /dev/null @@ -1,259 +0,0 @@ -main.floors.sample0= -{ - "floorId": "sample0", - "title": "样板 0 层", - "name": "0", - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "defaultGround": "ground", - "images": [], - "bgm": "bgm.mp3", - "ratio": 1, - "map": [ - [ 0, 0,220, 0, 0, 20, 87, 3, 58, 59, 60, 61, 64], - [ 0,246, 0,246, 0, 20, 0, 3, 57, 72, 63, 43, 44], - [219, 0, 0, 0,219, 20, 0, 3, 53, 54, 55, 56, 69], - [ 20, 20,125, 20, 20, 20, 0, 3, 49, 50, 51, 52, 68], - [251,247,256,234,248, 6, 0, 3, 35, 36, 46, 47, 48], - [ 6, 6,125, 6, 6, 6, 0, 3, 0, 0, 0, 0, 0], - [208,227,212,216,278, 5, 0, 1, 1, 1,319, 1, 1], - [201,205,217,215,224, 5, 0, 1, 27, 28, 29, 30, 31], - [ 5, 5,125, 5, 5, 5, 0, 1, 21, 22, 23, 24, 26], - [ 0, 0,263, 0, 0, 0, 45, 1, 1, 1,121, 1, 1], - [ 4, 4,133, 4, 4, 4, 0, 0, 0, 0, 0, 85,124], - [ 87, 11, 12, 13, 14, 4, 4, 2, 2,122, 2, 2, 2], - [ 88, 89, 90, 91, 92, 93, 94, 2, 81, 82, 83, 84, 86] -], - "firstArrive": [ - { - "type": "setText", - "background": "winskin.png", - "time": 0 - }, - "\t[样板提示]首次到达某层可以触发 firstArrive 事件,该事件可类似于RMXP中的“自动执行脚本”。\n\n本事件支持一切的事件类型,常常用来触发对话,例如:", - "\t[hero]\b[up,hero]我是谁?我从哪来?我又要到哪去?", - "\t[仙子,fairy]你问我...?我也不知道啊...", - "本层主要对道具、门、怪物等进行介绍,有关事件的各种信息在下一层会有更为详细的说明。" - ], - "events": { - "2,10": [ - "\t[少女,npc0]\b[this]这些是路障、楼梯、传送门。", - "\t[少女,npc1]\b[this]血网的伤害数值、中毒后每步伤害数值、衰弱时攻防下降的数值,都在全塔属性(快捷键B)的全局数值(values)内定义。\n\n路障同样会尽量被自动寻路绕过。", - "\t[少女,npc2]\b[this]楼梯和传送门需要在地图选点(快捷键X)的“楼层转换”中定义目标楼层和位置,可参见样板里已有的的写法。", - { - "type": "hide", - "time": 500 - } - ], - "2,5": [ - "\t[老人,wizard]\b[this]模仿、吸血、中毒、衰弱、诅咒。\n\n请注意吸血怪需要设置value为吸血数值,可参见样板中黑暗大法师的写法。", - { - "type": "hide", - "time": 500 - } - ], - "2,3": [ - "\t[老人,wizard]\b[this]领域、夹击。\n请注意领域怪需要设置value为伤害数值,可参见样板中初级巫师的写法。", - "\t[老人,wizard]\b[this]当领域、阻击、激光和夹击同时发生时,先计算领域、阻击、激光(同时计算),再计算夹击。\n自动寻路同样会尽量绕过这些区域。", - { - "type": "hide", - "time": 500 - } - ], - "12,10": { - "trigger": null, - "enable": false, - "noPass": null, - "displayDamage": true, - "data": [ - "\t[仙子,fairy]\b[this]只有楼上启用事件后,才能看到我并可以和我对话来触发事件。", - { - "type": "hide", - "time": 500 - } - ] - }, - "2,8": [ - "\t[老人,wizard]\b[this]这些都是各种各样的怪物,所有怪物的数据都在 project 文件夹的 enemys.js 中设置。\n(注意是 enemys,而非 enemies)", - "\t[老人,wizard]\b[this]这批怪物分别为:\n\\i[greenSlime]普通、\\i[bat]先攻、\\i[bluePriest]魔攻、\\i[rock]坚固、\\i[swordsman]2连击、\\i[vampire]多连击、\\i[redKnight]破甲、\\i[ghostSoldier]反击、\\i[slimeman]净化。", - "\t[老人,wizard]\b[this]打败怪物后可触发 afterBattle 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。", - { - "type": "hide", - "time": 500 - } - ], - "9,11": [ - "\t[老人,trader]\b[this]这些是门,需要对应的钥匙打开。\n机关门必须使用特殊的开法。", - "\t[老人,trader]\b[this]开门后可触发 afterOpenDoor 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。", - { - "type": "hide", - "time": 500 - } - ], - "10,9": [ - "\t[老人,man]\b[down,null]这些是部分本样板支持的道具。\n\n道具分为 items、constants、tools、equips 四类。\nitems 为即捡即用类道具,例如宝石、血瓶等。\nconstants 为永久道具,例如怪物手册、楼层传送器、幸运金币等。\ntools 为消耗类道具,例如破墙镐、炸弹、中心对称飞行器等。\nequips 为装备,例如剑盾等。", - "\t[老人,man]\b[up]有关道具效果,定义在project文件夹的items.js中。\n目前大多数道具已有默认行为,如有自定义的需求请修改道具的图块属性。", - "\t[老人,man]\b[up]拾取道具结束后可触发 afterGetItem 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。", - { - "type": "hide", - "time": 500 - } - ] - }, - "changeFloor": { - "6,0": { - "floorId": "sample1", - "stair": "downFloor" - }, - "0,11": { - "floorId": "sample0", - "loc": [ - 0, - 12 - ] - }, - "0,12": { - "floorId": "sample0", - "stair": "upFloor" - }, - "1,12": { - "floorId": "sample0", - "loc": [ - 1, - 12 - ] - }, - "2,12": { - "floorId": "sample0", - "loc": [ - 2, - 12 - ] - }, - "3,12": { - "floorId": "sample0", - "loc": [ - 6, - 1 - ], - "direction": "up" - }, - "4,12": { - "floorId": "sample0", - "loc": [ - 0, - 9 - ], - "direction": "left", - "time": 1000 - }, - "5,12": { - "floorId": "sample0", - "loc": [ - 6, - 10 - ], - "time": 0, - "portalWithoutTrigger": false - }, - "6,12": { - "floorId": "sample0", - "loc": [ - 10, - 10 - ], - "direction": "left", - "time": 1000 - } - }, - "afterBattle": { - "2,6": [ - "\t[ghostSoldier]\b[this]不可能,你怎么可能打败我!\n(一个打败怪物触发的事件)" - ], - "0,9": [ - "这是一个高度为 48 个像素而非 32 个像素的敌人。\n高敌人的素材存放在 materials 文件夹中 enemy48.png 的部分。" - ] - }, - "afterGetItem": { - "9,1": [ - "技能的支持需要依赖状态栏的“魔力”以及脚本编辑的“按键处理”,详见帮助文档“个性化”一节。" - ], - "12,2": [ - "跳跃靴和支援怪的跳跃音效是用脚本额外添加的,\n如果想为任意跳跃指令添加音效,请查阅帮助文档中的“脚本——复写函数”章节。" - ], - "8,3": [ - "炸弹是只能炸面前的怪物还是四个甚至八个方向的怪物,\n由其图块属性(快捷键C)中的“使用效果”决定。\n不能被炸的怪物请直接在该怪物的图块属性中勾选“不可炸”,\n可参见样板里黑衣魔王和黑暗大法师的写法。\nV2.8.1起,炸弹炸怪可以添加获得金经/触发战后事件,详见其使用效果中的注释。" - ], - "10,3": [ - "“上楼”和“下楼”的目标层由全塔属性(快捷键B)的“楼层列表”顺序所决定。" - ], - "12,3": [ - "如果想制作类似于生命魔杖等可以被批量使用的道具,请参照生命魔杖图块属性(快捷键B)中\n useItemEvent 的写法。\n其基本原理就是使用【接受用户输入】让玩家在弹窗中输入想要使用的物品数量,再判断玩家的输入是否合法,如果输入合法就扣减相应数量的物品并结算物品效果。\n要注意的是,在使用物品时会先消耗一个物品,所以记得在编辑 useItemEvent 时先用 core.addItem 恢复一个物品。" - ], - "8,4": [ - "剑盾的道具类别设为equips才可以装备,\n如果设为items则会直接增加属性。", - "在全塔属性(快捷键B)的系统开关中设置是否启用装备栏按钮。\n如果启用则装备栏按钮会替代楼传按钮。\n无论是否启用,玩家都可以双击道具栏按钮呼出装备栏。" - ], - "9,4": [ - "装备的种类由全塔属性(快捷键B)中的“装备孔”决定。\n每件装备的“类型”就是在“装备孔”中的索引,例如默认情况下 0 代表武器。\n同时,只有第一个装备孔中的装备,其“普攻动画”属性才会生效。" - ], - "10,4": [ - "每层楼的“可楼传”勾选框决定了该楼层能否被飞到。\n\n勇士在不能被飞到的楼层也无法使用楼层传送器。", - "飞行的楼层顺序由全塔属性(快捷键B)中的“楼层列表”所决定。\n\n是否必须在楼梯边使用楼传器由全塔属性中的系统开关所决定。" - ], - "11,4": [ - "破墙镐是破面前的墙壁还是四个方向的墙壁,由其图块属性(快捷键C)的“使用效果”决定。\n哪些图块(怪物和道具除外)可以被破震,由该图块的图块属性中的“可破震”决定。" - ], - "12,4": [ - "在 2.8.1 版更新后,能够被破冰镐摧毁的冰块被移动到了 animates 下。\n如果想制作一个可以以特定触发器的方式移除特定图块的道具,可以参照破冰镐物品图块属性中\n useItemEffect 和 canUseItemEffect 的写法。" - ], - "11,8": [ - "由于状态栏放不下,铁门钥匙(根据全塔属性的系统开关勾选与否,可能还有绿钥匙)会被放入道具栏中。\n碰到绿门和铁门时仍然会自动使用钥匙开门。" - ], - "12,8": [ - "该道具默认是大黄门钥匙,如需改为钥匙盒直接修改其图块属性(快捷键C)的“道具类别”为items即可。" - ], - "8,7": [ - "如需修改消耗品的效果,请前往全塔属性(快捷键B),找到并修改values(全局数值)内对应的具体数值即可。\n如果有高级的需求(如每个区域宝石数值变化),请修改楼层属性(快捷键V)最下方的“宝石血瓶效果”。\n如果有更高级的需求,请查阅帮助文档。" - ], - "11,7": [ - "与大黄门钥匙类似的是,如果将黄宝石的图块属性设为 items ,那么黄宝石将在被拾取触发 itemEffect 效果。\n\n注意:触碰或使用事件(useItemEvent)对 items、tools、constants 都有效。\n这意味着,如果黄宝石的图块属性为 items ,那么在拾取黄宝石时,黄宝石不会进入背包,并且其“即捡即用”和“触碰或使用事件”都会被触发。" - ], - "12,7": [ - "由于吸血、夹击、净化等属性值的存在,玩家可能希望自动寻路时能尽量绕开血瓶和绿宝石。\n他们可以自行在游戏设置中开关这一功能。" - ] - }, - "afterOpenDoor": { - "11,12": [ - "你打开了一扇绿门,触发了一个 afterOpenDoor 事件。" - ], - "10,6": [ - "这是一扇高度为 48 个像素而非 32 个像素的门。\n高门和高NPC的素材存放在 materials 文件夹中 npc48.png 的部分。" - ] - }, - "cannotMove": {}, - "bgmap": [ - -], - "fgmap": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10169, 0,10177, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10170, 0,10185, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10169, 0,10179, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10172, 0,10180, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10186, 0,10181, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10187, 0,10182, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,10188, 0,10183, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "width": 13, - "height": 13, - "autoEvent": {}, - "beforeBattle": {}, - "cannotMoveIn": {} -} \ No newline at end of file diff --git a/project/floors/sample1.js b/project/floors/sample1.js deleted file mode 100644 index 2d3f74a..0000000 --- a/project/floors/sample1.js +++ /dev/null @@ -1,630 +0,0 @@ -main.floors.sample1= -{ - "floorId": "sample1", - "title": "样板 1 层", - "name": "1", - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "defaultGround": "grass", - "images": [ - { - "name": "bg.jpg", - "canvas": "bg", - "x": 0, - "y": 0 - } - ], - "weather": [ - "snow", - 6 - ], - "ratio": 1, - "map": [ - [ 7,131, 8,152, 9,130, 10,152,166,165,132,165,166], - [ 0, 0, 0, 0, 0, 0, 0,152,165,164, 0,162,165], - [152,152,152,152,121,152,152,152, 0, 0,229, 0, 0], - [ 43, 33, 44,151, 0, 0, 0,152,165,161, 0,163,165], - [ 21, 22, 21,151, 0, 0, 0,152,166,165, 0,165,166], - [151, 0,151,151, 0, 87, 0,152,152,152, 85,153,153], - [ 0, 0, 0,151, 0, 0, 0,152,152,221, 0,221,153], - [ 0, 0, 0,151, 0, 0, 0,121, 0, 0, 0, 0,153], - [151, 0,151,151, 0,153,153,153,153,153,153,153,153], - [ 0, 0, 0, 0, 0, 0, 0,164, 0, 0,163, 0, 0], - [ 1, 1, 1, 1, 0, 20, 0, 0, 0,162, 0,161, 0], - [ 1, 0,123, 1, 0, 20,124, 0,121, 0,122, 0,126], - [ 1, 0, 0, 1, 88, 20, 0, 0, 0, 0, 0, 0, 0] -], - "firstArrive": [], - "events": { - "1,7": [ - { - "type": "setBlock", - "number": "redKing", - "loc": [ - [ - 1, - 5 - ] - ], - "time": 1500 - }, - { - "type": "sleep", - "time": 500 - }, - "\t[redKing]\b[this,1,5]欢迎来到魔塔,你是第一百位挑战者。\n若你能打败我所有的手下,我就与你一对一的决斗。\n现在你必须接受我的安排。", - { - "type": "setBlock", - "number": "blueKing", - "loc": [ - [ - 1, - 6 - ], - [ - 0, - 7 - ], - [ - 1, - 8 - ], - [ - 2, - 7 - ] - ], - "time": 500 - }, - "\t[hero]\b[hero]什么?", - { - "type": "animate", - "name": "hand", - "loc": "hero" - }, - { - "type": "setValue", - "name": "status:atk", - "operator": "/=", - "value": "10" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "/=", - "value": "10" - }, - { - "type": "hide", - "loc": [ - [ - 1, - 6 - ], - [ - 0, - 7 - ], - [ - 2, - 7 - ], - [ - 1, - 8 - ] - ], - "time": 500 - }, - { - "type": "hide", - "loc": [ - [ - 1, - 5 - ] - ], - "time": 500 - }, - { - "type": "hide" - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0 - ], - "time": 1250 - }, - { - "type": "sleep", - "time": 700 - }, - { - "type": "changeFloor", - "floorId": "sample1", - "loc": [ - 1, - 11 - ], - "direction": "right", - "time": 1000 - }, - { - "type": "trigger", - "loc": [ - 2, - 11 - ] - } - ], - "2,11": [ - "\t[杰克,thief]\b[this]喂!醒醒!快醒醒!", - { - "type": "setCurtain", - "time": 1500 - }, - "\t[hero]\b[hero]额,我这是在什么地方?", - "\t[杰克,thief]\b[this]你被魔王抓了起来扔进了监狱,和我关在了一起,但是幸运的是我在昨天刚刚挖好一条越狱的暗道!", - { - "type": "openDoor", - "loc": [ - 3, - 11 - ] - }, - { - "type": "comment", - "text": "{type: openDoor} 不止可以开“门”,也可以用来开墙等等" - }, - { - "type": "sleep", - "time": 300 - }, - "\t[杰克,thief]\b[this]我先走了,祝你好运!", - { - "type": "move", - "time": 750, - "steps": [ - "right:2", - "down:1" - ] - }, - "上面是个move事件,可以对NPC等进行移动。\n详见样板中小偷事件的写法。", - "\t[hero]\b[hero]怎么跑的这么快..." - ], - "4,2": [ - "\t[老人,man]\b[this]本塔的商店有两类,全局商店和非全局商店。\n\n所谓非全局商店,就类似于右下角那个卖钥匙的老人一样,一定要碰到才能触发事件。\n\n而全局商店,则能在快捷商店中直接使用。", - "\t[老人,man]\b[this]要注册一个全局商店,你需要在全塔属性中,找到“全局商店”,并在内添加你的商店信息。", - "\t[老人,man]\b[this]商店信息添加后,可以在需要的事件处调用{\"type\": \"openShop\"}来打开你添加的全局商店。", - "\t[老人,man]\b[this]在上面的例子里,左边是一个仿51层的金币商店,右边是一个仿24层的经验商店。\n\n商店被访问后即可在快捷商店中进行使用。", - "\t[老人,man]\b[this]如果你需要在某层禁用快捷商店,可以在其楼层属性中设置“快捷商店”。\n如果需要永久禁用商店(直到重新通过触碰NPC打开),请使用{\"type\":\"disableShop\"}", - { - "type": "hide", - "time": 500 - } - ], - "1,0": [ - { - "type": "openShop", - "id": "shop1", - "open": true - } - ], - "5,0": [ - { - "type": "openShop", - "id": "shop2", - "open": true - } - ], - "7,7": [ - "\t[老人,man]\b[this]这是一个典型的杀怪开门、强制战斗事件。", - "\t[老人,man]\b[this]下面的那四个箭头表示单向通行,画在任何一个图层都有效。", - { - "type": "hide", - "time": 500 - } - ], - "9,7": [ - { - "type": "closeDoor", - "id": "specialDoor", - "loc": [ - 8, - 7 - ] - }, - { - "type": "hide" - } - ], - "10,4": [ - "\t[blackKing]\b[this]你终于还是来了。", - "\t[hero]\b[hero]放开我们的公主!", - "\t[blackKing]\b[this]如果我不愿意呢?", - "\t[hero]\b[hero]无需多说,拔剑吧!", - { - "type": "battle", - "loc": [ - 10, - 2 - ] - }, - { - "type": "openDoor", - "loc": [ - 8, - 7 - ] - }, - "\t[blackKing]没想到你已经变得这么强大了... 算你厉害。\n公主就交给你了,请好好对她。", - { - "type": "hide" - } - ], - "10,0": [ - "\t[hero]\b[hero]公主,我来救你了~", - "\t[公主,princess]\b[this]快救我出去!我受够这里了!", - "\t[hero]\b[hero]公主别怕,我们走吧~", - { - "type": "win", - "reason": "救出公主" - } - ], - "6,11": [ - "\t[仙子,fairy]\b[this]通过调用 {\"type\": \"closeDoor\"} 可以在空地关上一扇门或墙。\n比如我下面这个机关门。", - { - "type": "closeDoor", - "id": "steelDoor", - "loc": [ - 6, - 12 - ] - }, - "\t[仙子,fairy]\b[this]通过调用 {\"type\": \"openDoor\"} 可以无需钥匙打开一扇门或暗墙。", - { - "type": "openDoor", - "loc": [ - 6, - 12 - ] - }, - "\t[仙子,fairy]\b[this]同时,也可以对其它层进行操作,比如楼下的机关门,现在已经为你打开了。", - { - "type": "openDoor", - "loc": [ - 11, - 10 - ], - "floorId": "sample0" - }, - "\t[仙子,fairy]\b[this]如果当前楼层的 show 或 hide 指定了 time 参数,则以动画效果显示,指定的参数作为淡入淡出时间(毫秒)来计算。", - "\t[仙子,fairy]\b[this]现在到楼下来找我吧~", - { - "type": "show", - "loc": [ - [ - 12, - 10 - ] - ], - "floorId": "sample0" - }, - { - "type": "hide", - "time": 500 - } - ], - "8,11": [ - { - "type": "setValue", - "name": "flag:man_times", - "operator": "+=", - "value": "1" - }, - "\t[老人,man]\b[this]在文字中使用$+{}可以计算并显示一个表达式的结果。\n", - "\t[老人,man]\b[this]例如:\n你的当前攻击力是${status:atk},防御力是${status:def}。\n攻防和的十倍是${10*(status:atk+status:def)},攻防之积是${status:atk*status:def}。\n你有${item:yellowKey}把黄钥匙,${item:blueKey}把蓝钥匙,${item:redKey}把红钥匙。\n你有${item:pickaxe}个破,${item:bomb}个炸,${item:centerFly}个飞。\n这是你第${flag:man_times}次和我对话。", - "\t[老人,man]\b[this]同时,你也可以通过{\"type\": \"setValue\"}来设置一个勇士的属性、道具,或某个Flag。", - "\t[老人,man]\b[this]例如:\n现在我将让你的攻防提升50%,再将攻防和的十倍加到生命值上。", - { - "type": "setValue", - "name": "status:atk", - "operator": "*=", - "value": "1.5" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "*=", - "value": "1.5" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "10*(status:atk+status:def)" - }, - "\t[老人,man]\b[this]再送你500金币,1000经验,1破2炸3飞!", - { - "type": "setValue", - "name": "status:money", - "operator": "+=", - "value": "500" - }, - { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "1000" - }, - { - "type": "setValue", - "name": "item:pickaxe", - "operator": "+=", - "value": "1" - }, - { - "type": "setValue", - "name": "item:bomb", - "operator": "+=", - "value": "2" - }, - { - "type": "setValue", - "name": "item:centerFly", - "operator": "+=", - "value": "3" - }, - "\t[老人,man]\b[this]status:xxx 代表勇士的某个属性。\n其中xxx可取生命、攻击、防御、护盾、金币、经验等很多项。\n\nitem:xxx 代表勇士的某个道具的个数。\nxxx为道具ID,具体可参见items.js中的定义。\n\nflag:xxx 代表某个自定义Flag或变量。\nxxx为Flag/变量名,可以自行定义,由字母、数字和下划线甚至中文组成。\n未定义过而直接取用的Flag默认值为0.", - "\t[老人,man]\b[this]你现在可以重新和我进行对话,进一步看到属性值的改变。" - ], - "10,11": [ - { - "type": "while", - "condition": "true", - "data": [ - { - "type": "switch", - "condition": "flag:woman_times", - "caseList": [ - { - "case": "0", - "action": [ - "\t[老人,trader]这是个很复杂的例子,它将教会你如何使用if 语句进行条件判断,以及 choices 提供选项来供用户进行选择。", - "\t[老人,trader]第一次访问我将显示这段文字;从第二次开始将会向你出售钥匙。\n钥匙价格将随着访问次数递增。\n当合计出售了七把钥匙后,将送你一把大黄门钥匙,并消失不再出现。", - "\t[老人,trader]这部分的逻辑比较长,请细心看样板的写法,是很容易看懂并理解的。" - ] - }, - { - "case": "8", - "action": [ - "\t[老人,trader]你购买的钥匙已经够多了,再继续卖给你的话我会有危险的。", - "\t[老人,trader]看在你贡献给我这么多钱的份上,送你一把大黄门钥匙吧,希望你能好好用它。", - { - "type": "setValue", - "name": "item:bigKey", - "operator": "+=", - "value": "1" - }, - "\t[老人,trader]我先走了,拜拜~", - { - "type": "hide", - "time": 500 - }, - { - "type": "exit" - } - ] - }, - { - "case": "default", - "action": [ - { - "type": "choices", - "text": "\t[老人,trader]少年,你需要钥匙吗?\n我这里有大把的!", - "choices": [ - { - "text": "黄钥匙(${9+flag:woman_times}金币)", - "action": [ - { - "type": "if", - "condition": "status:money>=9+flag:woman_times", - "true": [ - { - "type": "setValue", - "name": "status:money", - "operator": "-=", - "value": "9+flag:woman_times" - }, - { - "type": "setValue", - "name": "item:yellowKey", - "operator": "+=", - "value": "1" - } - ], - "false": [ - "\t[老人,trader]你的金钱不足!", - { - "type": "continue" - } - ] - } - ] - }, - { - "text": "蓝钥匙(${18+2*flag:woman_times}金币)", - "action": [ - { - "type": "if", - "condition": "status:money>=18+2*flag:woman_times", - "true": [ - { - "type": "setValue", - "name": "status:money", - "operator": "-=", - "value": "18+2*flag:woman_times" - }, - { - "type": "setValue", - "name": "item:blueKey", - "operator": "+=", - "value": "1" - } - ], - "false": [ - "\t[老人,trader]你的金钱不足!", - { - "type": "continue" - } - ] - } - ] - }, - { - "text": "红钥匙(${36+4*flag:woman_times}金币)", - "action": [ - { - "type": "if", - "condition": "status:money>=36+4*flag:woman_times", - "true": [ - { - "type": "setValue", - "name": "status:money", - "operator": "-=", - "value": "36+4*flag:woman_times" - }, - { - "type": "setValue", - "name": "item:redKey", - "operator": "+=", - "value": "1" - } - ], - "false": [ - "\t[老人,trader]你的金钱不足!", - { - "type": "continue" - } - ] - } - ] - }, - { - "text": "离开", - "action": [ - { - "type": "exit" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "setValue", - "name": "flag:woman_times", - "operator": "+=", - "value": "1" - } - ] - } - ], - "12,11": [ - "\t[老人,recluse]\b[this]使用 {\"type\":\"input\"} 可以弹窗请求玩家输入数字", - "\t[老人,recluse]\b[this]例如这个例子:即将弹出一个输入窗口,然后会将你的输入结果直接加到你的攻击力上。", - { - "type": "input", - "text": "请输入你要加攻击力的数值:" - }, - { - "type": "if", - "condition": "(flag:input>0)", - "true": [ - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "flag:input" - }, - { - "type": "tip", - "text": "操作成功,攻击+${flag:input}" - }, - "操作成功,攻击+${flag:input}" - ], - "false": [] - }, - "\t[老人,recluse]\b[this]具体可参见样板中本事件的写法。" - ] - }, - "changeFloor": { - "4,12": { - "floorId": "sample0", - "loc": [ - 6, - 0 - ] - }, - "5,5": { - "floorId": "sample2", - "stair": "downFloor", - "direction": "up" - }, - "10,12": null - }, - "afterBattle": { - "9,6": [ - { - "type": "setValue", - "name": "flag:door", - "operator": "+=", - "value": "1" - } - ], - "11,6": [ - { - "type": "setValue", - "name": "flag:door", - "operator": "+=", - "value": "1" - } - ] - }, - "afterGetItem": {}, - "afterOpenDoor": {}, - "cannotMove": {}, - "bgmap": [ - -], - "fgmap": [ - -], - "autoEvent": { - "10,5": { - "0": { - "condition": "flag:door==2", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ - { - "type": "openDoor" - } - ] - }, - "1": null - } - }, - "width": 13, - "height": 13, - "beforeBattle": {} -} \ No newline at end of file diff --git a/project/floors/sample2.js b/project/floors/sample2.js deleted file mode 100644 index fcff416..0000000 --- a/project/floors/sample2.js +++ /dev/null @@ -1,90 +0,0 @@ -main.floors.sample2= -{ - "floorId": "sample2", - "title": "样板 2 层", - "name": "2", - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "defaultGround": "ground", - "images": [], - "ratio": 1, - "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], - [ 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 1, 27, 28, 29, 1, 0,202, 1, 27, 28, 29, 1, 0, 0, 0, 1, 0, 0, 0,202, 0, 0, 0, 0, 0, 0], - [ 1, 31, 32, 33, 1, 0, 0, 1, 31, 32, 33, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 1, 21,258, 22, 1, 0, 0, 1, 21,257, 22, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 1, 1, 82, 1, 1, 0, 0, 1, 1, 81, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 22, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 45, 0, 1, 0,202,202, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0,202,202, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0], - [ 0,327, 0, 0, 0, 0, 88, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,202, 0, 0, 0, 0,328, 0, 0, 0, 0, 0, 0, 0,202, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 87, 0, 0, 0, 0,122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0,329, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0,330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,202, 0, 0, 0, 0, 0, 0], - [ 0, 0, 1, 0, 0,202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0], - [ 0, 0, 0, 0, 1, 1, 0, 0, 1, 0,202,202, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0,202,202, 0], - [ 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,202, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "width": 26, - "height": 26, - "firstArrive": [], - "events": { - "12,12": [ - "234" - ], - "10,11": { - "trigger": "action", - "enable": true, - "noPass": null, - "displayDamage": true, - "opacity": 1, - "filter": { - "blur": 0, - "hue": 0, - "grayscale": 0, - "invert": false, - "shadow": 0 - }, - "data": [ - "\t[小妖精,bearRight]欢迎使用事件编辑器(双击方块可直接预览)" - ] - } - }, - "changeFloor": { - "6,10": { - "floorId": "sample1", - "stair": "upFloor" - }, - "7,12": { - "floorId": "sample2", - "stair": "downFloor" - } - }, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, - "cannotMove": {}, - "upFloor": null, - "bgmap": [ - -], - "fgmap": [ - -], - "autoEvent": {}, - "beforeBattle": {}, - "cannotMoveIn": {} -} \ No newline at end of file diff --git a/project/icons.js b/project/icons.js index 1fe86ea..8e75cc7 100644 --- a/project/icons.js +++ b/project/icons.js @@ -65,7 +65,10 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "sWallTBR": 33, "sWallTBL": 34, "T362": 35, - "location": 36 + "T417": 36, + "T418": 37, + "T419": 38, + "location": 39 }, "animates": { "star": 0, @@ -127,7 +130,9 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "princess": 11, "greenMan": 12, "blueTrader": 13, - "N410": 14 + "N410": 14, + "N414": 15, + "N415": 16 }, "npc48": { "npc0": 0, @@ -174,7 +179,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "N408": 41, "N409": 42, "N411": 43, - "N413": 44 + "N413": 44, + "N416": 45 }, "enemys": { "greenSlime": 0, @@ -265,7 +271,41 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "E359": 85, "E360": 86, "E361": 87, - "E412": 88 + "E412": 88, + "E452": 89, + "E453": 90, + "E454": 91, + "E455": 92, + "E456": 93, + "E458": 94, + "E459": 95, + "E460": 96, + "E461": 97, + "E462": 98, + "E463": 99, + "E464": 100, + "E465": 101, + "E466": 102, + "E467": 103, + "E468": 104, + "E469": 105, + "E470": 106, + "E471": 107, + "E472": 108, + "E473": 109, + "E474": 110, + "E475": 111, + "E476": 112, + "E477": 113, + "E478": 114, + "E479": 115, + "E480": 116, + "E481": 117, + "E482": 118, + "E483": 119, + "E484": 120, + "E485": 121, + "E486": 122 }, "enemy48": { "angel": 0, @@ -344,7 +384,39 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "I339": 37, "I340": 38, "I341": 39, - "I342": 62 + "I342": 62, + "I420": 63, + "I421": 64, + "I422": 65, + "I423": 66, + "I424": 67, + "I425": 68, + "I426": 69, + "I427": 70, + "I428": 71, + "I429": 72, + "I430": 73, + "I431": 74, + "I432": 75, + "I433": 76, + "I434": 77, + "I435": 78, + "I436": 79, + "I437": 80, + "I438": 81, + "I439": 82, + "I440": 83, + "I441": 84, + "I442": 85, + "I443": 86, + "I444": 87, + "I445": 88, + "I446": 89, + "I447": 90, + "I448": 91, + "I449": 92, + "I450": 93, + "I451": 94 }, "autotile": { "autotile": 0, @@ -362,6 +434,12 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "autotile12": 0, "autotile13": 0, "autotile14": 0, - "autotile15": 0 + "autotile15": 0, + "autotile16": 0, + "autotile17": 0, + "autotile18": 0, + "autotile19": 0, + "autotile20": 0, + "autotile21": 0 } } \ No newline at end of file diff --git a/project/images/641.jpg b/project/images/641.jpg new file mode 100644 index 0000000..340da89 Binary files /dev/null and b/project/images/641.jpg differ diff --git a/project/images/brave.png b/project/images/brave.png deleted file mode 100644 index 9855ef6..0000000 Binary files a/project/images/brave.png and /dev/null differ diff --git a/project/images/c9aabd97530e12a0c344bc2cc5095dea.jpeg b/project/images/c9aabd97530e12a0c344bc2cc5095dea.jpeg deleted file mode 100644 index 297e467..0000000 Binary files a/project/images/c9aabd97530e12a0c344bc2cc5095dea.jpeg and /dev/null differ diff --git a/project/images/lanxing.jpg b/project/images/lanxing.jpg new file mode 100644 index 0000000..bb2d530 Binary files /dev/null and b/project/images/lanxing.jpg differ diff --git a/project/images/u_1278618774_2401043221&fm_253&fmt_auto&app_138&f_JPEG-1681817439781.jpeg b/project/images/u_1278618774_2401043221&fm_253&fmt_auto&app_138&f_JPEG-1681817439781.jpeg new file mode 100644 index 0000000..988ad93 Binary files /dev/null and b/project/images/u_1278618774_2401043221&fm_253&fmt_auto&app_138&f_JPEG-1681817439781.jpeg differ diff --git a/project/images/u_3441379051_416032584&fm_253&fmt_auto&app_138&f_JPEG.jpeg b/project/images/u_3441379051_416032584&fm_253&fmt_auto&app_138&f_JPEG.jpeg new file mode 100644 index 0000000..cb55b54 Binary files /dev/null and b/project/images/u_3441379051_416032584&fm_253&fmt_auto&app_138&f_JPEG.jpeg differ diff --git a/project/images/u_3951158436_3745558192&fm_253&fmt_auto&app_138&f_JPEG.jpeg b/project/images/u_3951158436_3745558192&fm_253&fmt_auto&app_138&f_JPEG.jpeg new file mode 100644 index 0000000..18f7c24 Binary files /dev/null and b/project/images/u_3951158436_3745558192&fm_253&fmt_auto&app_138&f_JPEG.jpeg differ diff --git a/project/images/xinghe.jpeg b/project/images/xinghe.jpeg new file mode 100644 index 0000000..a656936 Binary files /dev/null and b/project/images/xinghe.jpeg differ diff --git a/project/items.js b/project/items.js index ebcb517..838c8ab 100644 --- a/project/items.js +++ b/project/items.js @@ -603,5 +603,173 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = } ], "text": "本塔的设定集(强烈建议打开)" + }, + "I420": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I421": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I422": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I423": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I424": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I425": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I426": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I427": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I428": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I429": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I430": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I431": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I432": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I433": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I434": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I435": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I436": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I437": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I438": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I439": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I440": { + "cls": "items", + "name": "二级红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 2", + "itemEffectTip": ",攻击+2" + }, + "I441": { + "cls": "items", + "name": "二级蓝宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",防御+2", + "itemEffect": "core.status.hero.def += 2" + }, + "I442": { + "cls": "items", + "name": "二级绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 5", + "itemEffectTip": ",魔防+5" + }, + "I443": { + "cls": "items", + "name": "二级黄宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 2;\ncore.status.hero.def += 2;\ncore.status.hero.mdef += 5;", + "itemEffectTip": ",全属性提升" + }, + "I444": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I445": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I446": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I447": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I448": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I449": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I450": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" + }, + "I451": { + "cls": "items", + "name": "新物品", + "canUseItemEffect": "true" } } \ No newline at end of file diff --git a/project/maps.js b/project/maps.js index d8bbc2c..59cf07a 100644 --- a/project/maps.js +++ b/project/maps.js @@ -121,6 +121,12 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "152": {"cls":"autotile","id":"autotile2"}, "153": {"cls":"autotile","id":"autotile3"}, "154": {"cls":"autotile","id":"autotile15"}, + "155": {"cls":"autotile","id":"autotile16"}, + "156": {"cls":"autotile","id":"autotile17"}, + "157": {"cls":"autotile","id":"autotile18"}, + "158": {"cls":"autotile","id":"autotile19"}, + "159": {"cls":"autotile","id":"autotile20"}, + "160": {"cls":"autotile","id":"autotile21"}, "161": {"cls":"terrains","id":"arrowUp","canPass":true,"cannotOut":["left","right","down"],"cannotIn":["up"]}, "162": {"cls":"terrains","id":"arrowDown","canPass":true,"cannotOut":["left","right","up"],"cannotIn":["down"]}, "163": {"cls":"terrains","id":"arrowLeft","canPass":true,"cannotOut":["up","down","right"],"cannotIn":["left"]}, @@ -277,7 +283,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "368": {"cls":"animates","id":"A368"}, "369": {"cls":"animates","id":"A369"}, "370": {"cls":"animates","id":"A370"}, - "371": {"cls":"animates","id":"A371"}, + "371": {"cls":"animates","id":"A371","doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"yellowKey":1}},"animate":1}, "372": {"cls":"animates","id":"A372"}, "373": {"cls":"animates","id":"A373"}, "374": {"cls":"animates","id":"A374"}, @@ -319,5 +325,77 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "410": {"cls":"npcs","id":"N410"}, "411": {"cls":"npc48","id":"N411"}, "412": {"cls":"enemys","id":"E412"}, - "413": {"cls":"npc48","id":"N413"} + "413": {"cls":"npc48","id":"N413"}, + "414": {"cls":"npcs","id":"N414"}, + "415": {"cls":"npcs","id":"N415"}, + "416": {"cls":"npc48","id":"N416"}, + "417": {"cls":"terrains","id":"T417"}, + "418": {"cls":"terrains","id":"T418"}, + "419": {"cls":"terrains","id":"T419"}, + "420": {"cls":"items","id":"I420"}, + "421": {"cls":"items","id":"I421"}, + "422": {"cls":"items","id":"I422"}, + "423": {"cls":"items","id":"I423"}, + "424": {"cls":"items","id":"I424"}, + "425": {"cls":"items","id":"I425"}, + "426": {"cls":"items","id":"I426"}, + "427": {"cls":"items","id":"I427"}, + "428": {"cls":"items","id":"I428"}, + "429": {"cls":"items","id":"I429"}, + "430": {"cls":"items","id":"I430"}, + "431": {"cls":"items","id":"I431"}, + "432": {"cls":"items","id":"I432"}, + "433": {"cls":"items","id":"I433"}, + "434": {"cls":"items","id":"I434"}, + "435": {"cls":"items","id":"I435"}, + "436": {"cls":"items","id":"I436"}, + "437": {"cls":"items","id":"I437"}, + "438": {"cls":"items","id":"I438"}, + "439": {"cls":"items","id":"I439"}, + "440": {"cls":"items","id":"I440"}, + "441": {"cls":"items","id":"I441"}, + "442": {"cls":"items","id":"I442"}, + "443": {"cls":"items","id":"I443"}, + "444": {"cls":"items","id":"I444"}, + "445": {"cls":"items","id":"I445"}, + "446": {"cls":"items","id":"I446"}, + "447": {"cls":"items","id":"I447"}, + "448": {"cls":"items","id":"I448"}, + "449": {"cls":"items","id":"I449"}, + "450": {"cls":"items","id":"I450"}, + "451": {"cls":"items","id":"I451"}, + "452": {"cls":"enemys","id":"E452"}, + "453": {"cls":"enemys","id":"E453"}, + "454": {"cls":"enemys","id":"E454"}, + "455": {"cls":"enemys","id":"E455"}, + "456": {"cls":"enemys","id":"E456"}, + "458": {"cls":"enemys","id":"E458"}, + "459": {"cls":"enemys","id":"E459"}, + "460": {"cls":"enemys","id":"E460"}, + "461": {"cls":"enemys","id":"E461"}, + "462": {"cls":"enemys","id":"E462"}, + "463": {"cls":"enemys","id":"E463"}, + "464": {"cls":"enemys","id":"E464"}, + "465": {"cls":"enemys","id":"E465"}, + "466": {"cls":"enemys","id":"E466"}, + "467": {"cls":"enemys","id":"E467"}, + "468": {"cls":"enemys","id":"E468"}, + "469": {"cls":"enemys","id":"E469"}, + "470": {"cls":"enemys","id":"E470"}, + "471": {"cls":"enemys","id":"E471"}, + "472": {"cls":"enemys","id":"E472"}, + "473": {"cls":"enemys","id":"E473"}, + "474": {"cls":"enemys","id":"E474"}, + "475": {"cls":"enemys","id":"E475"}, + "476": {"cls":"enemys","id":"E476"}, + "477": {"cls":"enemys","id":"E477"}, + "478": {"cls":"enemys","id":"E478"}, + "479": {"cls":"enemys","id":"E479"}, + "480": {"cls":"enemys","id":"E480"}, + "481": {"cls":"enemys","id":"E481"}, + "482": {"cls":"enemys","id":"E482"}, + "483": {"cls":"enemys","id":"E483"}, + "484": {"cls":"enemys","id":"E484"}, + "485": {"cls":"enemys","id":"E485"}, + "486": {"cls":"enemys","id":"E486"} } \ No newline at end of file diff --git a/project/materials/enemys.png b/project/materials/enemys.png index 7aefb46..79da287 100644 Binary files a/project/materials/enemys.png and b/project/materials/enemys.png differ diff --git a/project/materials/items.png b/project/materials/items.png index 37dd036..247d15a 100644 Binary files a/project/materials/items.png and b/project/materials/items.png differ diff --git a/project/materials/npc48.png b/project/materials/npc48.png index 68cb293..edac3de 100644 Binary files a/project/materials/npc48.png and b/project/materials/npc48.png differ diff --git a/project/materials/npcs.png b/project/materials/npcs.png index 13707df..426311a 100644 Binary files a/project/materials/npcs.png and b/project/materials/npcs.png differ diff --git a/project/materials/terrains.png b/project/materials/terrains.png index d2ea864..9258bb0 100644 Binary files a/project/materials/terrains.png and b/project/materials/terrains.png differ diff --git a/project/plugins.js b/project/plugins.js index fda87c9..97e47c3 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -1973,5 +1973,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = this.hyperbolicCosine = function (number) { return 0.5 * (Math.pow(Math.E, number) + Math.pow(Math.E, -number)); } +}, + "drawAnimate": function () { + // 在此增加新插件 + var dx = 0; + + core.registerAnimationFrame('picture_move', true, function () { + if (core.status.floorId == "MT11" || core.status.floorId == "MT12" || core.status.floorId == "MT13" || core.status.floorId == "MT14" || core.status.floorId == "MT15") { + core.drawImage('bg', 'lanxing.jpg', dx, 0); + core.drawImage('bg', 'lanxing.jpg', dx - 513, 0); + dx++; + dx %= 513; + } + }); } } \ No newline at end of file diff --git a/project/tilesets/tilesets.min.png b/project/tilesets/tilesets.min.png new file mode 100644 index 0000000..432442a Binary files /dev/null and b/project/tilesets/tilesets.min.png differ