diff --git a/project/bgms/feng.mp3 b/project/bgms/feng.mp3 new file mode 100644 index 0000000..b419dcd Binary files /dev/null and b/project/bgms/feng.mp3 differ diff --git a/project/bgms/lfmg.mp3 b/project/bgms/lfmg.mp3 new file mode 100644 index 0000000..9c8672a Binary files /dev/null and b/project/bgms/lfmg.mp3 differ diff --git a/project/data.js b/project/data.js index 29bfad4..1a3d22b 100644 --- a/project/data.js +++ b/project/data.js @@ -203,13 +203,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT168", "MT169", "MT170", - "MT171", - "MT172", - "MT173", "MT174", "MT175", - "MT176", - "MT177", "MT178", "MT179", "MT180", @@ -217,20 +212,47 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "BOSS6", "BOSS7", "MT182", - "MT183" + "MT183", + "JQ26", + "JQ27", + "JQ28", + "JQ29", + "JQ30", + "JQ31", + "JQ32", + "JQ33", + "JQ34", + "JQ35", + "JQ36", + "JQ37", + "JQ38", + "JQ39", + "JQ40", + "MT184" ], "floorPartitions": [], "images": [ + "1.jpeg", + "2.jpeg", + "3.png", + "4.jpg", + "45014e32bba3ce1204d65d508c581a3.jpg", + "5.jpg", + "5535368c2ec84c940a50322c476a457.jpg", + "6.jpeg", "641-e.jpg", "641-ee.jpg", "641-h.jpg", "641.jpg", "7.jpg", "8.jpg", + "9.jpeg", "Sky.jpg", "bear.png", "bg.jpg", + "c9aabd97530e12a0c344bc2cc5095dea.jpeg", "dragon.png", + "fencai.jpg", "haibian.jpg", "heian.png", "heidong.jpg", @@ -242,13 +264,23 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "hero3.png", "hero4.png", "hy2.jpg", + "keji.jpg", "lanxing.jpg", + "lieche.jpg", + "mancheng.jpg", "shanhe.jpg", + "shengdan.jpg", "smcw.jpg", "tianshan.jpg", "winskin.png", + "xiangcun.jpg", + "xiangjian.jpg", + "xinghe.jpeg", + "xueye.jpg", + "yinghua.jpg", "yueyuan.jpg", - "yuzhou.jpg" + "yuzhou.jpg", + "zhuangkuo.jpg" ], "tilesets": [ "magictower.png", @@ -323,6 +355,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "ep01.mp3", "ep29.mp3", "fate.mp3", + "feng.mp3", + "fxqf.mp3", "gaolikangzhi.mp3", "guduhy.mp3", "guimie.mp3", @@ -332,6 +366,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "hongri.mp3", "jimeiren.mp3", "kissTheRain.mp3", + "lfmg.mp3", "mao.mp3", "onenight.mp3", "qingchen.mp3", @@ -346,6 +381,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "xinqu.mp3", "xxcb.mp3", "yinghua.mp3", + "yinghuo.mp3", "yunitongzai.mp3", "zy.mp3" ], @@ -400,8 +436,12 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = }, "levelChoose": null, "equipName": [ - "武器", - "盾牌" + "能力", + "韧性", + "梦想", + "潜力", + "心境", + "凭证" ], "startBgm": "bewithyou.mp3", "styles": { @@ -863,14 +903,15 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "shops": [ { "id": "shop1", - "text": "\t[贪婪之神,moneyShop]勇敢的武士啊, 给我${20+2*flag:shop1}金币就可以:", - "textInList": "1F金币商店", + "text": "\t[时空商店,moneyShop]20金币", + "textInList": "时空商店", "mustEnable": false, "disablePreview": false, "choices": [ { - "text": "生命+800", - "need": "status:money>=20+2*flag:shop1", + "text": "2000攻击(限2次)", + "need": "item:I963>=18", + "condition": "flag:shop1<2", "action": [ { "type": "comment", @@ -878,37 +919,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = }, { "type": "setValue", - "name": "status:money", + "name": "item:I963", "operator": "-=", - "value": "20+2*flag:shop1" - }, - { - "type": "setValue", - "name": "flag:shop1", - "operator": "+=", - "value": "1" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "800" - } - ] - }, - { - "text": "攻击+4", - "need": "status:money>=20+2*flag:shop1", - "action": [ - { - "type": "comment", - "text": "新版商店中需要手动扣减金币和增加访问次数" - }, - { - "type": "setValue", - "name": "status:money", - "operator": "-=", - "value": "20+2*flag:shop1" + "value": "18" }, { "type": "setValue", @@ -920,7 +933,36 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "setValue", "name": "status:atk", "operator": "+=", - "value": "4" + "value": "2000" + } + ] + }, + { + "text": "2000防御(限2次)", + "need": "item:I963>=18", + "condition": "flag:shop2<2", + "action": [ + { + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" + }, + { + "type": "setValue", + "name": "item:I963", + "operator": "-=", + "value": "18" + }, + { + "type": "setValue", + "name": "flag:shop2", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "2000" } ] } @@ -928,56 +970,137 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = }, { "id": "shop2", - "text": "\t[贪婪之神,expShop]勇敢的武士啊, 给我一定经验就可以:", - "textInList": "1F经验商店", + "text": "\t[梦境商店,moneyShop]20金币", + "textInList": "梦境商店", "mustEnable": false, - "disablePreview": true, + "disablePreview": false, "choices": [ { - "text": "等级+1(100经验)", - "need": "status:exp>=100", + "text": "3000攻击(限3次)", + "need": "item:I963>=51", + "condition": "flag:shop3<3", "action": [ { - "type": "setValue", - "name": "status:exp", - "operator": "-=", - "value": "100" + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" }, { "type": "setValue", - "name": "status:lv", + "name": "item:I963", + "operator": "-=", + "value": "51" + }, + { + "type": "setValue", + "name": "flag:shop3", "operator": "+=", "value": "1" }, { "type": "setValue", - "name": "status:hp", + "name": "status:atk", "operator": "+=", - "value": "1000" + "value": "3000" + } + ] + }, + { + "text": "3000防御(限3次)", + "need": "item:I963>=51", + "condition": "flag:shop4<3", + "action": [ + { + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" + }, + { + "type": "setValue", + "name": "item:I963", + "operator": "-=", + "value": "51" + }, + { + "type": "setValue", + "name": "flag:shop4", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "3000" } ] } ] }, { - "id": "itemShop", - "item": true, - "textInList": "道具商店", + "id": "shop3", + "text": "\t[魔力水晶,moneyShop]20金币", + "textInList": "魔力水晶", "mustEnable": false, + "disablePreview": false, "choices": [ { - "id": "yellowKey", - "number": 10, - "money": "10", - "sell": "5" + "text": "10000攻击(限2次)", + "need": "item:I963>=260", + "condition": "flag:shop5<2", + "action": [ + { + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" + }, + { + "type": "setValue", + "name": "item:I963", + "operator": "-=", + "value": "260" + }, + { + "type": "setValue", + "name": "flag:shop5", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "10000" + } + ] + }, + { + "text": "10000防御(限2次)", + "need": "item:I963>=260", + "condition": "flag:shop6<2", + "action": [ + { + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" + }, + { + "type": "setValue", + "name": "item:I963", + "operator": "-=", + "value": "260" + }, + { + "type": "setValue", + "name": "flag:shop6", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "10000" + } + ] } ] - }, - { - "id": "keyShop", - "textInList": "回收钥匙商店", - "mustEnable": false, - "commonEvent": "回收钥匙商店" } ], "levelUp": [ @@ -1593,7 +1716,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "need": "1800", + "need": "2500", "title": "16岁半", "clear": true, "action": [ @@ -1601,19 +1724,300 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "setValue", "name": "status:hp", "operator": "+=", - "value": "0" + "value": "300000" }, { "type": "setValue", "name": "status:atk", "operator": "+=", - "value": "500" + "value": "1500" }, { "type": "setValue", "name": "status:def", "operator": "+=", - "value": "350" + "value": "1350" + } + ] + }, + { + "need": "800", + "title": "17岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "500000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + } + ] + }, + { + "need": "2400", + "title": "18岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1500" + } + ] + }, + { + "need": "3000", + "title": "18岁半", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "500000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "2000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "2000" + } + ] + }, + { + "need": "3000", + "title": "19岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "500000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "2000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "2000" + } + ] + }, + { + "need": "2000", + "title": "19岁半", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "200000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "800" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "800" + } + ] + }, + { + "need": "3000", + "title": "20岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "1200000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "4000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "4000" + } + ] + }, + { + "need": "1000", + "title": "20岁半", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "1000000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "2000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "2000" + } + ] + }, + { + "need": "2000", + "title": "21岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "3000000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "8000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "8000" + } + ] + }, + { + "need": "5000", + "title": "21岁半", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "8000000" + }, + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "50" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "30000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "30000" + } + ] + }, + { + "need": "8000", + "title": "22岁", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "100000000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "400000" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "443000" + } + ] + }, + { + "need": "3000", + "title": "22岁半", + "clear": true, + "action": [ + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000000" + }, + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "427400" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "428000" } ] } diff --git a/project/enemys.js b/project/enemys.js index 1a0f998..7fcefef 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -9,68 +9,68 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "redBat": {"name":"不知道的事","hp":190,"atk":85,"def":25,"money":0,"exp":1,"point":0,"special":[4]}, "vampire": {"name":"初二结束","hp":20000,"atk":5000,"def":2000,"money":0,"exp":200,"point":0,"special":[],"n":8}, "skeleton": {"name":"未知的好奇","hp":230,"atk":112,"def":32,"money":0,"exp":1,"point":0,"special":0}, - "skeletonCaptain": {"name":"骷髅队长","hp":5000,"atk":1288,"def":450,"money":0,"exp":20,"point":0,"special":0}, + "skeletonCaptain": {"name":"信息竞赛","hp":5000,"atk":1288,"def":450,"money":0,"exp":20,"point":0,"special":0}, "zombie": {"name":"陌生的同学","hp":480,"atk":300,"def":105,"money":0,"exp":1,"point":0,"special":0}, "zombieKnight": {"name":"兽人武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "rock": {"name":"行为的后果","hp":680,"atk":400,"def":140,"money":0,"exp":1,"point":0,"special":[]}, "bluePriest": {"name":"陌生感","hp":170,"atk":25,"def":25,"money":0,"exp":1,"point":null,"special":[2]}, "redPriest": {"name":"被误解","hp":450,"atk":100,"def":110,"money":0,"exp":1,"point":0,"special":[2]}, - "brownWizard": {"name":"初级巫师","hp":4000,"atk":400,"def":600,"money":0,"exp":6,"point":0,"special":[2],"value":0,"range":2}, + "brownWizard": {"name":"不同的环境","hp":4000,"atk":400,"def":600,"money":0,"exp":6,"point":0,"special":[2],"value":0,"range":2}, "redWizard": {"name":"最后的小学学习","hp":5000,"atk":400,"def":600,"money":0,"exp":10,"point":0,"special":[2],"value":200,"zoneSquare":true}, "swordsman": {"name":"双手剑士","hp":9000,"atk":6199,"def":2140,"money":0,"exp":10,"point":0,"special":[4]}, - "soldier": {"name":"冥战士","hp":3288,"atk":1099,"def":588,"money":0,"exp":6,"point":0,"special":0}, - "yellowKnight": {"name":"同学的","hp":1320,"atk":500,"def":250,"money":0,"exp":2,"point":0,"special":[1]}, - "redKnight": {"name":"红骑士","hp":5000,"atk":1388,"def":599,"money":0,"exp":6,"point":0,"special":[1]}, - "darkKnight": {"name":"黑骑士","hp":5800,"atk":1400,"def":699,"money":0,"exp":6,"point":0,"special":0}, - "blueKnight": {"name":"蓝骑士","hp":100,"atk":120,"def":0,"money":9,"exp":0,"point":0,"special":8}, + "soldier": {"name":"能力的积累","hp":3288,"atk":1099,"def":588,"money":0,"exp":6,"point":0,"special":0}, + "yellowKnight": {"name":"同学的反感","hp":1320,"atk":500,"def":250,"money":0,"exp":2,"point":0,"special":[1]}, + "redKnight": {"name":"艰苦的环境","hp":5000,"atk":1388,"def":599,"money":0,"exp":6,"point":0,"special":[1]}, + "darkKnight": {"name":"家中的困难","hp":5800,"atk":1400,"def":699,"money":0,"exp":6,"point":0,"special":0}, + "blueKnight": {"name":"蓝骑士","hp":100000,"atk":62000,"def":30000,"money":0,"exp":20,"point":0,"special":[1]}, "goldSlime": {"name":"不受控制的行为","hp":1288,"atk":460,"def":245,"money":0,"exp":2,"point":0,"special":0}, "poisonSkeleton": {"name":"紫骷髅","hp":50,"atk":60,"def":70,"money":80,"exp":0,"point":0,"special":13}, "poisonBat": {"name":"紫蝙蝠","hp":100,"atk":120,"def":0,"money":14,"exp":0,"point":0,"special":13}, - "skeletonPriest": {"name":"骷髅法师","hp":2000,"atk":300,"def":500,"money":0,"exp":6,"point":0,"special":[2],"value":20}, + "skeletonPriest": {"name":"编程学习","hp":2000,"atk":300,"def":500,"money":0,"exp":6,"point":0,"special":[2],"value":20}, "skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "goldHornSlime": {"name":"隐藏的天赋","hp":2288,"atk":700,"def":320,"money":0,"exp":4,"point":0,"special":0}, "silverSlime": {"name":"小学的感觉","hp":800,"atk":420,"def":200,"money":0,"exp":2,"point":0,"special":[]}, - "whiteHornSlime": {"name":"尖角怪","hp":1588,"atk":600,"def":274,"money":0,"exp":3,"point":0,"special":0}, + "whiteHornSlime": {"name":"恶作剧的习惯","hp":1588,"atk":600,"def":274,"money":0,"exp":3,"point":0,"special":0}, "redSwordsman": {"name":"剑王","hp":22888,"atk":10999,"def":5266,"money":0,"exp":10,"point":0,"special":[6],"n":4}, "poisonZombie": {"name":"莫名的恐惧","hp":300,"atk":110,"def":38,"money":0,"exp":1,"point":0,"special":[]}, "octopus": {"name":"血影","hp":80000,"atk":24000,"def":8000,"money":0,"exp":100,"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}, + "princessEnemy": {"name":"假公主","hp":1500000,"atk":600000,"def":250000,"money":0,"exp":40,"point":0,"special":0}, + "angel": {"name":"大二结束","hp":3500000,"atk":150000,"def":200000,"money":0,"exp":600,"point":0,"special":[2]}, "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}, + "steelGuard": {"name":"铁守卫","hp":5000000,"atk":700000,"def":250000,"money":0,"exp":500,"point":0,"special":[],"value":20}, + "evilBat": {"name":"","hp":160000,"atk":50000,"def":18000,"money":0,"exp":100,"point":0,"special":0}, "silverSlimelord": {"name":"银怪王","hp":10800,"atk":6188,"def":2120,"money":0,"exp":10,"point":0,"special":0}, "goldSlimelord": {"name":"金怪王","hp":12000,"atk":6400,"def":2175,"money":0,"exp":10,"point":0,"special":0}, - "skeletonWarrior": {"name":"骷髅士兵","hp":3000,"atk":999,"def":400,"money":0,"exp":5,"point":0,"special":0}, - "whiteSlimeman": {"name":"水银战士","hp":4000,"atk":1288,"def":500,"money":0,"exp":6,"point":0,"special":0}, + "skeletonWarrior": {"name":"老师的阻碍","hp":3000,"atk":999,"def":400,"money":0,"exp":5,"point":0,"special":0}, + "whiteSlimeman": {"name":"逐渐流逝的童年","hp":4000,"atk":1288,"def":500,"money":0,"exp":6,"point":0,"special":0}, "slimeman": {"name":"影子战士","hp":100,"atk":0,"def":0,"money":11,"exp":0,"point":0,"special":[9],"atkValue":2,"defValue":3}, - "yellowGateKeeper": {"name":"初级卫兵","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":0}, - "blueGateKeeper": {"name":"中级卫兵","hp":3500,"atk":966,"def":488,"money":0,"exp":5,"point":0,"special":0}, - "redGateKeeper": {"name":"高级卫兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, - "magicMaster": {"name":"黑暗大法师","hp":5000,"atk":600,"def":600,"money":0,"exp":40,"point":0,"special":[2],"value":null,"add":true,"notBomb":true}, + "yellowGateKeeper": {"name":"初级卫兵","hp":1000000,"atk":200000,"def":150000,"money":0,"exp":40,"point":0,"special":[]}, + "blueGateKeeper": {"name":"竞赛的困难","hp":3500,"atk":966,"def":488,"money":0,"exp":5,"point":0,"special":0}, + "redGateKeeper": {"name":"高级卫兵","hp":1000000,"atk":234000,"def":150000,"money":0,"exp":40,"point":0,"special":0}, + "magicMaster": {"name":"最后的小学时光","hp":5000,"atk":600,"def":600,"money":0,"exp":40,"point":0,"special":[2],"value":null,"add":true,"notBomb":true}, "devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "dragon": {"name":"魔龙","hp":100000,"atk":30000,"def":15000,"money":0,"exp":100,"point":0,"special":0,"bigImage":"dragon_0.png"}, - "skeletonKnight": {"name":"骷髅武士","hp":4500,"atk":1250,"def":520,"money":0,"exp":6,"point":0,"special":0}, + "skeletonKnight": {"name":"学习的加紧","hp":4500,"atk":1250,"def":520,"money":0,"exp":6,"point":0,"special":0}, "skeletonPresbyter": {"name":"骷髅巫师","hp":10500,"atk":2000,"def":2150,"money":0,"exp":10,"point":0,"special":[2]}, "ironRock": {"name":"铁面人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "grayRock": {"name":"难以改变的心境","hp":1800,"atk":611,"def":388,"money":0,"exp":4,"point":0,"special":0}, - "yellowPriest": {"name":"中级法师","hp":3500,"atk":350,"def":500,"money":0,"exp":6,"point":0,"special":[2]}, - "evilPrincess": {"name":"痛苦魔女","hp":5000,"atk":1488,"def":666,"money":0,"exp":30,"point":0,"special":[]}, + "yellowPriest": {"name":"越发明显的天赋","hp":3500,"atk":350,"def":500,"money":0,"exp":6,"point":0,"special":[2]}, + "evilPrincess": {"name":"最后的儿童节","hp":5000,"atk":1488,"def":666,"money":0,"exp":30,"point":0,"special":[]}, "blademaster": {"name":"小学毕业","hp":8000,"atk":1500,"def":600,"money":0,"exp":100,"point":0,"special":[5]}, "evilFairy": {"name":"遗忘的记忆","hp":580,"atk":130,"def":40,"money":0,"exp":20,"point":0,"special":0}, "greenKnight": {"name":"众人的反感","hp":750,"atk":450,"def":120,"money":0,"exp":1,"point":0,"special":[1]}, "bowman": {"name":"好奇心的驱动","hp":540,"atk":380,"def":100,"money":0,"exp":1,"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}, + "watcherSlime": {"name":"邪眼怪","hp":100000,"atk":60000,"def":30000,"money":0,"exp":20,"point":0,"special":[]}, + "devilKnight": {"name":"恶灵骑士","hp":2300000,"atk":1000000,"def":300000,"money":0,"exp":60,"point":0,"special":[1]}, + "grayPriest": {"name":"混沌法师","hp":1000000,"atk":80000,"def":200000,"money":0,"exp":40,"point":0,"special":[2]}, "greenGateKeeper": {"name":"卫兵队长","hp":8000,"atk":2500,"def":1500,"money":0,"exp":9,"point":0,"special":0}, "ghostSoldier": {"name":"陌生的环境","hp":200,"atk":100,"def":30,"money":0,"exp":1,"point":0,"special":[]}, - "frostBat": {"name":"寒蝙蝠","hp":2288,"atk":777,"def":300,"money":0,"exp":4,"point":0,"special":[4]}, - "blackKing": {"name":"黑衣魔王","hp":1000,"atk":500,"def":0,"money":1000,"exp":1000,"point":0,"special":0,"notBomb":true}, - "yellowKing": {"name":"小学分班","hp":5000,"atk":1200,"def":600,"money":0,"exp":20,"point":0,"special":0}, + "frostBat": {"name":"不安分的心性","hp":2288,"atk":777,"def":300,"money":0,"exp":4,"point":0,"special":[4]}, + "blackKing": {"name":"黑衣魔王","hp":3000000,"atk":500000,"def":200000,"money":0,"exp":300,"point":0,"special":0,"notBomb":true}, + "yellowKing": {"name":"小学毕业年的到来","hp":5000,"atk":1200,"def":600,"money":0,"exp":20,"point":0,"special":0}, "greenKing": {"name":"青衣武士","hp":6500,"atk":2700,"def":1388,"money":0,"exp":9,"point":0,"special":0}, "redKing": {"name":"初一结束","hp":15000,"atk":3000,"def":1288,"money":0,"exp":100,"point":0,"special":0}, "blueKing": {"name":"白衣武士","hp":100,"atk":120,"def":0,"money":17,"exp":0,"point":0,"special":16}, @@ -81,8 +81,8 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}, "bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}, "bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}, - "E343": {"name":"高考带来的压力","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"notBomb":true}, - "E344": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"bigImage":"heian.png"}, + "E343": {"name":"高考带来的压力","hp":1000000,"atk":133622,"def":42888,"money":0,"exp":2000,"point":0,"special":[32],"notBomb":true}, + "E344": {"name":"新敌人","hp":250000,"atk":70000,"def":25000,"money":0,"exp":100,"point":0,"special":[],"bigImage":"heian.png"}, "E345": {"name":"特长生考试","hp":35000,"atk":5500,"def":2500,"money":0,"exp":600,"point":0,"special":[31],"notBomb":true}, "E346": {"name":"他人带来的心魔","hp":25000,"atk":3250,"def":800,"money":0,"exp":50,"point":0,"special":[28],"notBomb":true}, "E347": {"name":"家庭的压力","hp":200000,"atk":18888,"def":6000,"money":0,"exp":135,"point":0,"special":[29],"notBomb":true}, @@ -92,19 +92,19 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E351": {"name":"轻微的痛感","hp":120,"atk":38,"def":4,"money":0,"exp":1,"point":0,"special":[]}, "E352": {"name":"说话的接触","hp":150,"atk":51,"def":5,"money":0,"exp":1,"point":0,"special":[]}, "E353": {"name":"不明的难受","hp":140,"atk":45,"def":5,"money":0,"exp":1,"point":0,"special":[]}, - "E354": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E355": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E356": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E357": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E358": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E354": {"name":"新敌人","hp":800000,"atk":400000,"def":300000,"money":0,"exp":40,"point":0,"special":[]}, + "E355": {"name":"新敌人","hp":200000,"atk":40000,"def":20000,"money":0,"exp":100,"point":0,"special":[]}, + "E356": {"name":"新敌人","hp":200000,"atk":48000,"def":20000,"money":0,"exp":100,"point":0,"special":[1,5]}, + "E357": {"name":"挂科","hp":2000000,"atk":300000,"def":99999,"money":0,"exp":100,"point":0,"special":[]}, + "E358": {"name":"新敌人","hp":6000000,"atk":2000000,"def":700000,"money":0,"exp":60,"point":0,"special":[]}, "E359": {"name":"老师的耐性","hp":500,"atk":330,"def":100,"money":0,"exp":1,"point":0,"special":[]}, "E360": {"name":"未知的行为","hp":600,"atk":400,"def":120,"money":0,"exp":1,"point":0,"special":[]}, - "E361": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E361": {"name":"新敌人","hp":115000,"atk":35000,"def":12000,"money":0,"exp":20,"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":[]}, + "E455": {"name":"新敌人","hp":20000000,"atk":3500000,"def":1700000,"money":0,"exp":100,"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":[]}, @@ -115,12 +115,12 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E464": {"name":"新敌人","hp":5200,"atk":2699,"def":1288,"money":0,"exp":9,"point":0,"special":[]}, "E465": {"name":"新敌人","hp":14000,"atk":6800,"def":3200,"money":0,"exp":10,"point":0,"special":[]}, "E466": {"name":"新敌人","hp":22500,"atk":10000,"def":3750,"money":0,"exp":10,"point":0,"special":[]}, - "E467": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E468": {"name":"新敌人","hp":2888,"atk":235,"def":333,"money":0,"exp":4,"point":0,"special":[2]}, + "E467": {"name":"新敌人","hp":100000,"atk":40000,"def":14000,"money":0,"exp":20,"point":0,"special":[]}, + "E468": {"name":"捣蛋的爱好","hp":2888,"atk":235,"def":333,"money":0,"exp":4,"point":0,"special":[2]}, "E469": {"name":"记忆深处","hp":440,"atk":235,"def":71,"money":0,"exp":1,"point":0,"special":[]}, "E470": {"name":"新敌人","hp":12000,"atk":2500,"def":2800,"money":0,"exp":10,"point":0,"special":[2]}, "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":[]}, + "E472": {"name":"新敌人","hp":100000,"atk":40000,"def":20000,"money":0,"exp":20,"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":30000,"atk":12000,"def":4000,"money":0,"exp":10,"point":0,"special":[]}, @@ -129,8 +129,8 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E478": {"name":"新敌人","hp":14000,"atk":9000,"def":3050,"money":0,"exp":10,"point":0,"special":[]}, "E479": {"name":"新敌人","hp":20000,"atk":8888,"def":3288,"money":0,"exp":10,"point":0,"special":[]}, "E480": {"name":"新敌人","hp":25000,"atk":4000,"def":4000,"money":0,"exp":10,"point":0,"special":[2]}, - "E481": {"name":"新敌人","hp":50000,"atk":15000,"def":5000,"money":0,"exp":100,"point":0,"special":[]}, - "E482": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E481": {"name":"新敌人","hp":50000,"atk":15000,"def":5000,"money":0,"exp":100,"point":0,"special":[],"notBomb":true}, + "E482": {"name":"新敌人","hp":1800000,"atk":400000,"def":180000,"money":0,"exp":40,"point":0,"special":[]}, "E483": {"name":"幼儿园的压迫","hp":1000,"atk":270,"def":60,"money":0,"exp":35,"point":0,"special":[]}, "E484": {"name":"新敌人","hp":42000,"atk":22500,"def":8200,"money":0,"exp":10,"point":0,"special":[5]}, "E485": {"name":"新敌人","hp":42850,"atk":19500,"def":7000,"money":0,"exp":10,"point":0,"special":[4]}, @@ -138,7 +138,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E457": {"name":"新环境的影响","hp":430,"atk":260,"def":90,"money":0,"exp":1,"point":0,"special":[]}, "E487": {"name":"小学的滋味","hp":460,"atk":275,"def":100,"money":0,"exp":1,"point":0,"special":[]}, "E488": {"name":"不一样的滋味","hp":580,"atk":380,"def":110,"money":0,"exp":1,"point":0,"special":[]}, - "E489": {"name":"新敌人","hp":1600,"atk":540,"def":280,"money":0,"exp":3,"point":0,"special":[]}, + "E489": {"name":"难调解的矛盾","hp":1600,"atk":540,"def":280,"money":0,"exp":3,"point":0,"special":[]}, "E490": {"name":"新敌人","hp":12500,"atk":7000,"def":2000,"money":0,"exp":10,"point":0,"special":[]}, "E491": {"name":"新敌人","hp":5400,"atk":2488,"def":1244,"money":0,"exp":9,"point":0,"special":[]}, "E492": {"name":"新敌人","hp":20000,"atk":12000,"def":5000,"money":0,"exp":10,"point":0,"special":[]}, @@ -146,21 +146,21 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E494": {"name":"新敌人","hp":6000,"atk":400,"def":1300,"money":0,"exp":9,"point":0,"special":[2]}, "E495": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E496": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E497": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E498": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E499": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E500": {"name":"新敌人","hp":15000,"atk":8000,"def":3000,"money":0,"exp":10,"point":0,"special":0}, - "E501": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E497": {"name":"新敌人","hp":450000,"atk":138888,"def":58000,"money":0,"exp":30,"point":0,"special":[]}, + "E498": {"name":"新敌人","hp":2500000,"atk":1000000,"def":400000,"money":0,"exp":60,"point":0,"special":[]}, + "E499": {"name":"新敌人","hp":1200000,"atk":900000,"def":340000,"money":0,"exp":60,"point":0,"special":[]}, + "E500": {"name":"新敌人","hp":15000,"atk":8000,"def":3000,"money":0,"exp":10,"point":0,"special":[]}, + "E501": {"name":"新敌人","hp":400000,"atk":128000,"def":60000,"money":0,"exp":20,"point":0,"special":[]}, "E502": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E503": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E503": {"name":"新敌人","hp":600000,"atk":70000,"def":70000,"money":0,"exp":30,"point":0,"special":[2]}, "E504": {"name":"新敌人","hp":10000,"atk":5000,"def":2000,"money":0,"exp":10,"point":0,"special":[]}, - "E505": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E506": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E507": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E508": {"name":"新敌人","hp":2588,"atk":999,"def":477,"money":0,"exp":6,"point":0,"special":[4]}, + "E505": {"name":"新敌人","hp":800000,"atk":200000,"def":75000,"money":0,"exp":30,"point":0,"special":[]}, + "E506": {"name":"新敌人","hp":1200000,"atk":225000,"def":80000,"money":0,"exp":30,"point":0,"special":[]}, + "E507": {"name":"新敌人","hp":3000000,"atk":1250000,"def":400000,"money":0,"exp":60,"point":0,"special":[6],"n":8}, + "E508": {"name":"心中的记忆","hp":2588,"atk":999,"def":477,"money":0,"exp":6,"point":0,"special":[4]}, "E509": {"name":"新敌人","hp":16000,"atk":8000,"def":3144,"money":0,"exp":10,"point":0,"special":[]}, - "E510": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E511": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E510": {"name":"新敌人","hp":800000,"atk":80000,"def":80000,"money":0,"exp":30,"point":0,"special":[2]}, + "E511": {"name":"新敌人","hp":8000000,"atk":3000000,"def":999999,"money":0,"exp":60,"point":0,"special":[]}, "E512": {"name":"新敌人","hp":7000,"atk":600,"def":1400,"money":0,"exp":9,"point":0,"special":[2]}, "E513": {"name":"新敌人","hp":13800,"atk":2500,"def":2500,"money":0,"exp":10,"point":0,"special":[2]}, "E514": {"name":"新敌人","hp":15000,"atk":3200,"def":3200,"money":0,"exp":10,"point":0,"special":[2]}, @@ -168,67 +168,67 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E516": {"name":"新敌人","hp":6000,"atk":2650,"def":1350,"money":0,"exp":9,"point":0,"special":[]}, "E517": {"name":"新敌人","hp":50000,"atk":18888,"def":8888,"money":0,"exp":10,"point":0,"special":[]}, "E518": {"name":"新敌人","hp":32000,"atk":18000,"def":8000,"money":0,"exp":10,"point":0,"special":[]}, - "E519": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E520": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E521": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E519": {"name":"新敌人","hp":888888,"atk":424444,"def":208888,"money":0,"exp":40,"point":0,"special":[]}, + "E520": {"name":"新敌人","hp":1000000,"atk":440000,"def":200000,"money":0,"exp":40,"point":0,"special":[1]}, + "E521": {"name":"新敌人","hp":600000,"atk":146000,"def":65000,"money":0,"exp":30,"point":0,"special":[6],"n":4}, "E522": {"name":"新敌人","hp":50000,"atk":10000,"def":8500,"money":0,"exp":10,"point":0,"special":[2]}, "E523": {"name":"老师的厌恶","hp":1000,"atk":120,"def":240,"money":0,"exp":2,"point":0,"special":[2]}, "E524": {"name":"新敌人","hp":15000,"atk":7320,"def":2400,"money":0,"exp":10,"point":0,"special":[]}, - "E525": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E525": {"name":"新敌人","hp":450000,"atk":45000,"def":60000,"money":0,"exp":30,"point":0,"special":[2]}, "E526": {"name":"新敌人","hp":60000,"atk":25000,"def":10000,"money":0,"exp":10,"point":0,"special":[]}, - "E527": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E528": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E529": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E530": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E527": {"name":"新敌人","hp":2500000,"atk":1200000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E528": {"name":"新敌人","hp":1800000,"atk":700000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E529": {"name":"新敌人","hp":1200000,"atk":200000,"def":250000,"money":0,"exp":60,"point":0,"special":[2]}, + "E530": {"name":"新敌人","hp":80000,"atk":50000,"def":15000,"money":0,"exp":20,"point":0,"special":[]}, "E531": {"name":"新敌人","hp":15000,"atk":8000,"def":3088,"money":0,"exp":10,"point":0,"special":[6],"value":null,"n":4}, - "E532": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E532": {"name":"新敌人","hp":1000000,"atk":500000,"def":200000,"money":0,"exp":40,"point":0,"special":[]}, "E533": {"name":"新敌人","hp":40000,"atk":18000,"def":7600,"money":0,"exp":10,"point":0,"special":[6],"n":4}, "E534": {"name":"新敌人","hp":12000,"atk":6800,"def":3000,"money":0,"exp":10,"point":0,"special":[]}, "E535": {"name":"新敌人","hp":24000,"atk":12888,"def":5433,"money":0,"exp":10,"point":0,"special":[]}, "E536": {"name":"新敌人","hp":24888,"atk":5000,"def":5599,"money":0,"exp":10,"point":0,"special":[2]}, "E537": {"name":"新敌人","hp":45000,"atk":17233,"def":8500,"money":0,"exp":10,"point":0,"special":[]}, "E538": {"name":"同学家长的怨念","hp":1000,"atk":500,"def":150,"money":0,"exp":1,"point":0,"special":[]}, - "E539": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E540": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E541": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E539": {"name":"新敌人","hp":1500000,"atk":999999,"def":300000,"money":0,"exp":60,"point":0,"special":[6],"n":4}, + "E540": {"name":"新敌人","hp":3000000,"atk":300000,"def":300000,"money":0,"exp":60,"point":0,"special":[2]}, + "E541": {"name":"新敌人","hp":2000000,"atk":320000,"def":360000,"money":0,"exp":60,"point":0,"special":[2]}, "E542": {"name":"新敌人","hp":50000,"atk":18500,"def":8000,"money":0,"exp":10,"point":0,"special":[]}, "E543": {"name":"新敌人","hp":34000,"atk":20000,"def":7500,"money":0,"exp":10,"point":0,"special":[]}, "E544": {"name":"新敌人","hp":80000,"atk":30000,"def":12000,"money":0,"exp":10,"point":0,"special":[]}, - "E545": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E546": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E547": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E548": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E549": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E550": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E551": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E552": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E545": {"name":"新敌人","hp":3500000,"atk":1670000,"def":550000,"money":0,"exp":60,"point":0,"special":[]}, + "E546": {"name":"新敌人","hp":1600000,"atk":800000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E547": {"name":"新敌人","hp":3000000,"atk":1500000,"def":400000,"money":0,"exp":60,"point":0,"special":[]}, + "E548": {"name":"新敌人","hp":1000000,"atk":375000,"def":200000,"money":0,"exp":40,"point":0,"special":[33]}, + "E549": {"name":"新敌人","hp":2500000,"atk":900000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E550": {"name":"新敌人","hp":1500000,"atk":1000000,"def":250000,"money":0,"exp":60,"point":0,"special":[]}, + "E551": {"name":"新敌人","hp":999999,"atk":378888,"def":189620,"money":0,"exp":40,"point":0,"special":[6],"n":4}, + "E552": {"name":"新敌人","hp":1200000,"atk":450000,"def":240000,"money":0,"exp":40,"point":0,"special":[]}, "E607": {"name":"新敌人","hp":10000,"atk":1400,"def":2000,"money":0,"exp":10,"point":0,"special":[2]}, "E608": {"name":"新敌人","hp":5200,"atk":1644,"def":900,"money":0,"exp":8,"point":0,"special":[]}, "E609": {"name":"新敌人","hp":8000,"atk":4288,"def":1888,"money":0,"exp":10,"point":0,"special":[]}, - "E610": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E611": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E612": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E613": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E614": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E615": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E616": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E610": {"name":"新敌人","hp":300000,"atk":100000,"def":50000,"money":0,"exp":20,"point":0,"special":[]}, + "E611": {"name":"新敌人","hp":680000,"atk":160000,"def":70000,"money":0,"exp":30,"point":0,"special":[1,4]}, + "E612": {"name":"新敌人","hp":500000,"atk":140000,"def":60000,"money":0,"exp":30,"point":0,"special":[1]}, + "E613": {"name":"新敌人","hp":1400000,"atk":300000,"def":160000,"money":0,"exp":40,"point":0,"special":[]}, + "E614": {"name":"新敌人","hp":150000,"atk":25000,"def":35000,"money":0,"exp":20,"point":0,"special":[2]}, + "E615": {"name":"新敌人","hp":120000,"atk":70000,"def":32000,"money":0,"exp":20,"point":0,"special":[]}, + "E616": {"name":"新敌人","hp":115000,"atk":63000,"def":34000,"money":0,"exp":20,"point":0,"special":[]}, "E617": {"name":"新敌人","hp":7000,"atk":3700,"def":2000,"money":0,"exp":10,"point":0,"special":[]}, - "E618": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E619": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E618": {"name":"新敌人","hp":350000,"atk":79999,"def":45000,"money":0,"exp":20,"point":0,"special":[]}, + "E619": {"name":"新敌人","hp":228000,"atk":66666,"def":40000,"money":0,"exp":20,"point":0,"special":[]}, "E620": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E621": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E621": {"name":"新敌人","hp":128000,"atk":64000,"def":30400,"money":0,"exp":20,"point":0,"special":[]}, "E622": {"name":"新敌人","hp":30000,"atk":13888,"def":5999,"money":0,"exp":10,"point":0,"special":[]}, - "E623": {"name":"新敌人","hp":2500,"atk":925,"def":288,"money":0,"exp":4,"point":0,"special":[]}, + "E623": {"name":"同学的反感","hp":2500,"atk":925,"def":288,"money":0,"exp":4,"point":0,"special":[]}, "E624": {"name":"新敌人","hp":18000,"atk":7500,"def":2500,"money":0,"exp":10,"point":0,"special":[]}, - "E625": {"name":"新敌人","hp":1800,"atk":800,"def":300,"money":0,"exp":4,"point":0,"special":[]}, - "E626": {"name":"新敌人","hp":2188,"atk":822,"def":307,"money":0,"exp":4,"point":0,"special":[]}, - "E627": {"name":"新敌人","hp":2699,"atk":899,"def":366,"money":0,"exp":4,"point":0,"special":[]}, + "E625": {"name":"朦胧的爱好","hp":1800,"atk":800,"def":300,"money":0,"exp":4,"point":0,"special":[]}, + "E626": {"name":"渐显的兴趣","hp":2188,"atk":822,"def":307,"money":0,"exp":4,"point":0,"special":[]}, + "E627": {"name":"明显的进步","hp":2699,"atk":899,"def":366,"money":0,"exp":4,"point":0,"special":[]}, "E628": {"name":"新敌人","hp":8000,"atk":2500,"def":1050,"money":0,"exp":8,"point":0,"special":[]}, "E629": {"name":"新敌人","hp":6000,"atk":2200,"def":1000,"money":0,"exp":8,"point":0,"special":[]}, - "E630": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E630": {"name":"新敌人","hp":1000000,"atk":150000,"def":200000,"money":0,"exp":40,"point":0,"special":[2]}, "E631": {"name":"新敌人","hp":100,"atk":12300,"def":10000,"money":0,"exp":10,"point":0,"special":[3]}, - "E632": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E633": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E632": {"name":"新敌人","hp":1000000,"atk":300000,"def":200000,"money":0,"exp":40,"point":0,"special":[]}, + "E633": {"name":"新敌人","hp":1000000,"atk":700000,"def":200000,"money":0,"exp":60,"point":0,"special":[]}, "E634": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E775": {"name":"新敌人","hp":7000,"atk":3720,"def":1768,"money":0,"exp":10,"point":0,"special":[]}, "E776": {"name":"新敌人","hp":5400,"atk":1920,"def":888,"money":0,"exp":8,"point":0,"special":[]}, @@ -249,20 +249,41 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E791": {"name":"新敌人","hp":8200,"atk":4000,"def":1850,"money":0,"exp":10,"point":0,"special":[]}, "E792": {"name":"新敌人","hp":7000,"atk":2788,"def":1428,"money":0,"exp":9,"point":0,"special":[5]}, "E798": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E810": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E811": {"name":"北大的签约","hp":999999,"atk":88888,"def":60000,"money":0,"exp":15,"point":0,"special":[30],"bigImage":"heiniao.png","notBomb":true}, + "E810": {"name":"秋招的困境","hp":80000000,"atk":4000000,"def":1000000,"money":0,"exp":2500,"point":0,"special":[33]}, + "E811": {"name":"北大的签约","hp":1444444,"atk":88888,"def":73888,"money":0,"exp":600,"point":0,"special":[30],"bigImage":"heiniao.png","notBomb":true}, "E806": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E807": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E808": {"name":"新敌人","hp":40000,"atk":14000,"def":6400,"money":0,"exp":10,"point":0,"special":[]}, - "E809": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E812": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E813": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E814": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E815": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E816": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E817": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E818": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E819": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E820": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E821": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} + "E809": {"name":"新敌人","hp":80000,"atk":30000,"def":12000,"money":0,"exp":20,"point":0,"special":[]}, + "E812": {"name":"新敌人","hp":150000,"atk":72000,"def":35000,"money":0,"exp":20,"point":0,"special":[1,4]}, + "E813": {"name":"新敌人","hp":300000,"atk":100000,"def":50000,"money":0,"exp":20,"point":0,"special":[1,5]}, + "E814": {"name":"新敌人","hp":1100000,"atk":250000,"def":120000,"money":0,"exp":40,"point":0,"special":[]}, + "E815": {"name":"新敌人","hp":1000000,"atk":250000,"def":150000,"money":0,"exp":40,"point":0,"special":[]}, + "E816": {"name":"新敌人","hp":80000,"atk":40000,"def":15000,"money":0,"exp":20,"point":0,"special":[6],"n":4}, + "E817": {"name":"新敌人","hp":75000,"atk":26800,"def":10000,"money":0,"exp":20,"point":0,"special":[5]}, + "E818": {"name":"新敌人","hp":108000,"atk":32000,"def":11500,"money":0,"exp":20,"point":0,"special":[]}, + "E819": {"name":"新敌人","hp":100000,"atk":10000,"def":10000,"money":0,"exp":20,"point":0,"special":[2]}, + "E820": {"name":"新敌人","hp":100000,"atk":50000,"def":12000,"money":0,"exp":20,"point":0,"special":[]}, + "E821": {"name":"新敌人","hp":100000,"atk":45000,"def":30000,"money":0,"exp":20,"point":0,"special":[]}, + "E828": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E829": {"name":"未来的未知","hp":150000000,"atk":8000000,"def":2000000,"money":0,"exp":0,"point":0,"special":[19]}, + "E918": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E919": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E920": {"name":"新敌人","hp":12000000,"atk":3000000,"def":1500000,"money":0,"exp":100,"point":0,"special":[]}, + "E921": {"name":"新敌人","hp":1200000,"atk":265000,"def":140000,"money":0,"exp":40,"point":0,"special":[1]}, + "E922": {"name":"新敌人","hp":1200000,"atk":320000,"def":170000,"money":0,"exp":40,"point":0,"special":[5]}, + "E923": {"name":"新敌人","hp":15000000,"atk":3200000,"def":1600000,"money":0,"exp":100,"point":0,"special":[]}, + "E924": {"name":"新敌人","hp":600000,"atk":150000,"def":70000,"money":0,"exp":30,"point":0,"special":[]}, + "E925": {"name":"新敌人","hp":1000000,"atk":235000,"def":115000,"money":0,"exp":40,"point":0,"special":[]}, + "E926": {"name":"新敌人","hp":150000,"atk":45000,"def":20000,"money":0,"exp":20,"point":0,"special":[]}, + "E927": {"name":"新敌人","hp":1320000,"atk":280000,"def":150000,"money":0,"exp":40,"point":0,"special":[]}, + "E949": {"name":"新敌人","hp":1500000,"atk":650000,"def":300000,"money":0,"exp":60,"point":0,"special":[]}, + "E950": {"name":"新敌人","hp":1500000,"atk":250000,"def":300000,"money":0,"exp":60,"point":0,"special":[2]}, + "E954": {"name":"新敌人","hp":2000000,"atk":300000,"def":150000,"money":0,"exp":200,"point":0,"special":[]}, + "E955": {"name":"新敌人","hp":2000000,"atk":100000,"def":150000,"money":0,"exp":200,"point":0,"special":[2]}, + "E956": {"name":"新敌人","hp":3000000,"atk":300000,"def":150000,"money":0,"exp":200,"point":0,"special":[]}, + "E957": {"name":"新敌人","hp":2800000,"atk":400000,"def":200000,"money":0,"exp":200,"point":0,"special":[]}, + "E958": {"name":"新敌人","hp":10000000,"atk":800000,"def":1500000,"money":0,"exp":100,"point":0,"special":[2]}, + "E959": {"name":"新敌人","hp":3600000,"atk":1800000,"def":600000,"money":0,"exp":60,"point":0,"special":[1,4]}, + "E960": {"name":"新敌人","hp":6000000,"atk":2888888,"def":1000000,"money":0,"exp":100,"point":0,"special":[6],"n":9} } \ No newline at end of file diff --git a/project/floors/BOSS4.js b/project/floors/BOSS4.js index 131e960..921c1f7 100644 --- a/project/floors/BOSS4.js +++ b/project/floors/BOSS4.js @@ -42,16 +42,7 @@ main.floors.BOSS4= "parallelDo": "", "events": {}, "changeFloor": {}, - "beforeBattle": { - "6,2": [ - { - "type": "setValue", - "name": "status:exp", - "operator": "-=", - "value": "15" - } - ] - }, + "beforeBattle": {}, "afterBattle": { "6,2": [ { @@ -73,24 +64,12 @@ main.floors.BOSS4= "value": "5" }, { - "type": "setValue", - "name": "status:exp", - "operator": "+=", - "value": "3" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "item:yellowKey*120000+item:blueKey*300000+item:redKey*900000+item:pickaxe*1800000" - }, - { - "type": "function", - "function": "function(){\ncore.events.checkLvUp()\n}" - }, - { - "type": "win", - "reason": "" + "type": "changeFloor", + "floorId": "MT121", + "loc": [ + 6, + 10 + ] } ] }, @@ -107,9 +86,9 @@ main.floors.BOSS4= [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], - [300253,300253,300253,300253,300253,553,438,553,300253,300253,300253,300253,300253], - [300253,300253,300253,300253,300253,553,589,553,300253,300253,300253,300253,300253], - [300253,300253,300253,300253,300253,553,585,553,300253,300253,300253,300253,300253], + [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], + [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], + [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253], [300253,300253,300253,300253,300253,553, 0,553,300253,300253,300253,300253,300253] diff --git a/project/floors/BOSS5.js b/project/floors/BOSS5.js index 94a41d8..60cf3dd 100644 --- a/project/floors/BOSS5.js +++ b/project/floors/BOSS5.js @@ -33,7 +33,18 @@ main.floors.BOSS5= "events": {}, "changeFloor": {}, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,3": [ + { + "type": "changeFloor", + "floorId": "MT145", + "loc": [ + 6, + 12 + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -42,7 +53,7 @@ main.floors.BOSS5= "map": [ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], [ 17, 17, 17, 17, 17, 17,343, 17, 17, 17, 17, 17, 17], [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], diff --git a/project/floors/BOSS6.js b/project/floors/BOSS6.js index 8a5a2b4..7d59218 100644 --- a/project/floors/BOSS6.js +++ b/project/floors/BOSS6.js @@ -20,13 +20,126 @@ main.floors.BOSS6= "ratio": 1, "defaultGround": "ground", "bgm": "heidian.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"heidong2.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -180, -180);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, "changeFloor": {}, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,6": [ + { + "type": "confirm", + "text": "确认要argue薪资吗?", + "yes": [ + { + "type": "switch", + "condition": "item:pickaxe", + "caseList": [ + { + "case": "5", + "action": [ + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "3" + } + ] + }, + { + "case": "4", + "action": [ + { + "type": "setValue", + "name": "item:blueKey", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "2" + } + ] + }, + { + "case": "3", + "action": [ + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "2" + } + ] + }, + { + "case": "2", + "action": [ + { + "type": "setValue", + "name": "item:blueKey", + "operator": "+=", + "value": "2" + }, + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "1" + } + ] + }, + { + "case": "1", + "action": [ + { + "type": "setValue", + "name": "item:blueKey", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "1" + } + ] + }, + { + "case": "0", + "action": [ + { + "type": "setValue", + "name": "item:redKey", + "operator": "+=", + "value": "1" + } + ] + } + ] + } + ], + "no": [] + }, + { + "type": "changeFloor", + "floorId": "MT179", + "loc": [ + 6, + 12 + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/BOSS7.js b/project/floors/BOSS7.js index 60bce17..0ffc29c 100644 --- a/project/floors/BOSS7.js +++ b/project/floors/BOSS7.js @@ -20,14 +20,27 @@ main.floors.BOSS7= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", - "firstArrive": [], + "bgm": "feng.mp3", + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, "changeFloor": {}, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,7": [ + "赢了", + { + "type": "win", + "reason": "" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -37,16 +50,16 @@ main.floors.BOSS7= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [ 0, 0, 0, 0, 0,830,831,832,833, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,834,835,836,837, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,838,839,840,841, 0, 0, 0, 0], + [ 0, 0, 0, 0,842,843,844,845,846, 0, 0, 0, 0], + [ 0, 0, 0, 0,847,848,829,849,850, 0, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17] ], "bgmap": [ diff --git a/project/floors/JQ11.js b/project/floors/JQ11.js index 53b3e1e..647c1e0 100644 --- a/project/floors/JQ11.js +++ b/project/floors/JQ11.js @@ -19,7 +19,40 @@ main.floors.JQ11= 0, 0.5 ], - "firstArrive": [], + "firstArrive": [ + { + "type": "setCurtain", + "time": 1000 + }, + "\t[母亲,N385]孩子他爸,bdf好像对数学这方面很有天赋。", + "\t[父亲,N389]哦?他这么小你就能看出来?", + "\t[母亲,N385]嗯,我觉得我们对他这一块着重培养,说不定将来他真能闯出一番事业呢。他看样子对电脑很感兴趣,老是嚷嚷着学习电脑,要不要让他学习电脑?", + "\t[父亲,N389]你可真敢说,他上学的这些日子,麻烦到是添了不少,不是搞恶作剧就是上课期间在教室乱窜。而且他语文成绩一团糟,作文都写不好", + "\t[父亲,N389]上课也不认真听讲,评三好学生也都没他的份,到是最捣蛋最调皮最能惹事的孩子他倒是常年占着。经常和同学闹矛盾惹同学反感,甚至老师都对他抱有意见了。", + "\t[父亲,N389]至于学电脑,你不怕他玩游戏吗?说来电脑这一方面我也不太懂,明天去公司的时候我找我同事问问。", + "\t[母亲,N385]你这么说也确实,但bdf数学方面真的挺好,这才三年级数学就能免考应用操作部分,这在他们班里也是前几名的存在。", + "\t[母亲,N385]电脑的话要是能发展成兴趣未必不是一个好的选择。", + "\t[父亲,N389]你说的对,明天我就去问问,咱们应该做点什么,不然bdf这一生怕都很艰难。", + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "MT43", + "loc": [ + 6, + 11 + ] + } + ], "eachArrive": [], "parallelDo": "", "events": {}, diff --git a/project/floors/JQ12.js b/project/floors/JQ12.js index 1783faf..ae942b9 100644 --- a/project/floors/JQ12.js +++ b/project/floors/JQ12.js @@ -12,7 +12,7 @@ main.floors.JQ12= "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "bgm3.mp3", + "bgm": "qishiwang.mp3", "color": null, "firstArrive": [], "eachArrive": [], @@ -27,28 +27,64 @@ main.floors.JQ12= "cannotMove": {}, "cannotMoveIn": {}, "map": [ + [ 0, 0, 0, 0, 0, 0,360576,360577,360578,360579,360580,360581,360582], + [ 0, 0, 0, 0,411, 0,360584,360585,360586,360587,360588,360589,360590], + [ 0, 0,663, 0, 0, 0,360592,360593,360594,360595,360596,360597,360598], + [ 0, 0, 0, 0, 0, 0,360600,360601,360602,360603,360604,360605,360606], + [669, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,668, 0, 0, 0, 0, 0, 0,136], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,360644,360645, 0, 0,756,360642,360643, 0, 0, 0], + [ 0, 0, 0,360652,360653, 0, 0, 0,360650,360651, 0, 0, 0], + [ 0,759, 0, 0, 0, 0, 0, 0, 0, 0,360912,360913, 0], + [ 0,360920,360921, 0, 0, 0, 0, 0, 0,559,360920,360921,360922], + [190392,190393,190394,190395,190396,190397,190398,190399, 0, 0, 0, 0, 0], + [190400,190401,190402,190403,190404,190405,190406,190407, 0, 0,150294,150295,150296] +], + "bgmap": [ + [150307,150308,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150307,150308,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150307,150308,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150307,150308,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150309,150308,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150307,150307,150307,150377,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150345,150345,150345,150373,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025,110025], + [150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374], + [150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374,150374] +], + "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, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [360168,360169,360170,360171, 0, 0, 0, 0, 0,360168,360169,360170,360171], + [360176,360177,360178,360179, 0, 0, 0, 0, 0,360176,360177,360178,360179], + [360184,360185,360186,360187, 0, 0, 0, 0, 0,360184,360185,360186,360187], + [360192,360193,360194,360195, 0, 0, 0, 0, 0,360192,360193,360194,360195], + [ 0,360896,360897, 0, 0, 0, 0, 0, 0, 0,360896,360897, 0], + [ 0,360904,360905, 0, 0, 0, 0, 0, 0, 0,360904,360905, 0], + [ 0,360912,360913, 0, 0, 0, 0, 0, 0, 0,360912,360913, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,360617, 0, 0, 0,360621, 0, 0, 0, 0], + [360624,360624,360624,360624,360625, 0, 0, 0,360629,360624,360624,360624,360624], + [360632,360632,360632,360632,360633, 0, 0, 0,360637,360632,360632,360632,360632], + [ 0, 0, 0,360914, 0, 0, 0, 0, 0, 0, 0, 0,360914], + [ 0, 0, 0,360922, 0, 0, 0, 0, 0, 0, 0, 0,360922], + [ 0, 0, 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/JQ13.js b/project/floors/JQ13.js index c2e420d..3821a5c 100644 --- a/project/floors/JQ13.js +++ b/project/floors/JQ13.js @@ -27,19 +27,19 @@ main.floors.JQ13= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [149,149,149,149,149,149,149,149,149,149,149,149,149], - [149,149,149,149,149,149,149,149,149,149,149,149,149], - [149,149,149,149,149,149,149,149,149,149,149,149,149], - [149,149,149,210016,210017,210017,210017,210017,210017,210018,149,149,149], - [149,149,149,210024,210025,210025,210025,210025,210025,210026,149,149,149], - [149,149, 0, 0, 0,280150, 0, 0, 0, 0,149,149,149], - [149,149,149, 0, 0, 0, 0, 0, 0, 0,149,149,149], - [149,149,149,120088,120089, 0, 0, 0,210071,210071,149,149,149], - [149,149,149,120096,120097, 0, 0, 0,210079,210079,149,149,149], - [149,149,149,120104,120105, 0, 0, 0,210087,210087,149,149,149], - [149,149,149,149,149,149,149,149,149,149,149,149,149], - [149,149,149,149,149,149,149,149,149,149,149,149,149], - [149,149,149,149,149,149,149,149,149,149,149,149,149] + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,210016,210017,210017,210017,210017,210017,210018,145,145,145], + [145,145,145,210024,210025,210025,210025,210025,210025,210026,145,145,145], + [145,145,145, 0, 0,280150, 0, 0, 0, 0,145,145,145], + [145,145,145, 0, 0, 0, 0, 0, 0, 0,145,145,145], + [145,145,145,120088,120089, 0, 0, 0,210071,210071,145,145,145], + [145,145,145,120096,120097, 0, 0, 0,210079,210079,145,145,145], + [145,145,145,120104,120105, 0, 0, 0,210087,210087,145,145,145], + [145,145,145,145,145,145, 0,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145] ], "bgmap": [ [210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009], @@ -57,19 +57,19 @@ main.floors.JQ13= [210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009,210009] ], "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, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0,220038, 0,340279, 0,220038, 0, 0, 0, 0], - [ 0, 0, 0, 0,220046,280143,260166,260167,220046, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,280070,260182,260183, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [149,149,149,149,149,149,149,149,149,149,149,149,149], + [149,149,149,149,149,149,149,149,149,149,149,149,149], + [149,149,149,149,149,149,149,149,149,149,149,149,149], + [149,149,149, 0,220038, 0,340279, 0,220038, 0,149,149,149], + [149,149,149, 0,220046,280143,260166,260167,220046, 0,149,149,149], + [149,149,149, 0, 0,280070,260182,260183, 0, 0,149,149,149], + [149,149,149, 0, 0, 0, 0, 0, 0, 0,149,149,149], + [149,149,149, 0, 0, 0, 0, 0, 0, 0,149,149,149], + [149,149,149, 0, 0, 0, 0, 0, 0, 0,149,149,149], + [149,149,149, 0, 0, 0, 0, 0, 0, 0,149,149,149], + [149,149,149,149,149,149, 0,149,149,149,149,149,149], + [149,149,149,149,149,149,149,149,149,149,149,149,149], + [149,149,149,149,149,149,149,149,149,149,149,149,149] ], "bg2map": [ diff --git a/project/floors/JQ19.js b/project/floors/JQ19.js index 8cf9c63..4a64063 100644 --- a/project/floors/JQ19.js +++ b/project/floors/JQ19.js @@ -28,16 +28,16 @@ main.floors.JQ19= "map": [ [149,149,149,149,149,149,149,149,149,149,149,149,149], [149,20032,20033,20008,20009,20009,20009,20009,20009,20012,20032,20033,20034], - [149,20040,20041,20016,20017,20017,20018,20019,20019,20020,20040,20041,20042], + [149,20040,20041,20016,20017,20017,709,20019,20019,20020,20040,20041,20042], [149,340210,340195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], + [149,762,746, 0,698,677, 0,854,765, 0,678,409,149], [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], + [149,760,756, 0,862,861, 0,863,864, 0,748,869,149], [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], + [149,853,852, 0,851,796, 0,794,767, 0,715,723,149], [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], - [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], - [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], - [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], - [149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,149], + [149, 0, 0, 0,752,750, 0,855,856, 0, 0, 0,149], [149,149,149,149,149,149,149,149,149,149,149,149,149] ], "bgmap": [ @@ -73,7 +73,7 @@ main.floors.JQ19= "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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,20018, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0,10168,10168, 0,10168,10168, 0,10168,10168, 0,10168,10168, 0], [ 0,10176,10176, 0,10176,10176, 0,10176,10176, 0,10176,10176, 0], diff --git a/project/floors/JQ21.js b/project/floors/JQ21.js index 38e9dac..b42c62d 100644 --- a/project/floors/JQ21.js +++ b/project/floors/JQ21.js @@ -26,28 +26,52 @@ main.floors.JQ21= "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] + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,220016,220017,220017,220017,220017,220017,220017,220017,220018,145,145], + [145,145,220024,220025,220025,220025,220025,220025,220025,220025,220026,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145] ], "bgmap": [ - + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009], + [220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009] ], "fgmap": [ ], "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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0,220009,220009,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0, 0, 0,220009,220009,220009,220009,220009,220009,220009,220009, 0], + [ 0, 0, 0, 0, 0,220009,220009, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/JQ22.js b/project/floors/JQ22.js index b24a752..787eb31 100644 --- a/project/floors/JQ22.js +++ b/project/floors/JQ22.js @@ -26,22 +26,34 @@ main.floors.JQ22= "cannotMove": {}, "cannotMoveIn": {}, "map": [ + [30280,30281,30282,30283,30284,30285,30286,30287,30472,30473,30474,30475,30476], + [30288,30289,30290,30291,30292,30293,30294,30295,30480,30481,30482,30483,30484], + [30296,30297,30298,30299,30300,30301,30302,30303,30488,30489,30490,30491,30492], + [30304,30305,30306,30307,30308,30309,30310,30311,30496,30497,30498,30499,30500], + [30312,30313,30314,30315,30316,30317,30318,30319,30504,30505,30506,30507,30508], + [30320,30321,30322,30323,30324,30325,30326,30327,30512,30513,30514,30515,30516], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [150480,150481,150482,150483,150484,150485,150486,150487,150483,150483,150481,150482,150483], + [150512,150513,150514,150515,150516,150517,150518,150519,150515,150515,150513,150514,150515] ], "bgmap": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662], + [190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008], + [190062,190062,190062,190062,190062,190062,190062,190062,190062,190062,190062,190062,190062], + [190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008,190008], + [150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662,150662], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fgmap": [ diff --git a/project/floors/JQ26.js b/project/floors/JQ26.js new file mode 100644 index 0000000..b1b9e3e --- /dev/null +++ b/project/floors/JQ26.js @@ -0,0 +1,112 @@ +main.floors.JQ26= +{ + "floorId": "JQ26", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.mp3", + "firstArrive": [ + { + "type": "setHeroIcon", + "name": "hero3.png" + }, + { + "type": "setCurtain", + "time": 500 + } + ], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": {}, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [145,145,145,145,145,145,145,145,145,145,145,145,145], + [145,20093, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145], + [145,20101, 0, 0, 0, 0,50069, 0, 0, 0, 0, 0,145], + [145,20109, 0, 0, 0, 0,868, 0, 0, 0, 0, 0,145], + [145,260166, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145], + [145,577, 0, 0,698, 0, 0,713, 0, 0,727, 0,145], + [145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145], + [145,861, 0, 0,756, 0, 0,760, 0, 0,869, 0,145], + [145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145], + [145,762, 0, 0,860, 0, 0,854, 0, 0,765, 0,145], + [145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145], + [145,864, 0, 0,855, 0, 0, 0, 0, 0,853, 0,145], + [145,145,145,145,145,145,145,145,145,145,145,145,145] +], + "bgmap": [ + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,50032,50032,50032,50032,50032,50032,50032,50032,50032,50032,50032,340185], + [340185,50040,50041,50041,50041,50041,50041,50041,50041,50041,50041,50041,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], + [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185] +], + "fgmap": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,340400,340401,340401,340401,340402, 0, 0, 0, 0], + [ 0, 0,340194, 0,340416,340417, 0,340417,340418, 0, 0, 0, 0], + [ 0, 0,340210,340195, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "bg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,50035,50036,50037, 0], + [ 0, 0, 0, 0,50067,50068,340417,50070,50071,50043,50044,50045, 0], + [ 0, 0, 0, 0,50075,50076,50077,50078,50079, 0, 0, 0, 0], + [ 0, 0,260167, 0,260166,260167, 0,260166,260167, 0,260166,260167, 0], + [ 0,260182,260183, 0,260182,260183, 0,260182,260183, 0,260182,260183, 0], + [ 0,260166,260167, 0,260166,260167, 0,260166,260167, 0,260166,260167, 0], + [ 0,260182,260183, 0,260182,260183, 0,260182,260183, 0,260182,260183, 0], + [ 0,260166,260167, 0,260166,260167, 0,260166,260167, 0,260166,260167, 0], + [ 0,260182,260183, 0,260182,260183, 0,260182,260183, 0,260182,260183, 0], + [ 0,260166,260167, 0,260166,260167, 0,260166,260167, 0,260166,260167, 0], + [ 0,260182,260183, 0,260182,260183, 0,260182,260183, 0,260182,260183, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,260149, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,260149, 0, 0,260149, 0, 0,260149, 0, 0,260149, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,260149, 0, 0,260149, 0, 0,260149, 0, 0,260149, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,260149, 0, 0,260149, 0, 0,260149, 0, 0,260149, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,260149, 0, 0,260149, 0, 0,260149, 0, 0,260149, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +] +} \ No newline at end of file diff --git a/project/floors/JQ27.js b/project/floors/JQ27.js new file mode 100644 index 0000000..b86eff4 --- /dev/null +++ b/project/floors/JQ27.js @@ -0,0 +1,71 @@ +main.floors.JQ27= +{ + "floorId": "JQ27", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.mp3", + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], + "eachArrive": [], + "parallelDo": "", + "events": { + "6,0": [ + { + "type": "changeFloor", + "floorId": "MT164", + "loc": [ + 6, + 12 + ] + } + ] + }, + "changeFloor": {}, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0, 0, 0, 0, 0, 0, 89, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 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/JQ28.js b/project/floors/JQ28.js new file mode 100644 index 0000000..a0ae03c --- /dev/null +++ b/project/floors/JQ28.js @@ -0,0 +1,55 @@ +main.floors.JQ28= +{ + "floorId": "JQ28", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ29.js b/project/floors/JQ29.js new file mode 100644 index 0000000..5cec54b --- /dev/null +++ b/project/floors/JQ29.js @@ -0,0 +1,55 @@ +main.floors.JQ29= +{ + "floorId": "JQ29", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ30.js b/project/floors/JQ30.js new file mode 100644 index 0000000..24dfd41 --- /dev/null +++ b/project/floors/JQ30.js @@ -0,0 +1,55 @@ +main.floors.JQ30= +{ + "floorId": "JQ30", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ31.js b/project/floors/JQ31.js new file mode 100644 index 0000000..1b5472e --- /dev/null +++ b/project/floors/JQ31.js @@ -0,0 +1,55 @@ +main.floors.JQ31= +{ + "floorId": "JQ31", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ32.js b/project/floors/JQ32.js new file mode 100644 index 0000000..28e7b20 --- /dev/null +++ b/project/floors/JQ32.js @@ -0,0 +1,55 @@ +main.floors.JQ32= +{ + "floorId": "JQ32", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ33.js b/project/floors/JQ33.js new file mode 100644 index 0000000..c559c44 --- /dev/null +++ b/project/floors/JQ33.js @@ -0,0 +1,55 @@ +main.floors.JQ33= +{ + "floorId": "JQ33", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ34.js b/project/floors/JQ34.js new file mode 100644 index 0000000..aba9ebf --- /dev/null +++ b/project/floors/JQ34.js @@ -0,0 +1,55 @@ +main.floors.JQ34= +{ + "floorId": "JQ34", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ35.js b/project/floors/JQ35.js new file mode 100644 index 0000000..1ff982b --- /dev/null +++ b/project/floors/JQ35.js @@ -0,0 +1,55 @@ +main.floors.JQ35= +{ + "floorId": "JQ35", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ36.js b/project/floors/JQ36.js new file mode 100644 index 0000000..efbd982 --- /dev/null +++ b/project/floors/JQ36.js @@ -0,0 +1,55 @@ +main.floors.JQ36= +{ + "floorId": "JQ36", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ37.js b/project/floors/JQ37.js new file mode 100644 index 0000000..c9d6000 --- /dev/null +++ b/project/floors/JQ37.js @@ -0,0 +1,55 @@ +main.floors.JQ37= +{ + "floorId": "JQ37", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ38.js b/project/floors/JQ38.js new file mode 100644 index 0000000..55922b6 --- /dev/null +++ b/project/floors/JQ38.js @@ -0,0 +1,55 @@ +main.floors.JQ38= +{ + "floorId": "JQ38", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ39.js b/project/floors/JQ39.js new file mode 100644 index 0000000..00fc4c5 --- /dev/null +++ b/project/floors/JQ39.js @@ -0,0 +1,55 @@ +main.floors.JQ39= +{ + "floorId": "JQ39", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/JQ40.js b/project/floors/JQ40.js new file mode 100644 index 0000000..f4c1109 --- /dev/null +++ b/project/floors/JQ40.js @@ -0,0 +1,55 @@ +main.floors.JQ40= +{ + "floorId": "JQ40", + "title": "主塔 87 层", + "name": "87", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 1, + "defaultGround": "ground", + "bgm": "heidian.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/MT106.js b/project/floors/MT106.js index 694b859..05e7029 100644 --- a/project/floors/MT106.js +++ b/project/floors/MT106.js @@ -27,7 +27,162 @@ main.floors.MT106= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "10,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT107.js b/project/floors/MT107.js index 38f911e..f13ee77 100644 --- a/project/floors/MT107.js +++ b/project/floors/MT107.js @@ -34,7 +34,250 @@ main.floors.MT107= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT108.js b/project/floors/MT108.js index 9893989..150aba2 100644 --- a/project/floors/MT108.js +++ b/project/floors/MT108.js @@ -34,7 +34,250 @@ main.floors.MT108= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT109.js b/project/floors/MT109.js index a2ea1a8..05b2714 100644 --- a/project/floors/MT109.js +++ b/project/floors/MT109.js @@ -34,7 +34,52 @@ main.floors.MT109= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT110.js b/project/floors/MT110.js index acec448..ed73968 100644 --- a/project/floors/MT110.js +++ b/project/floors/MT110.js @@ -34,7 +34,272 @@ main.floors.MT110= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT111.js b/project/floors/MT111.js index ce2d40a..4e71dd3 100644 --- a/project/floors/MT111.js +++ b/project/floors/MT111.js @@ -34,7 +34,360 @@ main.floors.MT111= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT112.js b/project/floors/MT112.js index 6826c9c..611beff 100644 --- a/project/floors/MT112.js +++ b/project/floors/MT112.js @@ -34,7 +34,272 @@ main.floors.MT112= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT113.js b/project/floors/MT113.js index a1c3107..c05fb5c 100644 --- a/project/floors/MT113.js +++ b/project/floors/MT113.js @@ -34,7 +34,250 @@ main.floors.MT113= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "10,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -47,13 +290,13 @@ main.floors.MT113= ] }, "map": [ - [140,140,140,140,140,140, 89,140,140,140,140,140,140], - [140,735, 0,735,140, 17, 0, 17,140,735, 0,735,140], - [140, 0, 23, 0,140, 17,737, 17,140, 0, 23, 0,140], - [140,635, 0,635,140, 17,258, 17,140,636, 0,636,140], - [140,140,542,140,140,140, 83,140,140,140,542,140,140], - [140,140, 81,140,140,140, 83,140,140,140, 81,140,140], - [140,637,734, 0,790, 81, 0, 81,790, 0,734,637,140], + [350012,350012,350012,350012,350012,350012, 89,350012,350012,350012,350012,350012,350012], + [350012,735, 0,735,350012, 17, 0, 17,350012,735, 0,735,350012], + [350012, 0, 23, 0,350012, 17,737, 17,350012, 0, 23, 0,350012], + [350012,635, 0,635,350012, 17,258, 17,350012,636, 0,636,350012], + [350012,350012,542,350012,350012,350012, 83,350012,350012,350012,542,350012,350012], + [350012,350012, 81,350012,350012,350012, 83,350012,350012,350012, 81,350012,350012], + [734,637, 0, 0,790, 81, 0, 81,790, 0, 0,637,734], [140,140,140,140,140,140,790,140,140,140,140,140,140], [140, 0,736, 0,140,635, 0,636,140, 0,790, 0,140], [140,635, 0,636,140, 0, 21, 0,140,732,140,638,140], diff --git a/project/floors/MT114.js b/project/floors/MT114.js index b1aa45c..137bc05 100644 --- a/project/floors/MT114.js +++ b/project/floors/MT114.js @@ -34,7 +34,448 @@ main.floors.MT114= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "0,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "12,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT115.js b/project/floors/MT115.js index 2819f84..c260591 100644 --- a/project/floors/MT115.js +++ b/project/floors/MT115.js @@ -34,7 +34,294 @@ main.floors.MT115= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT116.js b/project/floors/MT116.js index e46bd6d..6fef4a4 100644 --- a/project/floors/MT116.js +++ b/project/floors/MT116.js @@ -34,7 +34,272 @@ main.floors.MT116= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "2,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "12,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT117.js b/project/floors/MT117.js index 4855c39..cacb1a9 100644 --- a/project/floors/MT117.js +++ b/project/floors/MT117.js @@ -34,7 +34,294 @@ main.floors.MT117= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT118.js b/project/floors/MT118.js index e764231..4fec56a 100644 --- a/project/floors/MT118.js +++ b/project/floors/MT118.js @@ -34,7 +34,294 @@ main.floors.MT118= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,11": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "7,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "11,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "10,1": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "5,8": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, diff --git a/project/floors/MT119.js b/project/floors/MT119.js index 2699220..8ba8a9a 100644 --- a/project/floors/MT119.js +++ b/project/floors/MT119.js @@ -34,7 +34,162 @@ main.floors.MT119= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "11,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "4,9": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,7": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "1,10": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:yanjiangoi", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:yanjiangoi==160)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT120" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -45,10 +200,10 @@ main.floors.MT119= [320224,320225,320226,320227,320228, 0, 0, 0,320224,320225,320226,320227,320228], [320232,320233,320234,320235,320236, 0,737, 0,320232,320233,320234,320235,320236], [320240,320241,320242,320243,320244, 0,257, 0,320240,320241,320242,320243,320244], - [801,801,801,801,801,801, 83,801,801,801,801,801,801], - [801,801,801,801,801,801, 83,801,801,801,801,801,801], - [801, 0,603,603, 0,801, 0,801, 0,604,604, 0,801], - [801,544,801,801, 82,801,544,801, 82,801,801,544,801], + [801,801,801,801,801,350004, 83,350004,801,801,801,801,801], + [801,801,801,801,801,350004, 83,350004,801,801,801,801,801], + [801, 0,603,603, 0,350004, 0,350004, 0,604,604, 0,801], + [801,544,801,801, 82,350004,544,350004, 82,801,801,544,801], [801,737, 0,801, 0, 81, 0, 81, 0,735,735, 0,801], [801, 0,606,801,544,801,735,801,544,801,801, 81,801], [801,544,801,801, 0,801,735,801, 0,606,801,733,801], diff --git a/project/floors/MT120.js b/project/floors/MT120.js index 75b46ef..b510204 100644 --- a/project/floors/MT120.js +++ b/project/floors/MT120.js @@ -16,39 +16,7 @@ main.floors.MT120= "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": { - "6,1": { - "trigger": "action", - "enable": true, - "noPass": null, - "displayDamage": true, - "opacity": 1, - "filter": { - "blur": 0, - "hue": 0, - "grayscale": 0, - "invert": false, - "shadow": 0 - }, - "data": [ - { - "type": "if", - "condition": "((status:lv>=25)&&(status:exp>=1797))", - "true": [ - { - "type": "openDoor" - } - ], - "false": [ - { - "type": "tip", - "text": "你没有清完所有怪物!" - } - ] - } - ] - } - }, + "events": {}, "changeFloor": { "6,12": { "floorId": "MT119", @@ -79,19 +47,19 @@ main.floors.MT120= ] }, "map": [ - [658,658,658,658,658,658, 89,658,658,658,658,658,658], - [658,658,658,658,658,658, 86,658,658,658,658,658,658], - [737,658,735,738,738, 83, 0, 82,734,735, 82,734,735], - [737,658,658,658,658,658, 0,658,658,658,658,658,658], - [737,658,735,738,738, 83, 0, 82,734,735, 82,734,735], - [658,658,658,658,658,658, 0,658,658,658,658,658,658], + [801,735,738,738,801,658, 89,658,801,737,737,737,801], + [801,801,801, 83,801,658, 86,658,801,801,801,801,801], + [737,801,735,738,738, 83, 0, 82,734,735, 82,734,735], + [737,801,801,801,801,801, 0,801,801,801,801,801,801], + [737,801,735,738,738, 83, 0, 82,734,735, 82,734,735], + [658,801,801,801,801,801, 0,801,801,801,801,801,801], [735,734, 82,735,734, 82, 0, 82,734,735, 82,734,735], - [658,658,658,658,658,658, 0,658,658,658,658,658,658], + [801,801,801,801,801,801, 0,801,801,801,801,801,801], [734, 81,734, 81,734, 81, 0, 81,734, 81,734, 81,734], - [658,658,658,658,658,658, 0,658,658,658,658,658,658], + [801,801,801,801,801,801, 0,801,801,801,801,801,801], [734, 81,734, 81,734, 81, 0, 81,734, 81,734, 81,734], - [658,658,658,658,658,658, 0,658,658,658,658,658,658], - [658,658,658,658,658,658, 93,658,658,658,658,658,658] + [801,801,801,801,801,801, 0,801,801,801,801,801,801], + [801,801,801,801,801,801, 93,801,801,801,801,801,801] ], "bgmap": [ [320000,320000,320000,320000,320000,320000,320000,320000,320000,320000,320000,320000,320000], diff --git a/project/floors/MT121.js b/project/floors/MT121.js index e4c0810..3bb2b67 100644 --- a/project/floors/MT121.js +++ b/project/floors/MT121.js @@ -24,7 +24,24 @@ main.floors.MT121= "ratio": 1, "defaultGround": "ground", "bgm": "qingchen.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "setValue", + "name": "item:I800", + "value": "0" + }, + { + "type": "setValue", + "name": "item:lifeWand", + "value": "0" + }, + { + "type": "setValue", + "name": "status:exp", + "operator": "+=", + "value": "200" + } + ], "eachArrive": [], "parallelDo": "", "events": {}, @@ -38,24 +55,230 @@ main.floors.MT121= } }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "6,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "3,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "9,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, + "afterGetItem": { + "6,9": [ + { + "type": "function", + "function": "function(){\ncore.status.hero.mdef = Math.ceil(core.status.hero.mdef / 1000 - .0005) * 1000\n}" + } + ] + }, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 17, 0, 0, 0, 91, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17,70064, 0, 0, 0, 0, 0,70066, 17, 0, 0], - [ 0, 0, 17,70106,70064, 0, 0, 0,70066,70108, 17, 0, 0], + [ 0, 0, 17,70030,70030,70030, 91,70030,70030,70030, 17, 0, 0], + [ 0, 0, 17, 0,875,809, 0,809,874, 0, 17, 0, 0], + [ 0, 0, 17,817,70030,70030,809,70030,70030,819, 17, 0, 0], + [ 0, 0, 17, 0,875,70030,876,70030,874, 0, 17, 0, 0], + [ 0, 0, 17,907, 0, 81, 0, 81, 0,907, 17, 0, 0], + [ 0, 0, 17, 82,70030,70030,70030,70030,70030,818, 17, 0, 0], + [ 0, 0, 17, 0, 0,906, 0,906, 0, 0, 17, 0, 0], + [ 0, 0, 17,817,70030,70030,809,70030,70030,817, 17, 0, 0], + [ 0, 0, 17,870, 0,70030, 0,70030, 0,870, 17, 0, 0], + [ 0, 0, 17,70064,871,70030,336,70030,871,70066, 17, 0, 0], + [ 0, 0, 17,70106,70064,70030, 0,70030,70066,70108, 17, 0, 0], [ 0, 0, 17, 17,70106,70064,70065,70066,70108, 17, 17, 0, 0], [ 0, 0, 0, 17, 17,70106,70107,70108, 17, 0, 0, 0, 0] ], diff --git a/project/floors/MT122.js b/project/floors/MT122.js index bb4951c..993c796 100644 --- a/project/floors/MT122.js +++ b/project/floors/MT122.js @@ -43,26 +43,247 @@ main.floors.MT122= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,11": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,11": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 17, 0, 0, 91, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 17, 0, 0], - [ 0, 0, 17, 17, 0, 0, 0, 0, 0, 17, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0], - [ 0, 0, 17, 0, 0, 0, 93, 0, 0, 0, 17, 0, 0] + [ 0, 0, 0, 17,875,70031, 91,70031,874, 17, 0, 0, 0], + [ 0, 0, 0, 17,876,70031, 0,70031,876, 17, 0, 0, 0], + [ 0, 0, 0, 17,818,70031,817,70031,818, 17, 0, 0, 0], + [ 0, 0, 0, 17, 0, 81, 0, 81, 0, 17, 0, 0, 0], + [ 0, 0, 0, 17,70030,70030, 81,70030,70030, 17, 0, 0, 0], + [ 0, 0, 0, 17, 0,870,907,871, 0, 17, 17, 0, 0], + [ 0, 0, 17, 17,819,70030, 83,70030,817, 17, 17, 0, 0], + [ 0, 0, 17,871, 0,70030,819,70030, 0,870, 17, 0, 0], + [ 0, 0, 17, 21,872,70030,908,70030,872,906, 17, 0, 0], + [ 0, 0, 17,70030, 0,70030,877,70030,809,70030, 17, 0, 0], + [ 0, 0, 17,70030,818,70030,70030,70030, 81,70030, 17, 0, 0], + [ 0, 0, 17,872, 0,809, 0,809, 0,872, 17, 0, 0], + [ 0, 0, 17,70030,70030,70030, 93,70030,70030,70030, 17, 0, 0] ], "bgmap": [ diff --git a/project/floors/MT123.js b/project/floors/MT123.js index 1a3d558..eefe91c 100644 --- a/project/floors/MT123.js +++ b/project/floors/MT123.js @@ -59,26 +59,181 @@ main.floors.MT123= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,8": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 17, 0, 0, 91, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 17, 17, 17, 17, 0, 0, 0, 0, 0, 17, 17, 17, 17], - [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], - [ 17, 17, 17, 17, 0, 0, 0, 0, 0, 17, 17, 17, 17], - [ 17, 17, 17, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17], - [ 17, 17, 17, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 17, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 17, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 17, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 93, 0, 0, 17, 0, 0, 0] + [ 0, 0, 0, 17, 23, 0, 91, 0,873, 17, 0, 0, 0], + [ 0, 0, 0, 17, 0,70031,70031,70031, 0, 17, 0, 0, 0], + [ 0, 0, 0, 17, 82,70031,70031,70031,361, 17, 0, 0, 0], + [ 0, 0, 0, 17, 0,874, 0,875, 0, 17, 0, 0, 0], + [ 17, 17, 17, 17,70031,70031,818,70031,70031, 17, 17, 17, 17], + [ 92, 0, 21, 83, 0,817, 0,817, 0, 83, 21, 0, 94], + [ 17, 17, 17, 17, 21,70031, 0,70031,870, 17, 17, 17, 17], + [ 17, 17, 17, 0, 22,70031, 0,70031,871, 17, 17, 17, 17], + [ 17, 17, 17, 17,70031,70031,809,70031,70031, 17, 0, 0, 0], + [ 0, 0, 17, 17, 0,361, 0,361, 0, 17, 0, 0, 0], + [ 0, 0, 17, 17,870,70031,907,70031,871, 17, 0, 0, 0], + [ 0, 0, 17, 17,873,70031, 0,70031,873, 17, 0, 0, 0], + [ 0, 0, 0, 17, 21,70031, 93,70031, 21, 17, 0, 0, 0] ], "bgmap": [ diff --git a/project/floors/MT124.js b/project/floors/MT124.js index c5201d9..e3eed5a 100644 --- a/project/floors/MT124.js +++ b/project/floors/MT124.js @@ -24,7 +24,12 @@ main.floors.MT124= "ratio": 1, "defaultGround": "ground", "bgm": "qingchen.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], "eachArrive": [], "parallelDo": "", "events": {}, @@ -38,23 +43,107 @@ main.floors.MT124= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,1": [ + { + "type": "setValue", + "name": "flag:door_MT124_5_5", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:door_MT124_6_6", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + }, + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT125" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "5,5": { + "0": { + "condition": "flag:door_MT124_5_5==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT124_5_5", + "operator": "=", + "value": "null" + } + ] + } + }, + "6,6": { + "0": { + "condition": "flag:door_MT124_6_6==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT124_6_6", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [ 17, 17, 17, 17, 0, 17, 17, 17, 17, 0, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17,355, 17, 17, 0, 0, 0, 0], [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 0, 0, 0, 0], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 0, 0, 0, 0], - [ 17, 17, 17, 17, 17, 17, 0, 17, 0, 0, 0, 0, 0], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], - [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,908, 17, 0, 0, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17,872, 17, 17, 17, 17, 17, 17], + [ 17,908,908, 0, 0, 85, 0,871,870, 0, 0, 0, 94], + [ 17, 17, 17, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 17,70106,70073,70073], - [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 17, 0, 17, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 17,878, 17, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 17,879, 17, 17, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 17, 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, 0, 0, 0, 0] diff --git a/project/floors/MT125.js b/project/floors/MT125.js index 029eb1f..1399b00 100644 --- a/project/floors/MT125.js +++ b/project/floors/MT125.js @@ -38,23 +38,107 @@ main.floors.MT125= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,1": [ + { + "type": "setValue", + "name": "flag:door_MT125_7_5", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:door_MT125_6_6", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + }, + { + "type": "openDoor", + "loc": [ + 6, + 6 + ], + "floorId": "MT128" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "7,5": { + "0": { + "condition": "flag:door_MT125_7_5==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT125_7_5", + "operator": "=", + "value": "null" + } + ] + } + }, + "6,6": { + "0": { + "condition": "flag:door_MT125_6_6==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT125_6_6", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [ 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0, 0, 0], - [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 17,264, 17, 17, 0, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 17, 17, 17, 17], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], - [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], - [70065,70065,70066, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17], + [ 92, 0, 0, 0,873,908, 0, 85, 0, 0,910,910, 17], + [70065,70065,70066, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17], [70107,70107,70108, 17, 17, 17, 0, 17, 0, 0, 0, 0, 0], - [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 0, 0, 0], - [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 17, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17,881, 17, 17, 17, 0, 0, 0], + [ 0, 0, 0, 0, 17, 17,881, 17, 17, 17, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 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, 0, 0, 0, 0] diff --git a/project/floors/MT126.js b/project/floors/MT126.js index 84c2415..feb0602 100644 --- a/project/floors/MT126.js +++ b/project/floors/MT126.js @@ -45,26 +45,137 @@ main.floors.MT126= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 17, 0, 91, 0, 17, 0, 0, 0, 0], - [ 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0, 0, 0], - [ 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70031, 91,70031, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70031,818,70031, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 21, 0, 21, 17, 0, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 17, 0, 17, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 17,817, 17, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 17, 17, 0, 17, 17, 17, 0, 0, 0], - [ 0, 0, 0, 17, 17, 0, 0, 0, 17, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 0, 0, 0, 17, 0, 0, 0], - [ 0, 0, 0, 17, 0, 0, 93, 0, 0, 17, 0, 0, 0] + [ 0, 0, 0, 17, 17,70031,876,70031, 17, 17, 0, 0, 0], + [ 0, 0, 0, 17, 0, 81, 0, 81, 0, 17, 0, 0, 0], + [ 0, 0, 0, 17,819,70031,817,70031,819, 17, 0, 0, 0], + [ 0, 0, 0, 17,907,70031, 0,70031,907, 17, 0, 0, 0], + [ 0, 0, 0, 17,874,70031, 0,70031,875, 17, 0, 0, 0], + [ 0, 0, 0, 17, 23,70031, 93,70031, 23, 17, 0, 0, 0] ], "bgmap": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], diff --git a/project/floors/MT127.js b/project/floors/MT127.js index 37d1f0a..e3bf810 100644 --- a/project/floors/MT127.js +++ b/project/floors/MT127.js @@ -45,26 +45,247 @@ main.floors.MT127= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0] + [ 0, 17,908,880,70031,70031, 91,70031,70031,880,908, 17, 0], + [ 0, 17,878, 0,467, 81, 0, 81,467, 0,879, 17, 0], + [ 0, 17,70031,70031,70031,70031,361,70031,70031,70031,70031, 17, 0], + [ 0, 17, 21, 0, 0,818, 0,818, 0, 0, 21, 17, 0], + [ 0, 17,70030, 81,70030,70030,819,70030,70030, 81,70030, 17, 0], + [ 0, 17,70030,361,70030,874, 0,875,70030,361,70030, 17, 0], + [ 0, 17,880, 0,70030, 0,908, 0,70030, 0,880, 17, 0], + [ 0, 17,909,878,70030,877, 0,876,70030,879,909, 17, 0], + [ 0, 17, 17, 17,70030,70030,818,70030,70030, 17, 17, 17, 0], + [ 0, 0, 0, 0, 17,70030,817,70030, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70030, 82,70030, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17, 22, 0,907, 17, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70031, 93,70031, 17, 0, 0, 0, 0] ], "bgmap": [ diff --git a/project/floors/MT128.js b/project/floors/MT128.js index b7d68a2..7ba532a 100644 --- a/project/floors/MT128.js +++ b/project/floors/MT128.js @@ -59,32 +59,233 @@ main.floors.MT128= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,11": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0] + [ 17, 17, 17, 17, 17, 0, 91, 0, 17, 0, 0, 0, 0], + [ 17, 17, 17, 17, 17,870, 0,871, 17, 17, 17, 17, 17], + [ 17,909,907,909, 17, 17,909, 17, 17,909,907,909, 17], + [ 17,880, 0,879, 17, 17, 0, 17, 17,878, 0,880, 17], + [ 17, 0,472, 0, 17, 17,530, 17, 17, 0,472, 0, 17], + [ 17, 17, 82, 17, 17, 17, 0, 17, 17, 17, 82, 17, 17], + [ 92, 0,876,875, 0,530, 85,530, 0,874,876, 0, 94], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,467, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17,70168,70169,70170,70030, 21,70030,70169,70170,70171, 17, 17], + [ 17, 17, 21,909,467, 81, 0, 81,467,909, 21, 17, 17], + [ 17, 17,873, 21,70031,70031, 93,70031,70031, 21,873, 17, 17] ], "bgmap": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,70049, 0,70049, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "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, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,70136,70137,70138,70139, 0,70136,70137,70138,70139, 0, 0], + [ 0, 0,70144,70145,70146,70147, 0,70144,70145,70146,70147, 0, 0], + [ 0, 0,70152,70153,70154,70155, 0,70152,70153,70154,70155, 0, 0], + [ 0, 0,70160,70161,70162,70163, 0,70160,70161,70162,70163, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "bg2map": [ [ 0, 0, 0, 0, 0,70056,70000,70058, 0, 0, 0, 0, 0], @@ -97,7 +298,7 @@ main.floors.MT128= [ 0, 0, 0, 0, 0, 0,70121, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,70121, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,70121, 0, 0, 0, 0, 0, 0], - [ 0, 0,70048,70049,70049,70049,70049,70049,70049,70049,70050, 0, 0], + [ 0, 0,70048,70049,70049,70171,70049,70168,70049,70049,70050, 0, 0], [ 0, 0,70056,70000,70000,70000,70000,70000,70000,70000,70058, 0, 0], [ 0, 0,70056,70000,70000,70000,70000,70000,70000,70000,70058, 0, 0] ], diff --git a/project/floors/MT129.js b/project/floors/MT129.js index 9e70df0..e47164c 100644 --- a/project/floors/MT129.js +++ b/project/floors/MT129.js @@ -45,26 +45,203 @@ main.floors.MT129= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,8": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0] + [ 17, 17,470079,470079,470079,470079, 91,470079,470079,470079,470079, 17, 17], + [ 17, 17,470079,880, 0,816, 0,470079,910,878,470079, 17, 17], + [ 17, 17,470079,879,910,470079, 0,816, 0,880,470079, 17, 17], + [ 17, 17,470079,470079,470079,470079,472,470079,470079,470079,470079, 17, 17], + [ 17, 17, 0,880, 0,530, 0,530, 0,880, 0, 17, 17], + [ 17, 17, 81,470079,820,470079,873,470079,820,470079, 81, 17, 17], + [ 17, 17, 0,882, 0,470079, 21,470079, 0,883, 0, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,530, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 0, 21, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17,872, 0,872, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 0, 93, 0, 17, 17, 17, 17, 17] ], "bgmap": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], diff --git a/project/floors/MT130.js b/project/floors/MT130.js index 4f01509..8f112ea 100644 --- a/project/floors/MT130.js +++ b/project/floors/MT130.js @@ -45,26 +45,203 @@ main.floors.MT130= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "7,10": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "8,12": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0] + [ 17, 17, 17, 17, 17, 0, 91, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17,880, 0,908, 17, 17, 17, 17, 17], + [ 17, 17, 17,470070,470070,470079,816,470079,470070,470070, 17, 17, 17], + [ 17, 17, 21,470078,470078,470079, 81,470079,470078,470078, 21, 17, 17], + [ 17, 17,910,883,470079,878, 0,879,470079,883,910, 17, 17], + [ 17, 17,882, 0,821, 0,820, 0,821, 0,882, 17, 17], + [ 17, 17, 17, 17,470079,470079, 81,470079,470079, 17, 17, 17, 17], + [ 17, 17, 17, 17, 0,926, 0, 82, 0, 17, 17, 17, 17], + [ 17, 17, 17, 17,883,470118, 21,470118,882, 17, 17, 17, 17], + [ 17, 17, 17, 17,910,470118, 22,470118,910, 17, 17, 17, 17], + [ 17, 17, 17, 17, 0, 82, 0,926, 0, 17, 17, 17, 17], + [ 17, 17, 0,881,470054,470054, 0,470054,470054,881, 0, 17, 17], + [ 17, 17,909, 0,816, 81, 93, 81,816, 0,909, 17, 17] ], "bgmap": [ diff --git a/project/floors/MT131.js b/project/floors/MT131.js index d2e93e0..4c8b226 100644 --- a/project/floors/MT131.js +++ b/project/floors/MT131.js @@ -45,26 +45,181 @@ main.floors.MT131= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,3": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 85, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0] + [ 17, 17, 17, 17, 17, 17, 91, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17,470118,470118,470118,470118,821,470118,470118,470118,470118, 17, 17], + [ 17, 17,911,910, 21,926, 0,880,470118, 0, 23, 17, 17], + [ 17, 17,470118,470118,470118,470118,879, 0, 81,926, 0, 17, 17], + [ 17, 17, 0,926, 82, 81, 0,878,470118, 0, 22, 17, 17], + [ 17, 17,881,470118,470118,470118,816,470118,470118,470118,821, 17, 17], + [ 17, 17,911,470118,470082,470118,875,470118,470082,470118,885, 17, 17], + [ 17, 17, 17, 17,470090,470118,874,470118,470090, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17,470118,820,470118, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 21, 0, 22, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 0, 93, 0, 17, 17, 17, 17, 17] ], "bgmap": [ diff --git a/project/floors/MT132.js b/project/floors/MT132.js index 78ed7ca..c50169c 100644 --- a/project/floors/MT132.js +++ b/project/floors/MT132.js @@ -57,7 +57,7 @@ main.floors.MT132= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,294414,294415], [70065,70065,70065,70065,70065,70065, 0,70065,70065,70065,70065,70065,70065], [70073,70073,70073,70073,70073,70073,657,70073,70073,70073,70073,70073,70073], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17] ], "bgmap": [ diff --git a/project/floors/MT133.js b/project/floors/MT133.js index 8895621..56e5994 100644 --- a/project/floors/MT133.js +++ b/project/floors/MT133.js @@ -24,7 +24,404 @@ main.floors.MT133= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -34,16 +431,16 @@ main.floors.MT133= [420040,420065,420041,420041,420041,420066,420041,420067,420041,420041,420041,420065,420042], [420048,420073,420049,420049,420049,420074,420049,420075,420049,420049,420049,420073,420050], [420056,420081,420057,420057,420057,420082,420057,420083,420057,420057,420057,420081,420058], - [179,179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0,179, 0,179, 0,179, 0,179, 0, 0,179, 0, 0], - [ 0, 0, 0,179,179,179,179,179,179, 0,179,179,179], - [ 0,179, 0,179, 0,179, 0,179, 0, 0, 0, 0, 87], - [179,179, 0,179, 0, 0, 0, 0, 0, 0,179,179,179], - [ 0, 0, 0,179, 0,179,179,179, 0,179,179, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0,179, 0,179, 0,179, 0,179, 0,179,179, 0,179], - [ 0,179, 0,179, 0,179, 0,179, 0, 0, 0, 0,179], - [ 0, 0, 0,179, 0,179, 0,179, 0, 0, 0, 0,179] + [179,179, 0,621, 0, 81, 0,621, 0,878,614, 0,883], + [908,179,884,179,882,179,883,179,879, 0,179,882,884], + [ 0,621, 0,179,179,179,179,179,179,616,179,179,179], + [880,179,232,179,878,179,879,179,880, 0,232, 0, 87], + [179,179, 81,179, 0,275, 0,275, 0,910,179,179,179], + [ 21, 0, 22,179, 82,179,179,179,614,179,179,874,908], + [ 0,875, 0,275, 0,275, 0,275, 0, 81,232, 0,875], + [ 82,179,616,179,232,179,913,179,616,179,179,621,179], + [879,179,878,179,874,179,911,179, 0, 21, 0,876,179], + [ 0,908, 0,179,910,179, 0,179, 22, 0, 21, 0,179] ], "bgmap": [ [420000,420000,420000,420000,420000,420000,420000,420000,420000,420000,420000,420000,420000], diff --git a/project/floors/MT134.js b/project/floors/MT134.js index 29ea7a8..4c30328 100644 --- a/project/floors/MT134.js +++ b/project/floors/MT134.js @@ -28,7 +28,294 @@ main.floors.MT134= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "5,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -38,15 +325,15 @@ main.floors.MT134= [420040,420065,420041,420041,420066,420041,420064,420041,420067,420041,420041,420065,420042], [420048,420073,420049,420049,420074,420049,420072,420049,420075,420049,420049,420073,420050], [420056,420081,420057,420057,420082,420057,420080,420057,420083,420057,420057,420081,420058], - [ 87, 0,179, 0,179, 0, 0, 0, 0, 0, 0, 0, 0], - [179, 0,179, 0,179,179,179, 0,179, 0,179, 0, 0], - [179, 0,179, 0, 0, 0, 0, 0,179, 0,179,179,179], - [179, 0, 0, 0,179,179,179, 0,179, 0, 0, 0, 88], - [179, 0,179, 0, 0, 0, 0, 0,179, 0,179,179,179], - [179, 0, 0, 0, 0,179, 0, 0, 0, 0, 0, 0, 0], - [179, 0,179,179, 0,179, 0, 0,179,179, 0,179, 0], - [179, 0, 0,179, 0,179,179, 0,179, 0, 0,179, 0], - [179, 0, 0,179, 0, 0, 0, 0,179, 0, 0, 0, 0], + [ 87, 0,179,908,179,932,812, 0,621, 0,615, 0,879], + [179, 0,179, 81,179,179,179,880,179,876,179,878,910], + [179,232,179, 0,616,884,616, 0,179,232,179,179,179], + [179, 0,615, 0,179,179,179, 81,179, 0,908, 0, 88], + [179, 22,179,878, 0,615, 0,875,179, 82,179,179,179], + [179, 0, 81, 0,879,179, 21, 0,275, 0, 0, 81, 0], + [179,614,179,179, 0,179, 0,874,179,179,615,179,909], + [179, 0,882,179, 81,179,179, 81,179,878, 0,179,879], + [179,883,910,179, 0,909,909, 0,179,880, 21,621, 0], [179,179,179,179,179,179,179,179,179,179,179,179,179] ], "bgmap": [ diff --git a/project/floors/MT135.js b/project/floors/MT135.js index 19571a8..d4476a9 100644 --- a/project/floors/MT135.js +++ b/project/floors/MT135.js @@ -28,7 +28,338 @@ main.floors.MT135= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "1,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -38,16 +369,16 @@ main.floors.MT135= [420040,420065,420041,420041,420066,420041,420064,420041,420067,420041,420041,420065,420042], [420048,420073,420049,420049,420074,420049,420072,420049,420075,420049,420049,420073,420050], [420056,420081,420057,420057,420082,420057,420080,420057,420083,420057,420057,420081,420058], - [ 88, 0,179,179,179,179,179,179,179, 0, 0,179, 87], - [179, 0,179, 0, 0,179, 0, 0,179, 0, 0,179, 0], - [179, 0,179, 0, 0,179, 0, 0,179, 0,179,179, 0], - [179, 0,179,179, 0,179, 0,179,179, 0, 0,179, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [179,179,179,179, 0,179, 0,179,179,179,179,179,179], - [ 0,179, 0, 0, 0,179, 0, 0, 0, 0, 0, 0, 0], - [ 0,179,179,179,179,179, 0,179, 0,179,179, 0,179], - [ 0,179, 0, 0, 0, 0, 0,179, 0, 0, 0, 0,179], - [ 0, 0, 0, 0,179,179, 0, 0, 0,179,179, 0,179] + [ 88, 0,179,179,179,179,179,179,179,880, 21,179, 87], + [179,910,179,880, 21,179,876, 0,179, 21,910,179, 0], + [179, 0,179, 21,910,179, 0, 21,179,614,179,179,880], + [179,275,179,179,614,179,615,179,179, 0, 22,179,879], + [874, 0,875,232, 0,877, 0, 81,621, 21, 0,616, 0], + [179,179,179,179, 81,179,616,179,179,179,179,179,179], + [882,179,880,910,616,179, 0, 81, 0,619, 21, 0,885], + [884,179,179,179,179,179,878,179,910,179,179,615,179], + [911,179,878, 0,614, 81,880,179,879, 82,616, 0,179], + [ 0,619, 0,910,179,179, 0,614, 0,179,179,877,179] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT136.js b/project/floors/MT136.js index a6146eb..7eb99bf 100644 --- a/project/floors/MT136.js +++ b/project/floors/MT136.js @@ -12,7 +12,7 @@ main.floors.MT136= "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "rongyan.mp3", + "bgm": "fate.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -28,7 +28,360 @@ main.floors.MT136= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "10,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "12,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "12,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -38,16 +391,16 @@ main.floors.MT136= [420065,420041,420041,420066,420041,420041,420044,420041,420041,420067,420041,420041,420065], [420073,420049,420049,420074,420049,420049,420052,420049,420049,420075,420049,420049,420073], [420081,420057,420057,420082,420057,420057,420060,420057,420057,420083,420057,420057,420081], - [ 0, 0, 0, 0,179, 0, 87, 0,179, 0,179, 0, 88], - [ 0, 0,179, 0,179, 0, 0, 0,179, 0,179, 0, 0], - [179,179,179, 0,179,179, 0,179,179, 0,179,179, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [179, 0,179,179,179,179,179,179,179, 0,179,179,179], - [179, 0, 0, 0,179, 0, 0, 0, 0, 0,179, 0, 0], - [179, 0, 0, 0,179,179,179,179,179, 0,179, 0, 0], - [179,179,179, 0,179, 0, 0,179, 0, 0,179,179, 0], - [ 0, 0,179, 0,179, 0, 0,179, 0, 0,179, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [ 21, 0,619, 0,179, 0, 87, 0,179,911,179, 0, 88], + [ 22, 21,179,908,179,908, 0,876,179,910,179,908, 0], + [179,179,179, 81,179,179,616,179,179,619,179,179,232], + [879, 0,878, 0,616,875, 0,874,621, 0,232,908, 0], + [179,618,179,179,179,179,179,179,179, 81,179,179,179], + [179,911, 0,885,179,910,875,874,615, 0,179,937, 0], + [179, 0, 21, 0,179,179,179,179,179, 81,179, 0,618], + [179,179,179,619,179, 0,878,179, 0,615,179,179, 83], + [911,882,179, 82,179,879, 0,179, 22, 0,179, 0,911], + [883, 0,812, 0,619, 0,880,614, 0,884, 82,619, 0] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT137.js b/project/floors/MT137.js index 758a2bc..6bb237f 100644 --- a/project/floors/MT137.js +++ b/project/floors/MT137.js @@ -28,7 +28,206 @@ main.floors.MT137= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "3,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -38,16 +237,16 @@ main.floors.MT137= [420066,420041,420065,420041,420065,420041,420044,420041,420065,420041,420065,420041,420067], [420074,420049,420073,420049,420073,420049,420052,420049,420073,420049,420073,420049,420075], [420082,420057,420081,420057,420081,420057,420060,420057,420081,420057,420081,420057,420083], - [179, 0, 0, 0,179, 0, 88, 0,179, 0, 0, 0,179], - [179, 0,179, 0,179, 0, 0, 0,179, 0,179, 0,179], - [179, 0,179, 0,179,179, 0,179,179, 0,179, 0,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], - [179,179,179,179,179,179,179,179,179, 0,179,179,179], - [179, 0, 0,179, 0,179, 0, 0, 0, 0, 0, 0,179], - [179, 0, 0, 0, 0, 0, 0, 0,179, 0, 0, 0,179], - [179,179, 0,179,179,179, 0,179,179,179, 0,179,179], - [179, 0, 0, 0,179, 0, 0, 0,179, 0, 0, 0,179], - [179, 0, 0, 0,179, 0, 87, 0,179, 0, 0, 0,179] + [179, 0, 81, 0,179, 0, 88, 0,179, 0,812, 0,179], + [179,882,179,876,179,908, 0,876,179,874,179,911,179], + [179,883,179,908,179,179,615,179,179,910,179,885,179], + [179, 0,812, 0, 81,874, 0,875,615, 0, 82, 0,179], + [179,179,179,179,179,179,179,179,179,615,179,179,179], + [179, 0,878,179,910,179,908, 0, 81, 0,875, 0,179], + [179,880, 0,614, 0, 82, 0,876,179,911, 0, 21,179], + [179,179,812,179,179,179,614,179,179,179,619,179,179], + [179,882, 0,883,179,879, 0,880,179,878, 0, 22,179], + [179, 0,911, 0,179, 0, 87, 0,179,908,908,908,179] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT138.js b/project/floors/MT138.js index dc8e4d9..2c615f9 100644 --- a/project/floors/MT138.js +++ b/project/floors/MT138.js @@ -28,7 +28,294 @@ main.floors.MT138= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -39,15 +326,15 @@ main.floors.MT138= [420073,420049,420073,420049,420073,420049,420073,420049,420073,420049,420073,420049,420073], [420081,420057,420081,420057,420081,420057,420081,420057,420081,420057,420081,420057,420081], [179,179,179,179,179,179, 87,179,179,179,179,179,179], - [179, 0, 0, 0, 0,179, 0,179, 0,179, 0, 0, 0], - [179, 0,179,179, 0,179, 0,179, 0,179, 0,179,179], - [179, 0, 0, 0, 0,179, 0,179, 0,179, 0, 0,179], - [179, 0,179,179, 0,179, 0,179, 0,179, 0, 0,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], - [179, 0, 0,179,179,179, 0,179, 0,179,179,179,179], - [179,179, 0,179, 0,179, 0,179, 0, 0, 0, 0, 0], - [179, 0, 0,179, 0,179, 0,179, 0,179,179,179, 0], - [179, 0, 0, 0, 0,179, 88,179, 0, 0, 0, 0, 0] + [179, 0,885,911, 0,179, 0,179, 23,179, 0,911,885], + [179,618,179,179, 82,179, 0,179, 22,179,812,179,179], + [179, 0, 22,879, 0,179,614,179, 21,179,881, 0,179], + [179, 81,179,179,619,179, 81,179,812,179, 0,910,179], + [179, 0,910,615, 0, 81, 0,615, 0, 82,614, 0,179], + [179,880, 0,179,179,179,616,179,619,179,179,179,179], + [179,179,614,179, 22,179,908,179, 0, 83, 0,911, 0], + [179,880, 0,179, 21,179, 0,179,877,179,179,179,885], + [179, 0,910,619, 21,179, 88,179, 0,618, 0,911, 0] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT139.js b/project/floors/MT139.js index f030752..1b7c6d4 100644 --- a/project/floors/MT139.js +++ b/project/floors/MT139.js @@ -28,7 +28,272 @@ main.floors.MT139= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,4": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -38,16 +303,16 @@ main.floors.MT139= [420040,420041,420064,420041,420041,420041,420064,420041,420041,420041,420064,420041,420042], [420048,420049,420072,420049,420049,420049,420072,420049,420049,420049,420072,420049,420050], [420056,420057,420080,420057,420057,420057,420080,420057,420057,420057,420080,420057,420058], - [ 0, 0, 0, 0, 0,179, 88,179,179,179,179,179,179], - [ 0, 0,179, 0, 0,179, 0, 0, 0, 0, 0, 0,179], - [ 0,179,179,179, 0,179, 0,179,179,179,179,179,179], - [ 0, 0, 0, 0, 0,179, 0, 0, 0, 0, 0, 0, 87], - [179,179,179, 0,179,179, 0,179,179,179,179,179,179], - [ 0,179, 0, 0, 0,179, 0, 0, 0, 0, 0, 0,179], - [ 0,179, 0, 0, 0,179, 0,179,179,179,179,179,179], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], - [ 0,179,179,179, 0,179, 0,179, 0,179,179, 0,179], - [ 0,179, 0, 0, 0,179, 0,179, 0, 0, 0, 0,179] + [911, 0,610, 0,911,179, 88,179,179,179,179,179,179], + [ 0,882,179,883, 0,179, 0, 81,812, 22,882,911,179], + [ 81,179,179,179,812,179,877,179,179,179,179,179,179], + [ 0,910, 82, 0, 0,179, 0, 81,614, 0,881, 0, 87], + [179,179,179,812,179,179,614,179,179,179,179,179,179], + [882,179,874, 0,875,179, 0, 81,812, 22,883,911,179], + [882,179, 0,876, 0,179, 81,179,179,179,179,179,179], + [ 0,813,908, 0,908,619, 0,616, 0,908,877, 0,179], + [883,179,179,179, 83,179,908,179, 82,179,179,618,179], + [883,179,946,913,813,179,908,179, 0,911,881, 0,179] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT140.js b/project/floors/MT140.js index 9033d4d..2d7ef0e 100644 --- a/project/floors/MT140.js +++ b/project/floors/MT140.js @@ -9,21 +9,13 @@ main.floors.MT140= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [ - { - "name": "yuzhou.jpg", - "reverse": ":o", - "canvas": "bg", - "x": 0, - "y": 0 - } - ], + "images": null, "ratio": 1, "defaultGround": "ground", - "bgm": "guimie.mp3", + "bgm": "fate.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", + "parallelDo": null, "events": {}, "changeFloor": { "12,6": { @@ -36,7 +28,294 @@ main.floors.MT140= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "8,12": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -46,16 +325,16 @@ main.floors.MT140= [420064,420041,420041,420066,420041,420041,420065,420041,420041,420067,420041,420041,420064], [420072,420049,420049,420074,420049,420049,420073,420049,420049,420075,420049,420049,420072], [420080,420057,420057,420082,420057,420057,420081,420057,420057,420083,420057,420057,420080], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0,179, 0, 0,179, 0,179, 0, 0,179, 0, 0], - [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [ 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88], - [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [ 0, 0,179, 0, 0,179, 0,179, 0, 0,179, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0,179, 0, 0,179, 0,179, 0, 0,179, 0, 0], - [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [883,910,610, 21,911,618, 0,618,911, 21,610,910,882], + [910,883,179,879, 21,179,910,179, 21,878,179,882,910], + [179,179,179,179,179,179, 81,179,179,179,179,179,179], + [ 87, 0, 21, 0,812, 81, 0,911, 0,614, 81, 0, 88], + [179,179,179,179,179,179, 81,179,179,179,179,179,179], + [882, 0,179, 0, 21,179,812,179, 0,882,179,882, 0], + [ 0,913,813,911, 0,610, 0,610,911, 0,813, 0,913], + [884, 0,179, 0, 21,179, 21,179, 0,884,179,884, 0], + [179,179,179,179,179,179, 22,179,179,179,179,179,179], + [883,879,882,878,610, 82, 0, 82,610,884,884,911,911] ], "bgmap": [ [340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185,340185], diff --git a/project/floors/MT141.js b/project/floors/MT141.js index 101feec..cbd23c4 100644 --- a/project/floors/MT141.js +++ b/project/floors/MT141.js @@ -38,26 +38,132 @@ main.floors.MT141= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,2": [ + { + "type": "setValue", + "name": "flag:door_MT141_8_8", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:door_MT141_5_6", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + }, + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT142" + } + ], + "9,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "8,8": { + "0": { + "condition": "flag:door_MT141_8_8==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT141_8_8", + "operator": "=", + "value": "null" + } + ] + } + }, + "5,6": { + "0": { + "condition": "flag:door_MT141_5_6==1", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT141_5_6", + "operator": "=", + "value": "null" + } + ] + } + } + }, "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, 94], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17, 0,356, 0, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 17], + [ 0, 17, 17, 17, 17, 17, 17, 17, 83, 17, 17, 0, 0], + [ 0, 17,908, 0,908, 17, 17, 17,875, 17, 17, 17, 17], + [ 0, 17, 0,885, 0, 85,908,874, 23,820, 81, 0, 94], + [ 0, 17,908, 0,908, 17, 17, 17,876, 17, 17, 17, 17], + [ 0, 17, 17, 17, 17, 17, 17, 17, 85, 17, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17,908, 0,908, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17, 0,944, 0, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17,908, 0,908, 17, 0, 0], + [ 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0] ], "bgmap": [ diff --git a/project/floors/MT142.js b/project/floors/MT142.js index abb8d73..2b49a00 100644 --- a/project/floors/MT142.js +++ b/project/floors/MT142.js @@ -38,26 +38,71 @@ main.floors.MT142= } }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,1": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "flag:gaikai", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gaikai==78)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT131" + } + ] + } + ] + }, "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], - [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 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, 0, 0, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 0,344, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 0, 0, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,879, 17, 17, 17, 17, 17, 0], + [ 17, 17, 17, 17, 17, 17,880, 17, 17, 17, 17, 17, 0], + [ 92, 0, 81,821,878,880,911, 17, 17, 17, 17, 17, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0] ], "bgmap": [ diff --git a/project/floors/MT143.js b/project/floors/MT143.js index 245b5e5..8c075c7 100644 --- a/project/floors/MT143.js +++ b/project/floors/MT143.js @@ -12,7 +12,7 @@ main.floors.MT143= "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "rongyan.mp3", + "bgm": "fate.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -28,8 +28,299 @@ main.floors.MT143= } }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "10,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "11,5": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,9": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "10,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "6,11": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "1,10": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:gongdian", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:gongdian==122)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 4 + ], + "floorId": "MT144" + } + ] + } + ] + }, + "afterGetItem": { + "5,7": [ + "\t[bdf,hero]这一破对应的人进入在测试群内!" + ] + }, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, @@ -38,15 +329,15 @@ main.floors.MT143= [420040,420064,420041,420041,420041,420066,420067,420066,420067,420041,420041,420064,420042], [420048,420072,420049,420049,420049,420074,420075,420074,420075,420049,420049,420072,420050], [420056,420080,420057,420057,420057,420082,420083,420082,420083,420057,420057,420080,420058], - [ 0, 0, 0, 0,179, 0, 0, 0,179, 0, 0, 0,179], - [ 0, 0,179, 0,179, 0,179, 0,179, 0,179,179,179], - [179,179,179, 0,179, 0,179,179,179, 0, 0, 0, 0], - [ 88, 0, 0, 0, 0, 0, 0, 0, 0, 0,179,179,179], - [179,179,179, 0,179, 0,179,179,179, 0,179, 0, 0], - [ 0, 0,179, 0,179, 0,179, 0, 0, 0, 0, 0, 0], - [179, 0,179, 0,179, 0, 0, 0, 0, 0,179,179,179], - [179, 0,179, 0, 0, 0,179,179,179, 0,179, 0, 0], - [ 0, 0, 0, 0,179, 0, 0, 0, 0, 0, 0, 0, 0], + [888, 0,501, 0,179, 0,501, 0,179, 0,501,951,179], + [913,886,179,910,179,911,179,889,179, 83,179,179,179], + [179,179,179, 81,179, 82,179,179,179, 22, 81,501,889], + [ 88, 0,877, 0,501, 0, 82, 21, 21, 0,179,179,179], + [179,179,179,618,179, 47,179,179,179,610,179,888,913], + [911,883,179, 0,179, 23,179,913, 0, 0,501, 0,887], + [179,882,179, 21,179, 0,501, 0, 21, 0,179,179,179], + [179,813,179, 0, 83,911,179,179,179,813,179,882, 22], + [910, 0, 81,910,179, 0,813, 0,885, 0,813, 0,883], [179,179,179,179,179,179, 87,179,179,179,179,179,179] ], "bgmap": [ diff --git a/project/floors/MT144.js b/project/floors/MT144.js index 23abc73..4722236 100644 --- a/project/floors/MT144.js +++ b/project/floors/MT144.js @@ -12,7 +12,7 @@ main.floors.MT144= "images": [], "ratio": 1, "defaultGround": "ground", - "bgm": "rongyan.mp3", + "bgm": "fate.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", @@ -43,13 +43,13 @@ main.floors.MT144= [420080,420057,420082,420057,420082,420061,420025,420062,420083,420057,420083,420057,420080], [179,179,179,179,179,420069, 89,420070,179,179,179,179,179], [179,179,179,179,179,179, 86,179,179,179,179,179,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], + [913,911,911, 83,910, 81, 0, 81,910, 82,907,908,911], [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], + [913,911,911, 83,910, 81, 0, 81,910, 82,907,908,911], [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], + [913,911,911, 83,910, 81, 0, 81,910, 82,907,908,911], [179,179,179,179,179,179, 0,179,179,179,179,179,179], - [179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,179], + [911,908,907, 82,910, 81, 0, 81,910, 82,907,908,911], [179,179,179,179,179,179, 88,179,179,179,179,179,179] ], "bgmap": [ diff --git a/project/floors/MT145.js b/project/floors/MT145.js index dff72bd..4b98554 100644 --- a/project/floors/MT145.js +++ b/project/floors/MT145.js @@ -20,33 +20,250 @@ main.floors.MT145= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", - "firstArrive": [], + "bgm": "shengli.mp3", + "firstArrive": [ + { + "type": "setHeroIcon", + "name": "hero4.png" + }, + { + "type": "setValue", + "name": "item:I336", + "value": "0" + } + ], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "12,6": { + "floorId": "MT146", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,12": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "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] + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [111344,111344,111344,111344,879, 0,497, 0,881, 0,497, 0, 94], + [882,883,525, 81, 0,878,111344, 21, 0, 21,111344,910, 0], + [111344,111344,111344,111344, 82,111344,111344,111344,503,111344,111344,111344,111344], + [913,884,525, 81, 0,497,947,497, 0, 81, 0, 22, 0], + [111393,111393,111393,111393, 81,100049,912,100049,525,111393,111393,111393,612], + [111393,884,882,111393,910,100049,912,100049,882,111393, 0,882, 0], + [111393,883, 0,612, 0,100049, 0,100049,884,111393,883, 0,884] ], "bgmap": [ @@ -55,7 +272,19 @@ main.floors.MT145= ], "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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [100041,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT146.js b/project/floors/MT146.js index a5306f9..9e9e92e 100644 --- a/project/floors/MT146.js +++ b/project/floors/MT146.js @@ -20,14 +20,206 @@ main.floors.MT146= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT145", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT147", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "8,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,12": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -37,16 +229,16 @@ main.floors.MT146= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0,110913,110913], + [ 92, 0, 81, 0, 17, 17, 17,882,110913, 0,525, 0, 94], + [ 0,910,111344, 21,110913,884,883,612, 81, 21,110913,110913,110913], + [111344,111344,111344,497,110913,110913,110913,110913,110913, 81,110913,110913,110913], + [911,882,525, 0,911, 0,878, 0,497, 0,879, 0,911], + [110912,110912,110912, 81,110913,612,110920,110920, 81,110920,110920,924,110920], + [888,886,110912,910,110913, 0,882,110920,910,110920,887, 0,110920], + [911, 0,924, 0,110913,911,884,110920, 0, 81,888,911,110920] ], "bgmap": [ @@ -55,7 +247,19 @@ main.floors.MT146= ], "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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,100040,100041,100041], + [100041,100041,100041,100042, 0, 0, 0,100040,100041,100041,100043,100000,100000], + [100000,100000,100000,100044,100041,100041,100041,100043,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT147.js b/project/floors/MT147.js index 5786b2f..021e3fc 100644 --- a/project/floors/MT147.js +++ b/project/floors/MT147.js @@ -20,14 +20,206 @@ main.floors.MT147= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT146", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT148", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "1,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -36,26 +228,50 @@ main.floors.MT147= "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, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0], + [ 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0], + [ 17, 17, 17, 17,100040,100041,100041,100041,100042, 17, 17, 17, 17], + [ 0,913, 0, 17,100048,100000,100000,100000,100050, 17,110912,110912,110912], + [ 92, 0,883, 17,100048,100000,100000,100000,100050, 17,110912, 0, 94], + [110912,497,110912,110912,100048,100000,100000,100000,100050, 83, 83, 0,110912], + [884, 0, 21, 0,100056,100057,100057,100057,100058,935,110912,497,110912], + [110912,110912,110912,525,100064,100065,100065,100065,100066, 0,503, 0,110912], + [882, 0,910, 0,100072,100073,100073,100073,100074,110912,110912,882,110912], + [ 81,110912,110912,612,110912,884, 0,525, 0, 81,612, 0,110912], + [883, 0,911, 0,525, 0,911,110912,913,110912,110912,883,110912] +], + "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, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,480214,480215, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,480221,480222,480223, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,480229,480230,480231, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,480237,480238,480239, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,480245,480246,480247, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,480253,480254,480255, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [100041,100041,100042, 0, 0, 0, 0, 0, 0, 0,100040,100041,100041], + [100000,100000,100050, 0, 0, 0, 0, 0, 0, 0,100048,100000,100000], + [100000,100000,100044,100041,100041,100041,100041,100041,100041,100041,100043,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT148.js b/project/floors/MT148.js index 74629f7..25aa7f1 100644 --- a/project/floors/MT148.js +++ b/project/floors/MT148.js @@ -20,26 +20,231 @@ main.floors.MT148= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", - "firstArrive": [], + "bgm": "shengli.mp3", + "firstArrive": [ + { + "type": "setCurtain", + "time": 1000 + } + ], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT147", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT149", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "1,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ + [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 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, 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], + [ 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 92, 0,110005,882,175489,175490,175491,175492,175493,175494, 21,110005, 94], + [110912,883,110005,883,175497,175498,175499,175500,175501,175502, 0,924, 0], + [110912,882,110005,911,175505,175506,175507,175508,175509,175510, 21,110005, 21], + [110912, 0,110005, 21,175513,175514,175515,175516,175517,175518, 21,110005, 0], + [110912,924,110005,503,110005,110005,883, 0,110005,110005,612,110005,612], + [110912, 0, 22, 0,612, 81, 0,612, 81,882, 0, 82, 0], + [110912,911,110005,110005,110005,110005,911, 0,110005, 0,884,110538, 22] +], + "bgmap": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,100041, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,100041, 0, 0], + [ 0, 0, 0,110000, 0, 0, 0, 0, 0, 0,305, 0, 0], + [ 0, 0, 0,110000, 0, 0, 0, 0, 0, 0,305, 0, 0], + [ 0, 0, 0,110000, 0, 0, 0, 0, 0, 0,305, 0, 0], + [ 0, 0, 0,100040,100040,100040,100040, 0,100082, 0, 0, 0, 0], + [ 0, 0, 0, 0,100040,100040,100040,100040, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fgmap": [ + [ 0, 0, 0,175440,175441,175442,175443,175444,175445,175446,175447,175447, 0], + [ 0, 0, 0,175448,175449,175450,175451,175452,175453,175454,175455, 0, 0], + [ 0, 0, 0,175456,175457,175458,175459,175460,175461,175462,175463, 0, 0], + [ 0, 0, 0,175464,175465,175466,175467,175468,175469,175470,175471, 0, 0], + [ 0, 0, 0,175472,175473,175474,175475,175476,175477,175478,175479, 0, 0], + [ 0, 0, 0,175480,175481,175482,175483,175484,175485,175486,175487, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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,15 +252,21 @@ main.floors.MT148= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [100042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [100044,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041,100041], + [100000,100000,100000,175496,100000,100000,100000,100000,100000,100000,175503,100000,100000], + [100000,100000,100000,175504,100000,100000,100000,100000,100000,100000,175511,100000,100000], + [100000,100000,100000,175512,100000,100000,100000,100000,100000,100000,175519,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT149.js b/project/floors/MT149.js index 1ad5fc1..bfefe02 100644 --- a/project/floors/MT149.js +++ b/project/floors/MT149.js @@ -20,33 +20,335 @@ main.floors.MT149= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT148", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT150", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "1,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "5,2": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,2": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "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] + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17,130042,130042,130043,883,130042,130043,130042, 17, 17, 17], + [ 17, 17, 17,130042, 0,611, 0,521, 0,886, 17, 17, 17], + [ 17, 17, 17,130043,913,130042,882,130042,130042, 0, 17, 17, 17], + [ 17, 17, 17,130042,887,130042, 0, 82, 0,913, 17, 17, 17], + [ 17, 17, 17,130042,130043,130042,611,130042,130043,130042, 17, 17, 17], + [ 92,130043, 0, 81, 0,913, 0, 82, 0,913, 0,612, 94], + [ 0,130043,924,130042,130043, 83,130042,130042,611,130042,130043,130042,130042], + [ 0,525, 21, 0,612, 0,911,888, 0,503,911, 0,887], + [503,130042,130042,505,130043, 81,130042,130042,505,130043, 0, 21, 0], + [ 21,130042,886, 0,130042, 0,130042,913, 0,130042,611,130042,130042], + [911,130042,913,888,130042,910,130043, 0,887,130042, 0,911,130043], + [886,130043,130042,130042,130042, 0, 82,888, 0,130042,911,883,130042] ], "bgmap": [ @@ -55,7 +357,19 @@ main.floors.MT149= ], "bg2map": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,100040,100041,100041,100041,100041,100041,100042, 0, 0, 0], + [ 0, 0, 0,100048,100000,100000,100000,100000,100000,100050, 0, 0, 0], + [ 0, 0, 0,100048,100000,100000,100000,100000,100000,100050, 0, 0, 0], + [ 0, 0, 0,100048,100000,100000,100000,100000,100000,100050, 0, 0, 0], + [ 0, 0, 0,100048,100000,100000,100000,100000,100000,100050, 0, 0, 0], + [100041,100041,100041,100043,100000,100000,100000,100000,100000,100044,100041,100041,100041], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT150.js b/project/floors/MT150.js index de2f68b..a0ba583 100644 --- a/project/floors/MT150.js +++ b/project/floors/MT150.js @@ -20,23 +20,321 @@ main.floors.MT150= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT149", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT151", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "7,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,4": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "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], + [ 17, 17, 17, 17, 17, 17, 17, 17, 0, 0, 0, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17,100029,100030,100030,100031, 17, 17], + [ 17, 17, 17, 17, 17, 17,882,100037,100000,100000,100039,884, 23], + [ 17, 17, 17, 17, 17, 17,883,100045,100046,100046,100047, 0,911], + [ 17, 17, 17, 17, 17, 17,911,100064,100065,100065,100066,611,240054], + [ 17, 17, 17, 17, 17, 17,611,100072,100073,100073,100074, 0, 0], + [ 92, 0, 21, 22, 0,924, 0,882,884, 0,503, 0, 94], + [130042,130042,240027,130042, 82,240054,240054,240054,240054,505,240054,240054,240054], + [ 0, 81, 0, 21, 21, 0,503, 0,883, 0,240054, 21, 22], + [521,240023, 81,240023,240023,611,240023, 83,240023,884,240054, 0, 21], + [911,240023, 0,886,911, 0,240023,505,240023, 0, 81,611, 0], + [888,240023,521,240023,240023, 82,240023,913,240023,521,240054,240054,240054], + [886,240023, 0,887,913, 0,240023,938,240023, 0,911,887,888] +], + "bgmap": [ + +], + "fgmap": [ + [ 0, 0, 0, 0, 0, 0, 0,100144,100145,100146,100147, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,100152,100153,100154,100155, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,100160,100161,100162,100163, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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,15 +345,21 @@ main.floors.MT150= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,100040,100041,100041,100041,100041,100041,100041], + [ 0, 0, 0, 0, 0, 0,100048,100000,100000,100000,100000,100000,100000], + [ 0, 0, 0, 0, 0, 0,100048,100000,100000,100000,100000,100000,100000], + [ 0, 0, 0, 0, 0, 0,100048,100000,100000,100000,100000,100000,100000], + [100041,100041,100041,100041,100041,100041,100043,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT151.js b/project/floors/MT151.js index be73b66..aec7a31 100644 --- a/project/floors/MT151.js +++ b/project/floors/MT151.js @@ -20,14 +20,272 @@ main.floors.MT151= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT150", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT152", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,2": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "1,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, @@ -35,27 +293,51 @@ main.floors.MT151= "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] + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [910, 0,611, 0,911, 17, 0, 17,240023,240023,240023,910,240023], + [887,910,240054,503,240054, 17, 0, 17, 23,886,240023,910,240023], + [240054,240054,240054, 81,240054, 17, 0, 17,887, 0,510, 0,240023], + [ 0,885,240054,910,888, 17, 0, 17,240023,240023,240023, 81,240023], + [ 92, 0,611, 0,910, 17, 17, 17,910, 0,910, 0, 94], + [240054,240054,240054,611,100168,100169,100169,100169,100170,611,240023,240023,240023], + [ 0,505, 0, 0,100176,100177,100177,100177,100178, 0, 21, 21, 22], + [913,240201,611,240201,100184,100185,100185,100185,100186,505,240201,240201,240201], + [886,240201, 0,886, 0, 17, 17, 17,240201, 0,885, 0,240201], + [ 23,240201, 81,240201,505, 17, 0, 17,240201,510,240201, 82,240201], + [240201,240201, 0,887, 0, 17, 0, 17,240201, 0,889, 0,240201] ], "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, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,100171,100172,100172,100172,100173, 0, 0, 0, 0], + [ 0, 0, 0, 0,100179,100180,100180,100180,100181, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "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], + [100041,100041,100041,100041,100042, 0, 0, 0,100040,100041,100041,100041,100041], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0,100048,100000,100000,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT152.js b/project/floors/MT152.js index 99a3dbe..23d9878 100644 --- a/project/floors/MT152.js +++ b/project/floors/MT152.js @@ -20,33 +20,337 @@ main.floors.MT152= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT151", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT153", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "1,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "12,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "11,12": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,12": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,4": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "3,2": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, + "afterGetItem": { + "0,12": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], + [ 22,887,911,521, 0, 17, 17, 17, 17, 17, 17, 17, 17], + [190007,190007,190007,190007, 81, 17, 17, 17, 17, 17, 17, 17, 17], + [ 22,886,911,521, 0, 17, 17, 17, 17, 17, 17, 17, 17], + [190007,190007,190007,190007, 81, 17, 17,886,193142,886,887,193142,193142], + [ 92, 0, 21,884, 0, 17, 17,912,193142,193142,510,193142, 94], + [190007,190007,190007,190007,611, 17, 17, 0,510, 82, 0,885, 0], + [887,888,913,510, 0, 17, 17, 17, 17,193142,193142,193142,505], + [192927,192927,192927,192927,882, 17, 17, 17, 17, 17, 0, 82, 0], + [ 0,506, 0,505, 0, 17, 17, 17, 17, 17,910,193142,883], + [912,192927,913,192927,884, 17, 17, 17, 17, 17, 81,193142,882], + [953,192927, 0, 81, 0, 81,521, 0,883,884, 0,505, 0] ], "bgmap": [ @@ -55,7 +359,19 @@ main.floors.MT152= ], "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], + [100041,100041,100041,100041,100042, 0, 0, 0, 0, 0, 0, 0, 0], + [100000,100000,100000,100000,100050, 0, 0, 0, 0, 0, 0, 0, 0], + [100000,100000,100000,100000,100050, 0, 0, 0, 0, 0, 0, 0, 0], + [100000,100000,100000,100000,100050, 0, 0,100040,100041,100041,100041,100041,100041], + [100000,100000,100000,100000,100050, 0, 0,100048,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0,100048,100000,100000,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0,100056,100057,100051,100000,100000,100000], + [100000,100000,100000,100000,100050, 0, 0,70106,70107,100056,100051,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0, 0,70106,100048,100000,100000], + [100000,100000,100000,100000,100050, 0, 0, 0, 0, 0,100048,100000,100000], + [100000,100000,100000,100000,100044,100041,100041,100041,100041,100041,100043,100000,100000] ], "fg2map": [ diff --git a/project/floors/MT153.js b/project/floors/MT153.js index d2a43a1..ac4f836 100644 --- a/project/floors/MT153.js +++ b/project/floors/MT153.js @@ -20,33 +20,337 @@ main.floors.MT153= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "shengli.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT152", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT154", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "9,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "9,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "5,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "1,7": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:dayishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dayishenghuo==90)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 3 + ], + "floorId": "MT153" + } + ] + } + ] + }, + "afterGetItem": { + "9,5": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [ 17, 17, 17, 17, 17, 0, 89, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 0, 17, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,657, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17, 86, 0, 17, 17, 17, 17, 17], + [ 17, 17, 17, 17, 17, 17,357, 0, 17, 17, 17, 17, 17], + [ 0, 0,192927,888,886, 17, 0, 17, 0,953, 0, 17, 17], + [ 92, 0,192927,887, 0, 17,914, 17,912, 0,912, 17, 17], + [192927,505,192927,192927,506, 17, 0, 17,110282,506,110282, 17, 17], + [ 21, 0, 0, 22, 0, 17,506, 17,888, 0,888, 17, 17], + [192927,192927,510,192927,192927,193330, 83,193330,110282, 83,110282, 17, 17], + [ 0, 23, 0, 82,510, 0,886, 0,510, 0,887, 17, 17], + [ 81,193330,506,193330,193330,506,193330,193330,193330,506,193330, 17, 17], + [ 0,889, 0,193330,889, 0,912,193330,912, 0,889, 17, 17] ], "bgmap": [ @@ -55,7 +359,19 @@ main.floors.MT153= ], "bg2map": [ - + [ 0, 0, 0, 0, 0,100048,100000,100050, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,100056,100057,100058, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,70106,70107,70108, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0, 0, 0], + [100041,100041,100041,100041,100042, 0,657, 0,100040,100041,100042, 0, 0], + [100000,100000,100000,100000,100050, 0,657, 0,100048,100000,100050, 0, 0], + [100000,100000,100000,100000,100050, 0,657, 0,100048,100000,100050, 0, 0], + [100000,100000,100000,100000,100050, 0,657, 0,100048,100000,100050, 0, 0], + [100000,100000,100000,100000,100044,100041,100041,100041,100043,100000,100050, 0, 0], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100050, 0, 0], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100050, 0, 0], + [100000,100000,100000,100000,100000,100000,100000,100000,100000,100000,100050, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT154.js b/project/floors/MT154.js index 644b74f..e516cfd 100644 --- a/project/floors/MT154.js +++ b/project/floors/MT154.js @@ -19,7 +19,7 @@ main.floors.MT154= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "lfmg.mp3", "firstArrive": [ { "type": "setCurtain", @@ -27,30 +27,574 @@ main.floors.MT154= } ], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", - "events": {}, - "changeFloor": {}, + "parallelDo": null, + "events": { + "6,9": [ + { + "type": "setValue", + "name": "status:exp", + "operator": "+=", + "value": "2000" + }, + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "6,0": { + "floorId": "MT155", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "4,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "9,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "1,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "0,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "11,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "0,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ] + }, + "afterGetItem": { + "11,0": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [ 22,144, 0,889, 0,144, 91,144, 0,913,913,953,144], + [ 21,144, 81,144,814,144,954,144,815,144,144,144,144], + [221,144, 0, 81, 0,144, 83,144, 83,144,913, 0,144], + [ 81,144,910,144, 0,221, 0,912, 0,925, 0,886,144], + [ 0, 82, 0,144,144,144,144,144,144,144,887, 0,144], + [913,144,144,144,886, 0, 23, 0,888,144,144,814,144], + [ 0,221, 0,144, 0,144,144,144, 0,144,911, 0,144], + [ 82,144, 21,144,925,144,144,144,221,144, 0, 22,144], + [ 82,144, 21,144, 81,144,144,144, 82,144,221,144,144], + [925,144, 0,221, 0, 82, 0, 82, 0, 81, 0,913, 0], + [814,144,144,144,925,144,914,144,925,144,144,144,925], + [ 0,913,144,913, 0,144, 0,144,888,144, 0, 21, 0], + [913,933,144,887,888,144, 0,144,912,144,913, 0,886] ], "bgmap": [ diff --git a/project/floors/MT155.js b/project/floors/MT155.js index 9f2f575..f2bca7f 100644 --- a/project/floors/MT155.js +++ b/project/floors/MT155.js @@ -19,33 +19,571 @@ main.floors.MT155= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "lfmg.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT154", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT156", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "7,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "5,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "11,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "7,0": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,0": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "12,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "0,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "11,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ] + }, + "afterGetItem": { + "12,11": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [ 22,886,913,815, 0,888, 0,815,913,887, 22,144,913], + [144,144,144,144,144, 81,144,144,144,144,144,144,887], + [912,144, 0,887,888, 0,223, 0, 23,913, 0, 82,815], + [888,144, 81,144,144,144,144,921,144,144,144,144,886], + [921, 81, 0,815, 0,913,913, 0, 0, 21, 21,144,888], + [886,144,886,144, 81,144,144,144,223,144,144,144,144], + [887,144, 0,144,888, 0,814, 0, 0, 21, 83,955, 94], + [144,144,223,144,144,144, 82,144,144,144,144,144,144], + [888, 0, 0,913, 0,814, 0,814, 0, 21, 0,927, 0], + [144, 81,144,144,223,144,912,144,913, 0,888,144,913], + [144,886, 0,888, 0,144,913,144,144,921,144,144,913], + [144,144,814,144,144,144, 0,144,886, 0,887,144,953], + [ 21,888, 0,887, 21,144, 93,144, 0,912, 0,144,144] ], "bgmap": [ diff --git a/project/floors/MT156.js b/project/floors/MT156.js index 38c9884..bf4edc6 100644 --- a/project/floors/MT156.js +++ b/project/floors/MT156.js @@ -19,33 +19,482 @@ main.floors.MT156= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", - "firstArrive": [], + "bgm": "lfmg.mp3", + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", - "events": {}, - "changeFloor": {}, + "parallelDo": null, + "events": { + "10,1": [ + { + "type": "openShop", + "id": "shop1", + "open": true + } + ] + }, + "changeFloor": { + "0,6": { + "floorId": "MT155", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT157", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "1,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "9,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ] + }, "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] + [144,144,144,144,144, 0, 91, 0,144,144,144,144,144], + [144,886, 0,887,144, 21, 0, 21,144, 7,131, 8,144], + [144, 0,913, 0,144,144,956,144,144,888, 0,913,144], + [144,144,144,927,144,886, 0,888,144,144,927,144,144], + [144,887,888, 0,921, 0,913, 0,921, 0, 0,889,144], + [144,144,144, 82,144,144,144,144,144,144,613,144,144], + [ 92, 0,613, 0,921, 0,886,887, 0,927, 0, 21,144], + [144,915,144,887,144,144,144,144,144,144, 81,144,144], + [144,815,144,888,144,939,632, 81,886, 0,927, 0,144], + [144, 0,144, 0,144,144,144,144, 0,887, 0,913,144], + [144,886,144,815,144,886, 22,144,144,144,613,144,144], + [144, 0, 82, 0,927, 0,887,144,886,887, 0,912,144], + [144,144,144,144,144,144,144,144,144,144,144,144,144] ], "bgmap": [ diff --git a/project/floors/MT157.js b/project/floors/MT157.js index f92ef51..f660355 100644 --- a/project/floors/MT157.js +++ b/project/floors/MT157.js @@ -19,33 +19,441 @@ main.floors.MT157= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "lfmg.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT156", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT158", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "12,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "4,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "11,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "2,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ] + }, "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] + [144,144,144,913, 0,144, 91,144, 0, 82, 0,913, 0], + [912, 0,632, 0,888,144,957,144, 0,144,144,144,887], + [ 21,886,144,887, 0,144, 83,144,922,144,886,144, 0], + [144,144,144,144,613,144, 22,144,912,144, 23,144,613], + [887, 23,632, 0, 0,144, 21,144,942,144, 0,632, 0], + [144,144,144, 82,144,144, 21,144,144,144,144,144, 81], + [888, 0,886, 0,613, 81, 0, 81,613, 0,887,888, 0], + [144, 81,144,144,144,144,927,144,144,927,144,144,144], + [144, 0, 0,922, 0,144, 0,144,886, 0,888,913, 0], + [144,144,922,144,912,144,912,144,144,144,144,144, 83], + [144,912, 0,144,888,144,913,144,889, 0,922,912, 0], + [144,887,888,144,886,144, 0,144, 0,912,144,144,144], + [144,144,144,144,144,144, 93,144, 22, 0,144,144,144] ], "bgmap": [ diff --git a/project/floors/MT158.js b/project/floors/MT158.js index 110fa0e..85ca5a0 100644 --- a/project/floors/MT158.js +++ b/project/floors/MT158.js @@ -19,33 +19,301 @@ main.floors.MT158= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "lfmg.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT159", + "loc": [ + 12, + 6 + ] + }, + "6,12": { + "floorId": "MT157", + "loc": [ + 6, + 0 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "12,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ], + "11,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "flag:daershenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:daershenghuo==72)", + "true": [ + { + "type": "openDoor", + "loc": [ + 1, + 6 + ], + "floorId": "MT158" + } + ] + } + ] + }, "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] + [914,144,914,144,910, 0, 81, 0,144,144,144,144,144], + [913,144,913,144,910,910,144,910,144, 23, 0,482, 0], + [ 83,144, 83,144,144, 81,144, 0,922, 0, 22,144, 47], + [910,910,910, 81,911,910,144, 81,144,144,144,144,144], + [144,144,144,144,144,144,144, 0, 81,922, 0, 21, 0], + [144,144,144, 0, 0, 0,144,913,144,144,482,144,913], + [ 89, 86, 0, 0,261, 0, 83, 0,144,913, 0,144,887], + [144,144,144, 0, 0, 0,144,922,144,912,889,144, 0], + [144,144,144,144,144,144,144, 82,144,144,144,144,482], + [ 0,910,910,910, 0, 81, 0, 0,922, 0,913,886, 0], + [ 82,144,144,144, 82,144,915,144,144,144,144,144, 81], + [ 0,913,144,913, 0,144, 0,144,912,913,144,910, 0], + [913, 0,144, 0,913,144, 93,144,889, 0,482, 0,910] ], "bgmap": [ diff --git a/project/floors/MT159.js b/project/floors/MT159.js index 6b5de71..1120b32 100644 --- a/project/floors/MT159.js +++ b/project/floors/MT159.js @@ -19,33 +19,452 @@ main.floors.MT159= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "wangqiuwangzi.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT160", + "loc": [ + 12, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "6,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "6,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "12,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,0": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "3,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ] + }, + "afterGetItem": { + "11,0": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [887, 0,551, 0,144,410088,410089,410090,144,911,144,953, 0], + [888,886,144,913,144,410096,410097,410098,144,888,144,144,520], + [144,144,144, 0,144,410104,410105,410106,144, 0,519,911, 0], + [144,886,144,279,144,410112,410113,410114,144, 0,144, 0,911], + [887, 0,519, 0,144,410120,410121,410122,144,548,144,886, 0], + [144,144,144, 82,144,144,144,144,144, 81,144,144,144], + [ 92, 0,548, 0,913, 0,548, 81, 0, 0,915, 0, 0], + [144,144,144,144,144, 81,144,144, 82,144,144,144,144], + [887,886,912,551, 82, 0, 0,144,279,144,144,144,144], + [144,144,144,144,144,144,519,144, 0,913,144,912,144], + [886, 0,520, 0,144,887, 0,144,888, 0,551, 0,144], + [912,887,144,888, 81, 0,913,144, 0, 21,144, 23,144], + [144,144,144,144,144,144,144,144,144,144,144,144,144] ], "bgmap": [ diff --git a/project/floors/MT160.js b/project/floors/MT160.js index b57be9b..0778bc5 100644 --- a/project/floors/MT160.js +++ b/project/floors/MT160.js @@ -19,33 +19,439 @@ main.floors.MT160= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "wangqiuwangzi.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", - "events": {}, - "changeFloor": {}, + "parallelDo": null, + "events": { + "3,1": [ + { + "type": "openShop", + "id": "shop2", + "open": true + } + ] + }, + "changeFloor": { + "12,6": { + "floorId": "MT159", + "loc": [ + 0, + 6 + ] + }, + "6,0": { + "floorId": "MT161", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "6,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "8,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "4,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "7,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ] + }, + "afterGetItem": { + "0,6": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + "获得龙珠,集齐七颗即可获得一套强力装备。一颗龙珠增加1000攻防,2500魔防,300000生命", + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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] + [144,144,144,144,144,144, 91,144,911, 0, 83, 0,144], + [144,144, 9,130, 10,144,229,144,914,912,144,913,144], + [144,144,913, 0,913,144, 83,144,144,144,144, 81,144], + [144,144,144, 82,144,144,913,144, 0, 82, 0,913,144], + [913,913, 22, 0,520, 81, 0, 81,913,144,913,911,144], + [144,144,144,144,144,144,519,144,144,144,144,144,144], + [953,144,519, 81, 0, 22, 0, 0,279, 0, 21, 0, 94], + [913,144, 0,144, 21, 0, 21, 0,144, 81,144,144,144], + [912,144,913,144,144,144,144,144,144,519,144,936,912], + [552, 83, 0,144,889, 82,911,911, 82, 0,144,913, 0], + [144,144,144,144,552,144,144,144,144,887,144,144,552], + [ 23, 22,144,887, 0,144,886, 0,144,888,144,886, 0], + [ 21, 0,520, 0,888, 82, 0,551, 81, 0,520, 0,912] ], "bgmap": [ diff --git a/project/floors/MT161.js b/project/floors/MT161.js index 6aa6de0..c91bf97 100644 --- a/project/floors/MT161.js +++ b/project/floors/MT161.js @@ -19,33 +19,441 @@ main.floors.MT161= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "wangqiuwangzi.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT160", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT162", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "12,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "3,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "0,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "5,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "9,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "8,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ] + }, "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] + [144,144,144,144,144,144, 91,144, 21, 21, 0, 22, 23], + [144,144,144,144,144,144, 0,144,144,144,532,144,144], + [912,886,144,886, 0,144,913, 81, 0,552, 0, 21, 21], + [887, 0,354, 0,913,532, 0,144, 22,144,144,144,144], + [144,144,144,630,144,144,886,144, 0,144,913, 0,913], + [ 0,888,886, 21, 0, 82, 0,144,552,144, 0,889, 0], + [ 81,144,144,144,532,144, 21,144, 0,144,144,144,260], + [ 81,144,144,144, 0,144,551,144, 0, 21,630, 0, 0], + [ 0,888,887,913, 0,144, 81,144,886,144,144,144,887], + [532,144,144,144, 81,144,914,144, 0, 21, 83, 0, 0], + [ 0,144,144,144, 81,144,912,144,630,144,144,144,630], + [354,144,144,144, 82,144, 0,144, 0,913,144,913, 0], + [ 0,912,941,912, 0,144, 93,144,888,886,144,887,888] ], "bgmap": [ diff --git a/project/floors/MT162.js b/project/floors/MT162.js index ba4b57e..d787cec 100644 --- a/project/floors/MT162.js +++ b/project/floors/MT162.js @@ -19,39 +19,319 @@ main.floors.MT162= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "wangqiuwangzi.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT161", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT163", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "9,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "10,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "1,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ + [144,144,144,144,144,144, 91,144,144,144,144,144,144], + [144,144,144,144,144,144, 0,887, 0,260, 0,887,144], + [144,144,144,144,144,144,630,144,144,144,144, 0,144], + [ 23, 21,144,887, 0, 81, 0,886, 0, 83, 0,886,144], + [ 22, 21,260, 0,144,144,144,144,144,144,630,144,144], + [144,144,144, 81,144,410216,410217,410218, 21, 0, 0, 0,144], + [144,144,144,630,144,410224,410225,410226, 0,888,144, 81,144], + [144, 0,886, 0,144,410232,410233,410234,912, 0,144, 0,144], + [144, 82,144, 81,144,144,144,144,144,354,144,911,144], + [144,354,144,260,144,886, 0,887, 0, 0,144, 0,144], + [144, 0,144, 0,144, 0,520, 0,144, 81,144, 81,144], + [144,889, 21,912,144,144, 0,144,144, 0,911, 0,144], + [144,144,144,144,144,144, 93,144,144,144,144,144,144] +], + "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, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,410086, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,410094, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,410102, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 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": [ diff --git a/project/floors/MT163.js b/project/floors/MT163.js index bb708ba..c83d349 100644 --- a/project/floors/MT163.js +++ b/project/floors/MT163.js @@ -19,33 +19,177 @@ main.floors.MT163= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "wangqiuwangzi.mp3", "firstArrive": [], "eachArrive": [], - "parallelDo": "if (core.ui.getContextByName('bg1')) {\n\tvar lastTime = core.getFlag('lastWeatherTime1', 0);\n\t// 每多少毫秒重绘一次;天气效果默认都是30\n\tif (timestamp - lastTime < 60) {\n\t\tcore.removeFlag('lastWeatherTime1');\n\t}\n\tif (timestamp - lastTime > 60) {\n\t\tcore.clearMap('bg1'); // 清空背景层\n\t\tvar lastOffsetY = core.getFlag('lastOffsetY', 0); // 上次的offset\n\t\tvar image = core.material.images.images[\"Sky.jpg\"]; // 获得图片,这里写图片名\n\t\tvar width = image.height,\n\t\t\theight = image.width; // 获得宽高\n\t\t// 绘制下一次,参见drawImage的API:http://www.w3school.com.cn/tags/canvas_drawimage.asp\n\t\tif (lastOffsetY + 640 > height) { // 需要首尾相接\n\t\t\t// 尾部\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, height - lastOffsetY, width, 0, 0, height - lastOffsetY, width);\n\t\t\t// 首部\n\t\t\tcore.ui.drawImage('bg1', image, 0, 0, lastOffsetY + 640 - height, width, height - lastOffsetY, 0, lastOffsetY + 640 - height, width);\n\t\t} else { // 不需要,直接绘制\n\t\t\tcore.ui.drawImage('bg1', image, lastOffsetY, 0, 640, width, 0, 0, 640, width);\n\t\t}\n\t\t// 移动图片\n\t\tlastOffsetY += 1; // 这里是每次移动的像素\n\t\tif (lastOffsetY > height) lastOffsetY -= height;\n\t\tcore.setFlag('lastOffsetY', lastOffsetY);\n\t\tcore.setFlag('lastWeatherTime1', timestamp); // 记录时间\n\t}\n} else {\n\tcore.createCanvas('bg1', 0, 0, 640, 640, 11)\n}", + "parallelDo": null, "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT162", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT164", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, + "afterBattle": { + "11,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "12,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ], + "floorId": "MT163" + } + ] + } + ], + "12,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasanshenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasanshenghuo==51)", + "true": [ + { + "type": "openDoor", + "loc": [ + 10, + 0 + ] + } + ] + } + ] + }, + "afterGetItem": { + "8,0": [ + { + "type": "setValue", + "name": "status:atk", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:mdef", + "operator": "+=", + "value": "2500" + }, + { + "type": "setValue", + "name": "status:def", + "operator": "+=", + "value": "1000" + }, + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "300000" + }, + { + "type": "setValue", + "name": "flag:qilongzhu", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:qilongzhu==7)", + "true": [ + { + "type": "setValue", + "name": "item:I948", + "operator": "+=", + "value": "1" + } + ] + } + ] + }, "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, 89, 0,953, 0, 86, 0, 0], + [110633,110634,110635, 0, 0, 17, 17, 17, 17, 17, 17, 17,263], + [110641,110642,110643, 0, 0,410129,410130,410131,410132, 0, 0, 17, 83], + [110649,110650,110651, 0,410136,410137,410138,410139,410140,410141, 0, 17, 83], + [ 0, 0, 0, 0,410144,410145,410146,410147,410148,410149, 0, 17, 82], + [110633,110634,110635, 0,410152,410153,410154,410155,410156,410157, 0, 17, 82], + [110641,110642,110643, 0,410160,410161,410162,410163,410164,410165, 0, 17, 81], + [110649,110650,110651, 0,410168,410169,410170,410171,410172,410173, 0, 17, 81], + [ 0, 0, 0, 0,410176,410177,410178,410179,410180,410181, 0, 17,260], + [110633,110634,110635, 0,410184,410185,410186,410187,410188,410189, 0, 17, 0], + [110641,110642,110643, 0, 0, 0, 0, 0, 0, 0, 0, 17,914], + [110649,110650,110651, 0, 0, 17, 17, 17, 17, 17, 17, 17,914], + [ 0, 0, 0, 0, 0, 17, 93, 0,912,912, 0,260, 0] ], "bgmap": [ @@ -54,7 +198,19 @@ main.floors.MT163= ], "bg2map": [ - + [144,144,144,144,144,144, 0, 0, 0, 0, 0, 0, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144,144,144,144,144,144,144, 0], + [144,144,144,144,144,144, 0, 0, 0, 0, 0, 0, 0] ], "fg2map": [ diff --git a/project/floors/MT164.js b/project/floors/MT164.js index 01443bf..e972f26 100644 --- a/project/floors/MT164.js +++ b/project/floors/MT164.js @@ -9,36 +9,528 @@ main.floors.MT164= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", - "firstArrive": [], + "bgm": "gaolikangzhi.mp3", + "firstArrive": null, "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT165", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "7,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "12,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 91, 4, 4, 4, 4, 4, 4], + [891,892,913,913,950, 81, 0, 81,950,913,913,892,890], + [ 4, 4, 4, 4, 4, 4,633, 4, 4, 4, 4, 4, 4], + [891, 4,911, 0,883, 4, 0, 4,882, 0,911, 4,890], + [887, 4, 0, 22, 0, 4,885, 4, 0, 22, 0, 4,886], + [528, 4,887, 0,913, 4, 0, 4,913, 0,886, 4,528], + [ 82, 4, 4,949, 4, 4,633, 4, 4,949, 4, 4, 82], + [ 21, 0,882, 0,529, 0, 0, 0,529, 0,883, 0, 21], + [ 4, 81, 4, 4, 4, 4, 83, 4, 4, 4, 4, 82, 4], + [ 0,528, 0,882, 0,633, 0,633, 0,883,884, 0, 21], + [ 4, 4, 4, 4,529, 4,915, 4,633, 4, 4,546, 4], + [912,888, 4,883, 0, 4, 0, 4,882, 4,886, 0,887], + [886, 0,528, 0,884, 4, 0, 4, 21, 4, 0, 23, 0] ], "bgmap": [ diff --git a/project/floors/MT165.js b/project/floors/MT165.js index 42d3e70..f91f008 100644 --- a/project/floors/MT165.js +++ b/project/floors/MT165.js @@ -9,36 +9,571 @@ main.floors.MT165= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", - "events": {}, - "changeFloor": {}, + "events": { + "6,1": [ + { + "type": "openShop", + "id": "shop3", + "open": true + } + ] + }, + "changeFloor": { + "6,12": { + "floorId": "MT164", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT166", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "10,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,0": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [912, 0,549, 0,891, 4,101, 4,886, 0,887, 0, 4], + [893,912, 4,890, 0, 4,102, 4, 0,886, 0,887, 4], + [ 4, 4, 4, 4,550, 4,913, 4,550, 4, 4, 82, 4], + [891, 4, 0, 21, 0, 4,913, 4, 0,912, 81,910, 0], + [892, 4,887, 0,886, 4,546, 4,892, 0, 4, 0,910], + [950, 4, 4,546, 4, 4, 83, 4, 4,546, 4, 4, 4], + [ 0,912, 21, 0,949, 81, 0, 82,911, 0,529, 21, 94], + [ 4, 4, 4, 4, 4, 4,529, 4, 4,546, 4, 4, 4], + [ 0,887,886, 0,949, 81, 0, 4,886, 0, 21,950, 0], + [546, 4, 4,950, 4, 4,885, 4, 0,887, 0, 4,891], + [890, 4,892, 0,912, 4, 0,528, 21, 0,888, 4,890], + [892, 4, 0,540, 0, 4, 21, 4,949, 4, 4, 4, 4], + [ 4, 4, 4,934, 4, 4, 93, 4, 0,913, 0, 82,914] ], "bgmap": [ diff --git a/project/floors/MT166.js b/project/floors/MT166.js index 6252efe..ff824c6 100644 --- a/project/floors/MT166.js +++ b/project/floors/MT166.js @@ -9,36 +9,563 @@ main.floors.MT166= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT165", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT167", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "3,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 21, 4, 0, 91, 0, 4, 4, 4, 4, 4], + [ 21, 21,529, 0, 4,888, 0,913, 4,890, 0,891, 4], + [ 4, 4, 4, 81, 4, 4,528, 4, 4, 4,550, 4, 4], + [891,913, 4, 0,549, 0, 0,888, 0,528, 0, 21, 21], + [913, 0,950, 0, 4,529, 4, 4, 4, 4, 83, 4, 4], + [ 4, 4, 4,633, 4, 0,950, 0, 4, 0, 22,546, 0], + [ 92, 0,913, 0, 81,913, 4,912, 4,890, 0, 4,912], + [ 4, 4, 4,529, 4, 0, 4,890, 4, 0,891, 4,892], + [ 0, 81,913, 0, 4,949, 4, 4, 4,549, 4, 4, 4], + [528, 4, 0,888, 4, 0, 82,949, 21, 0, 81,911, 0], + [886, 4, 4, 4, 4,913, 4, 4, 4,886, 4, 4,549], + [887, 4,913,886, 4, 0,549, 0,913, 0, 4,890, 0], + [ 4, 4,887, 0,546, 0, 4, 4, 4,888, 4, 23,891] ], "bgmap": [ diff --git a/project/floors/MT167.js b/project/floors/MT167.js index 99159a1..468bba1 100644 --- a/project/floors/MT167.js +++ b/project/floors/MT167.js @@ -9,36 +9,395 @@ main.floors.MT167= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT166", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT168", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 4,891, 0,499, 0, 4,888,888,549,912,912, 4, 4], + [ 4,892,890, 4,911, 4, 4, 4, 81, 4, 4, 4, 4], + [ 4, 4, 4, 4, 81, 4,886,886,550,887,887, 4, 4], + [ 4,891, 4, 0,891, 4, 4, 4, 81, 4, 4, 4, 4], + [ 4,890, 4,890, 0,913, 0, 83, 21, 0, 21, 4, 4], + [ 4,550, 4, 4,540, 4, 82, 4, 0, 22, 0, 21, 94], + [ 4, 0,911, 81, 0,913, 0, 4,950, 4, 4, 4, 4], + [ 4, 4, 4, 4, 4, 4,546, 4,912, 0,887, 4, 4], + [ 4, 21, 0, 21, 0,950, 0,499, 0,886, 0, 4, 4], + [ 4, 4,499, 4, 4, 4,949, 4, 4, 4,540, 4, 4], + [ 4,891, 0,890, 4, 21, 0, 22, 4,912, 0, 4, 4], + [ 4, 0,912, 0, 4, 0, 93, 0, 4,894,912, 4, 4] ], "bgmap": [ diff --git a/project/floors/MT168.js b/project/floors/MT168.js index 5ca7d8a..08fa132 100644 --- a/project/floors/MT168.js +++ b/project/floors/MT168.js @@ -9,36 +9,423 @@ main.floors.MT168= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT167", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT169", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "2,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 91, 4, 4, 4, 4, 4, 4], + [ 4, 4,891,912, 0, 4,950, 4, 0, 82, 0, 4, 4], + [ 4, 4, 4, 4,550, 4, 81, 4,892, 4,914, 4, 4], + [ 4, 4,912, 81, 0,887, 0,499, 0, 4,891, 4, 4], + [ 4, 4,546, 4, 21, 0, 21, 4,912,278, 0, 4, 4], + [ 4, 4, 81, 4, 4, 4,499, 4, 4, 4, 4, 4, 4], + [ 92, 0, 0,549, 0,890, 0,912, 0,950, 0, 4, 4], + [ 4, 4, 4, 4, 81, 4, 4, 4,278, 4, 83, 4, 4], + [ 4, 4,893, 4,911, 4, 0,940, 0, 4,912, 4, 4], + [ 4, 4, 0,499, 0, 4,912, 0,912, 4, 21, 4, 4], + [ 4, 4, 4, 4,549, 4, 4, 4,550, 4,549, 4, 4], + [ 4, 4,886,886, 21,887,887, 4, 0,893, 0, 4, 4], + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], "bgmap": [ diff --git a/project/floors/MT169.js b/project/floors/MT169.js index d6507ea..7d3936d 100644 --- a/project/floors/MT169.js +++ b/project/floors/MT169.js @@ -9,36 +9,563 @@ main.floors.MT169= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT168", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT170", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 4, 0,539, 0, 82, 0,540, 0, 82, 0,539, 0,894], + [ 4,894, 4,914, 4,912, 4,914, 4,912, 4,912, 0], + [ 4,895, 4, 0,539, 0, 4, 0,541, 0, 4, 0, 23], + [ 4, 4, 4, 4, 4,539, 4, 4, 4,540, 4, 4, 4], + [894, 4, 0,911, 81, 0, 81,499,912, 0, 4,912, 0], + [896, 4,540, 4, 4,549, 4, 4, 0,891,540, 0, 94], + [914, 4, 0,912, 4, 0, 22, 4,890, 0, 4,912, 0], + [ 0,539,896, 0, 4, 21, 0, 4, 4,540, 4, 4, 4], + [ 4, 4, 4, 4, 4, 4,550, 4,912, 0,912, 4,896], + [ 4, 0,912,895, 0,540, 0, 4, 0,896, 0,541, 0], + [ 4, 82, 4, 4,539, 4, 0, 4,539, 4, 4, 4,895], + [ 4, 0,894,895, 0, 4, 93, 4, 0,894,895, 4,894] ], "bgmap": [ diff --git a/project/floors/MT170.js b/project/floors/MT170.js index 1e83f4a..792daf0 100644 --- a/project/floors/MT170.js +++ b/project/floors/MT170.js @@ -9,36 +9,619 @@ main.floors.MT170= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT169", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT174", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "11,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "12,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "0,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,1": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 0,895,894, 0,541, 81, 0,541, 0, 4, 0,547, 0], + [547, 4, 4,527, 4, 4,896, 4,895, 4,894, 4,914], + [ 0,894, 4, 0,894, 4,912, 4,912, 4,914, 4,914], + [895,916, 4,895,915, 4, 0, 4, 0,498, 0, 4,952], + [ 4, 4, 4, 4, 4, 4,539, 4, 4, 4, 4, 4, 4], + [ 92, 0, 0, 81, 81,540, 0,895,912,912, 0,278, 94], + [ 4, 4,540, 4, 4, 4, 4, 4, 4, 4,527, 4, 4], + [897, 4, 0, 81,527,894,916, 4,897, 4, 0, 4,897], + [915, 4,894, 4, 4, 4, 4, 4,915, 4,897, 4,914], + [ 21, 4, 0, 81,527,895,916, 4, 22, 4, 0, 4,914], + [498, 4,278, 4, 4, 4, 4, 4,527, 4,541, 4,498], + [ 0,895, 0,539, 0,893, 0,541, 0,894, 0,895, 0] ], "bgmap": [ diff --git a/project/floors/MT174.js b/project/floors/MT174.js index 21cb2a6..8a2948a 100644 --- a/project/floors/MT174.js +++ b/project/floors/MT174.js @@ -9,36 +9,563 @@ main.floors.MT174= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT170", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT175", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "12,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,12": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 23, 4, 0, 91, 0, 4,916, 4, 0,895], + [ 0,894, 4,914, 4, 22, 0, 23, 4,593, 4,895, 0], + [916, 0,547, 0, 4, 4,527, 4, 4,591, 4, 0,894], + [ 0,895, 4, 0, 4, 21, 0, 21, 4,545, 4,894, 0], + [ 4, 4, 4,539, 4, 0,541, 0, 4, 83, 4, 4,507], + [ 0, 21, 4, 82, 4, 4, 82, 4, 4,914, 81,913, 0], + [ 92, 0,278, 0, 81,541, 0,895,896, 0, 4, 4, 4], + [ 0, 22, 4,539, 4, 4, 4, 4, 4,498, 4,915,943], + [ 4, 4, 4, 0,527, 0,915, 0,547, 0, 4, 0,915], + [896,894, 4,912, 4, 4, 4, 4, 4,914, 4,507, 4], + [895, 0,547, 0, 82,539, 0,894,896, 0, 4, 83, 4], + [ 4, 4, 4,498, 4, 4, 4, 4, 4,498, 4, 82, 4], + [914,895,894, 0,545,894,895,916, 4, 0,894, 0,895] ], "bgmap": [ diff --git a/project/floors/MT175.js b/project/floors/MT175.js index e42b4a8..f49076d 100644 --- a/project/floors/MT175.js +++ b/project/floors/MT175.js @@ -9,36 +9,535 @@ main.floors.MT175= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT174", + "loc": [ + 6, + 0 + ] + }, + "12,6": { + "floorId": "MT178", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "0,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,0": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,5": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "12,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "10,9": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "3,3": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4,593, 0,358, 0, 4,915,912,912, 82, 4,914], + [945, 4,917,591, 4, 22, 4, 4, 4, 4, 81, 4, 81], + [511, 4, 4, 4, 4, 81, 4, 0,507,895, 0, 81,914], + [ 83, 4, 0,507, 81,894, 0,895, 4, 0,894, 4, 81], + [ 21, 4,897, 4, 4, 4,545, 0, 4,915, 0, 4,914], + [ 21, 82, 0, 21,959, 22, 0, 4, 4, 4,358, 4, 4], + [ 4, 4, 4, 4, 4, 4, 83, 4,592, 0, 0,959, 94], + [ 4, 0,894, 0,545, 81, 0,959, 0,591, 4, 4, 4], + [ 4,547, 4, 4, 4, 4,507, 4, 4, 4, 4,894, 23], + [895, 0, 4, 0,912, 82, 0, 23, 0, 81,507, 0,895], + [914, 0, 82,912, 0, 4,547, 4,959, 4, 4, 4,959], + [ 4,507, 4, 4, 82, 4, 0, 4, 0,591, 4,591, 0], + [ 4, 0,591,592, 0, 4, 93, 4,592, 21, 4, 21,592] ], "bgmap": [ diff --git a/project/floors/MT176.js b/project/floors/MT176.js index 4e0d8cc..d516c90 100644 --- a/project/floors/MT176.js +++ b/project/floors/MT176.js @@ -9,15 +9,37 @@ main.floors.MT176= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT175", + "loc": [ + 12, + 6 + ] + }, + "12,6": { + "floorId": "MT178", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, @@ -26,19 +48,19 @@ main.floors.MT176= "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] + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + [ 4, 0, 0, 0, 0, 4, 0, 0, 0, 0, 4, 0, 4], + [ 4, 0, 0, 4, 0, 4, 0, 0, 0, 0, 4, 0, 4], + [ 4, 4, 4, 4, 0, 4, 4, 0, 4, 0, 4, 0, 4], + [ 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 4, 4, 4, 0, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4], + [ 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4], + [ 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4], + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], "bgmap": [ diff --git a/project/floors/MT177.js b/project/floors/MT177.js index c2d5961..adf2627 100644 --- a/project/floors/MT177.js +++ b/project/floors/MT177.js @@ -9,15 +9,37 @@ main.floors.MT177= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT176", + "loc": [ + 6, + 12 + ] + }, + "12,6": { + "floorId": "MT178", + "loc": [ + 0, + 6 + ] + } + }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, @@ -26,19 +48,19 @@ main.floors.MT177= "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] + [ 4, 4, 4, 4, 4, 4, 91, 4, 4, 4, 4, 4, 4], + [ 4, 0, 4, 0, 0, 4, 0, 4, 0, 0, 4, 0, 4], + [ 4, 0, 4, 0, 0, 4, 0, 4, 0, 0, 4, 0, 4], + [ 4, 0, 4, 0, 4, 4, 0, 4, 4, 0, 4, 0, 4], + [ 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94], + [ 4, 4, 4, 4, 0, 4, 4, 4, 0, 4, 4, 4, 4], + [ 4, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 4], + [ 4, 0, 4, 0, 0, 0, 4, 0, 4, 0, 4, 0, 4], + [ 4, 0, 4, 4, 4, 4, 4, 0, 4, 0, 0, 0, 4], + [ 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 4], + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], "bgmap": [ diff --git a/project/floors/MT178.js b/project/floors/MT178.js index 6fecbc0..7fc9d62 100644 --- a/project/floors/MT178.js +++ b/project/floors/MT178.js @@ -9,36 +9,451 @@ main.floors.MT178= "canFlyFrom": false, "canUseQuickShop": true, "cannotViewMap": false, - "images": [], + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "gaolikangzhi.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "0,6": { + "floorId": "MT175", + "loc": [ + 12, + 6 + ] + }, + "6,0": { + "floorId": "MT184", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "1,2": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "2,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "11,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "9,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,4": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,10": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "4,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "8,11": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "5,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "7,6": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "item:I963", + "operator": "+=", + "value": "6" + }, + { + "type": "setValue", + "name": "flag:dasishenghuo", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:dasishenghuo==165)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT178" + } + ] + } + ] + }, "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] + [ 4, 4, 4, 4, 4, 4, 89, 4, 4, 4, 4, 4, 4], + [ 4, 0, 23,594,961, 4, 86, 4,961,594, 23, 0, 4], + [ 4,511, 4, 4, 4, 4,511, 4, 4, 4, 4,511, 4], + [ 4,593,591,591, 0, 4, 83, 4, 0,592,592,593, 4], + [ 4, 4, 4, 4,358, 4, 82, 4,358, 4, 4, 4, 4], + [ 4,895, 0,894, 0, 4, 82, 4, 0,894, 0,896, 4], + [ 92, 0,896, 0,916,959, 0,959,916, 0,895, 0, 4], + [ 4, 4, 4, 4, 4, 4, 83, 4, 4, 4, 4, 4, 4], + [ 4,594, 4,917, 4, 0,959, 0, 4,961, 4,961, 4], + [ 4,917, 4,917, 4,593, 0,916, 4,594, 4,594, 4], + [ 4, 0,511, 0, 4, 4,358, 4, 4,511, 4,511, 4], + [ 4,917, 4, 0,358,593, 0,917,358, 0,594, 0, 4], + [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] ], "bgmap": [ diff --git a/project/floors/MT179.js b/project/floors/MT179.js index 2748b8e..627f5a3 100644 --- a/project/floors/MT179.js +++ b/project/floors/MT179.js @@ -20,33 +20,152 @@ main.floors.MT179= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,0": { + "floorId": "MT180", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,10": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ] + }, "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] + [40044,40044,40044,40044,40044,40044, 91,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044,960,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,960,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,960,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,960,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,960,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044] ], "bgmap": [ diff --git a/project/floors/MT180.js b/project/floors/MT180.js index 5574835..ae4d869 100644 --- a/project/floors/MT180.js +++ b/project/floors/MT180.js @@ -20,33 +20,181 @@ main.floors.MT180= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT179", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT181", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,10": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "2,9": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "4,3": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "2,2": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "5,1": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ] + }, "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] + [40044,40044,40044,40044,40044,40044, 91,40044,40044,40044,40044,40044,40044], + [40044,40044, 0,916, 0,958, 0,40044,916,915,916,961,40044], + [40044,40044,958,40044,40044,40044,40044,40044,40044, 83,40044,40044,40044], + [40044,40044,916, 0,958,40044, 0, 81,915,915, 81,915,915], + [40044,40044,40044,40044, 0,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,916,40044, 0,40044,917,40044,916,961,40044], + [40044,40044,40044,40044, 0,40044, 0,40044,915,40044,915,916,40044], + [40044,40044,40044,40044,958,40044, 0,40044, 82,40044, 83,40044,40044], + [40044,40044, 0,916, 0,40044, 0, 81,916, 81,914,914,915], + [40044,40044,958,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044, 0,916, 0,958, 0,40044,961,961,917,917,917], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 93,40044,40044,40044,40044,40044,40044] ], "bgmap": [ diff --git a/project/floors/MT181.js b/project/floors/MT181.js index 647b28f..5a6a9f4 100644 --- a/project/floors/MT181.js +++ b/project/floors/MT181.js @@ -20,33 +20,159 @@ main.floors.MT181= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT180", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT182", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,10": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ] + }, "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] + [40044,40044,40044,40044,40044,40044, 91,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044], + [962,917,915, 83,916, 81, 0, 81,916, 83,915,917,962], + [40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044], + [962,962,917,917,917,40044, 0,40044,917,917,917,962,962], + [40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044], + [40044,40044,40044,40044,40044,40044, 93,40044,40044,40044,40044,40044,40044] ], "bgmap": [ diff --git a/project/floors/MT182.js b/project/floors/MT182.js index daaa618..21c6f2b 100644 --- a/project/floors/MT182.js +++ b/project/floors/MT182.js @@ -20,33 +20,203 @@ main.floors.MT182= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT181", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "MT183", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "5,11": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "1,10": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "4,8": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "1,6": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "4,4": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "1,2": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "5,1": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ] + }, "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] + [40044,40044,40044,40044,40044,40044, 91,40044,40044,40044,40044,40044,40044], + [40044, 0,916,916, 0,923, 0,40044,961,916,916,915,40044], + [40044,923,40044,40044,40044,40044,40044,40044,40044,40044,40044, 83,40044], + [40044, 0,916,916, 0,40044,40044,40044,915,915,915,916,40044], + [40044,40044,40044,40044,923,40044,40044,40044, 82,40044,40044,40044,40044], + [40044, 0,916,916, 0,40044,40044,40044,916,916,915, 82,40044], + [40044,923,40044,40044,40044,40044,40044,40044,40044,40044,40044,916,40044], + [40044, 0,916,916, 0,40044,40044,40044,916, 82,915,916,40044], + [40044,40044,40044,40044,923,40044,40044,40044, 81,40044,40044,40044,40044], + [40044, 0,916,916, 0,40044,40044,40044,916, 81,916, 81,40044], + [40044,923,40044,40044,40044,40044,40044,40044,40044,40044,40044,916,40044], + [40044, 0,916,916, 0,923, 0, 81,916, 81,916, 81,40044], + [40044,40044,40044,40044,40044,40044, 93,40044,40044,40044,40044,40044,40044] ], "bgmap": [ diff --git a/project/floors/MT183.js b/project/floors/MT183.js index e989bbc..1c17654 100644 --- a/project/floors/MT183.js +++ b/project/floors/MT183.js @@ -20,33 +20,159 @@ main.floors.MT183= ], "ratio": 1, "defaultGround": "ground", - "bgm": "heidian.mp3", + "bgm": "ending.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", "events": {}, - "changeFloor": {}, + "changeFloor": { + "6,12": { + "floorId": "MT182", + "loc": [ + 6, + 0 + ] + }, + "6,0": { + "floorId": "BOSS7", + "loc": [ + 6, + 12 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "6,10": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,8": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,6": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,4": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ], + "6,2": [ + { + "type": "setValue", + "name": "flag:wotainanle", + "operator": "+=", + "value": "1" + }, + { + "type": "if", + "condition": "(flag:wotainanle==28)", + "true": [ + { + "type": "openDoor", + "loc": [ + 6, + 1 + ], + "floorId": "MT183" + } + ] + } + ] + }, "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] + [40044,40044,40044,40044,40044,40044, 89,40044,40044,40044,40044,40044,40044], + [961,961,917,917,917,40044, 86,40044,917,917,917,961,961], + [40044,40044,40044,40044,40044,40044,455,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 83,915,917,961], + [40044,40044,40044,40044,40044,40044,455,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 83,915,917,961], + [40044,40044,40044,40044,40044,40044,455,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 83,915,917,961], + [40044,40044,40044,40044,40044,40044,455,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044,455,40044,40044,40044,40044,40044,40044], + [916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916], + [40044,40044,40044,40044,40044,40044, 93,40044,40044,40044,40044,40044,40044] ], "bgmap": [ diff --git a/project/floors/MT184.js b/project/floors/MT184.js new file mode 100644 index 0000000..9b685a0 --- /dev/null +++ b/project/floors/MT184.js @@ -0,0 +1,70 @@ +main.floors.MT184= +{ + "floorId": "MT184", + "title": "主塔 184 层", + "name": "184", + "width": 13, + "height": 13, + "canFlyTo": false, + "canFlyFrom": false, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [ + { + "name": "yuzhou.jpg", + "canvas": "bg", + "x": 0, + "y": 0 + } + ], + "ratio": 1, + "defaultGround": "ground", + "bgm": "gaolikangzhi.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -150, -140);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}", + "events": {}, + "changeFloor": { + "6,0": { + "floorId": "BOSS6", + "loc": [ + 6, + 12 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 4, 4, 4, 4, 4, 4, 89, 4, 4, 4, 4, 4, 4], + [915, 81,915, 81,915, 81, 0, 81,915, 81,915, 81,915], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4,917,916,915,914, 83, 0, 83,914,915,916,917, 4], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4,914,914, 81,915, 81, 0, 81,915, 81,914,914, 4], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4,916,914, 82,915, 81, 0, 81,915, 82,914,916, 4], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [ 4,915, 81,916,914, 82, 0, 82,914,916, 81,915, 4], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], + [914,916, 82,914,916, 82, 0, 82,916,914, 82,916,914], + [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4] +], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/project/floors/MT33.js b/project/floors/MT33.js index 3be8cbe..2f712af 100644 --- a/project/floors/MT33.js +++ b/project/floors/MT33.js @@ -111,6 +111,20 @@ main.floors.MT33= "beforeBattle": {}, "afterBattle": { "6,1": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, { "type": "setValue", "name": "status:hp", diff --git a/project/floors/MT35.js b/project/floors/MT35.js index b6cbfc4..899a786 100644 --- a/project/floors/MT35.js +++ b/project/floors/MT35.js @@ -14,6 +14,10 @@ main.floors.MT35= "defaultGround": "ground", "bgm": "crystallake.mp3", "firstArrive": [ + { + "type": "setHeroIcon", + "name": "hero1.png" + }, { "type": "setValue", "name": "flag:__visited__", @@ -22,6 +26,13 @@ main.floors.MT35= { "type": "function", "function": "function(){\ncore.visitFloor(\"MT35\")\n}" + }, + { + "type": "showStatusBar" + }, + { + "type": "setCurtain", + "time": 1000 } ], "eachArrive": [], @@ -420,7 +431,7 @@ main.floors.MT35= [10040,10044, 0, 34, 0, 81, 0, 81, 34, 0, 0,10044,10042], [10040,10044,248,10044,486,10044,451,10044,10044,486,10044,10044,10042], [10040,10044, 34,10044, 33,10044,451,10044, 21, 0, 33,10044,10042], - [10040,10044,583,10044,584,10044, 0,10044, 0,584, 0,10044,10042], + [10040,10044,583,10044,584,10044, 22,10044, 0,584, 0,10044,10042], [10040,10044,10044,10044,10044,10044, 0,10044,10044,10044,10044,10044,10042], [10040,10041,10041,10041,10041,10041,10041,10041,10041,10041,10041,10041,10042] ], diff --git a/project/floors/MT42.js b/project/floors/MT42.js index a01fd3a..858d484 100644 --- a/project/floors/MT42.js +++ b/project/floors/MT42.js @@ -16,18 +16,36 @@ main.floors.MT42= "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": {}, + "events": { + "6,6": [ + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "JQ11", + "loc": [ + 6, + 12 + ] + } + ] + }, "changeFloor": { "1,6": { "floorId": ":before", "stair": "upFloor" - }, - "6,6": { - "floorId": "MT43", - "loc": [ - 6, - 11 - ] } }, "beforeBattle": {}, diff --git a/project/floors/MT43.js b/project/floors/MT43.js index 969151b..ea6253f 100644 --- a/project/floors/MT43.js +++ b/project/floors/MT43.js @@ -14,6 +14,13 @@ main.floors.MT43= "defaultGround": "ground", "bgm": "title.mp3", "firstArrive": [ + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "showStatusBar" + }, { "type": "setValue", "name": "item:fly", @@ -300,7 +307,7 @@ main.floors.MT43= [ 1, 1, 81, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [ 1, 0, 0, 0, 1, 1, 81, 1, 1, 1, 81, 1, 1], [ 1,771, 0, 21, 1, 21, 0, 0, 1, 0,277, 0, 1], - [ 1,771, 47, 21, 1, 0, 0, 0, 1,625,772,625, 1], + [ 1,771, 23, 21, 1, 0, 0, 0, 1,625,772,625, 1], [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ], "bgmap": [ diff --git a/project/floors/MT44.js b/project/floors/MT44.js index fcf8468..7246ad5 100644 --- a/project/floors/MT44.js +++ b/project/floors/MT44.js @@ -18,7 +18,27 @@ main.floors.MT44= "parallelDo": "", "events": { "11,10": [ - "门开了", + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 255, + 255, + 255, + 1 + ], + "time": 1000, + "keep": true + }, + "四年级的时候,我开始学习编程,并且参加了信息竞赛。", + "我第一次参加比赛,我就拿下了市一等奖。", + "按理说我应该高兴,因为自己拿了奖,但事实上,我并没有和其他获得一等奖的同学一样高兴,因为我这个电脑编程老师不想教我了。", + "我一向与同学的关系不好,还经常动他们关系,他们粉非常反感我。我们老师管不了我,他说什么我也不听,总是按照自己的那一套来,不管学习也好纪律也好,我都与他唱反调。", + "后来,我父母找老师说情,依旧没有缓解矛盾,就这样我与我人生中第一个编程老师不愉快的分别了。", + "但我并没有放弃我的梦想!因为我喜欢电脑喜欢编程。我父母经过考虑,最终决定花费重金为我请来了一个家教对我进行一对一辅导。", + "就这样,我五年级开始了一对一辅导,来参加后面的信息竞赛。而这个老师,也对我后面的人生产生了深远影响。", { "type": "openDoor", "loc": [ @@ -27,10 +47,40 @@ main.floors.MT44= ], "floorId": "MT50" }, + { + "type": "showStatusBar" + }, + { + "type": "setCurtain", + "time": 1000 + }, + "处在时空中的某个门开了!", { "type": "hide", "remove": true } + ], + "2,7": [ + { + "type": "if", + "condition": "(core.status.hero.loc.x>=2)", + "true": [ + { + "type": "openDoor" + } + ] + } + ], + "2,8": [ + { + "type": "if", + "condition": "(core.status.hero.loc.x>=2)", + "true": [ + { + "type": "openDoor" + } + ] + } ] }, "changeFloor": { @@ -171,7 +221,7 @@ main.floors.MT44= [ 1, 0, 1, 21, 21, 1, 0, 0, 0, 1,768,768, 1], [ 1, 0, 1, 21, 0, 86, 0, 0, 0, 86, 0,768, 1], [ 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1], - [ 1, 0, 1, 47, 0, 1, 0, 0, 0, 1,769,769, 1], + [ 1, 0, 1, 0, 0, 1, 0, 0, 0, 1,769,769, 1], [ 1, 0, 1, 0, 0, 86, 0, 0, 0, 86, 0,769, 1], [ 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1], [ 1, 0, 1,772,772, 1, 0, 0, 0, 1, 0, 89, 1], diff --git a/project/floors/MT45.js b/project/floors/MT45.js index d6b9856..1e1a63a 100644 --- a/project/floors/MT45.js +++ b/project/floors/MT45.js @@ -18,7 +18,24 @@ main.floors.MT45= "parallelDo": "", "events": { "5,9": [ - "这里是一段剧情", + { + "type": "hideStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000 + }, + "我爸爸妈妈最终还是同意了让我学习电脑,这时起我便有了一个奋斗目标。", + "我对电脑爱的深沉,正因为这份热爱,我有了当一个程序员的梦想,希望有朝一日成为一个电脑高手。", + "编程很枯燥,但我喜欢编程,我热爱编程。", + "这一年,我上四年级,也不过是一个不到十岁的少年,很多记忆我已经遗忘。", + "但我确信,在这一刻,我心里已经埋下了一颗电脑的种子,并随着时间茁壮成长,只是这成长的过程中...必然会经历一些风雨!", { "type": "hide", "loc": [ @@ -29,6 +46,28 @@ main.floors.MT45= ], "remove": true }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 7 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, + { + "type": "setBlockOpacity", + "loc": [ + [ + 2, + 8 + ] + ], + "floorId": "MT44", + "opacity": 0.5 + }, { "type": "changeFloor", "floorId": "MT44", @@ -36,6 +75,9 @@ main.floors.MT45= 3, 8 ] + }, + { + "type": "showStatusBar" } ] }, diff --git a/project/floors/MT50.js b/project/floors/MT50.js index 23a6ffd..64edd9f 100644 --- a/project/floors/MT50.js +++ b/project/floors/MT50.js @@ -16,18 +16,36 @@ main.floors.MT50= "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": {}, + "events": { + "6,1": [ + { + "type": "showStatusBar" + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 0 + ], + "time": 1000, + "keep": true + }, + { + "type": "changeFloor", + "floorId": "MT51", + "loc": [ + 6, + 10 + ] + } + ] + }, "changeFloor": { "1,11": { "floorId": ":before", "stair": "upFloor" - }, - "6,1": { - "floorId": "MT51", - "loc": [ - 6, - 10 - ] } }, "beforeBattle": {}, @@ -282,7 +300,8 @@ main.floors.MT50= "value": "null" } ] - } + }, + "1": null } }, "cannotMove": {}, diff --git a/project/floors/MT56.js b/project/floors/MT56.js index 11baf35..b6b741f 100644 --- a/project/floors/MT56.js +++ b/project/floors/MT56.js @@ -230,7 +230,7 @@ main.floors.MT56= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 0], [ 0, 17, 17, 0,255, 0,371, 0,732,100049, 17, 17, 0], - [ 0, 17, 0, 23,100049, 22,100049,255,100049,100049,450, 17, 0], + [ 0, 17, 0, 47,100049, 22,100049,255,100049,100049,450, 17, 0], [ 0, 17,100049,100049,100049,371,100049, 0,449,100049,450, 17, 0], [ 0, 17,587,100049,587, 0,240, 0,449,100049,240, 17, 0], [ 0, 17,588,100049,588, 17, 17, 17, 0,255, 0, 17, 0], diff --git a/project/floors/MT61.js b/project/floors/MT61.js index 20f1b9b..2602cda 100644 --- a/project/floors/MT61.js +++ b/project/floors/MT61.js @@ -14,7 +14,12 @@ main.floors.MT61= "defaultGround": "ground", "bgm": "haibian.mp3", "color": null, - "firstArrive": [], + "firstArrive": [ + { + "type": "setHeroIcon", + "name": "hero2.png" + } + ], "eachArrive": [], "parallelDo": "", "events": {}, diff --git a/project/floors/MT62.js b/project/floors/MT62.js index edf5391..a6bf317 100644 --- a/project/floors/MT62.js +++ b/project/floors/MT62.js @@ -14,7 +14,12 @@ main.floors.MT62= "defaultGround": "ground", "bgm": "haibian.mp3", "color": null, - "firstArrive": null, + "firstArrive": [ + { + "type": "setCurtain", + "time": 500 + } + ], "eachArrive": [], "parallelDo": "", "events": {}, diff --git a/project/floors/MT88.js b/project/floors/MT88.js index edcdc45..7d2dd94 100644 --- a/project/floors/MT88.js +++ b/project/floors/MT88.js @@ -13,7 +13,12 @@ main.floors.MT88= "ratio": 1, "defaultGround": "ground", "bgm": "hongri.mp3", - "firstArrive": [], + "firstArrive": [ + { + "type": "setHeroIcon", + "name": "hero3.png" + } + ], "eachArrive": [], "parallelDo": "", "events": {}, @@ -421,7 +426,9 @@ main.floors.MT88= "7,0": [ "left" ], - "2,0": [], + "2,0": [ + "left" + ], "4,1": [], "4,2": [ "right" @@ -496,7 +503,9 @@ main.floors.MT88= "7,0": [ "left" ], - "2,0": [], + "2,0": [ + "left" + ], "4,1": [], "4,2": [ "right" @@ -546,7 +555,7 @@ main.floors.MT88= [ 82,390036,428, 0,731,390035, 0,390035,731, 0,429,390036, 82], [ 0, 0, 0, 0, 0,777, 0,777, 0, 0, 0,265, 0], [450238,265,450239,390034,265,450239, 68,450239,390034,326,390034,450239, 21], - [390028, 0,429,450239,430,450238, 0,450238,731, 0,434,450238,732], + [390028, 0,429,450239,430,450238, 47,450238,731, 0,434,450238,732], [390036,732, 21,450238,733,450239, 0,450239,390034,450238,390034,450239,428] ], "bgmap": [ diff --git a/project/functions.js b/project/functions.js index 88553b0..a02d133 100644 --- a/project/functions.js +++ b/project/functions.js @@ -255,176 +255,176 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = return true; }, "afterBattle": function (enemyId, x, y) { - // 战斗结束后触发的事件 + // 战斗结束后触发的事件 - var enemy = core.material.enemys[enemyId]; - var special = enemy.special; + var enemy = core.material.enemys[enemyId]; + var special = enemy.special; - // 播放战斗音效和动画 - // 默认播放的动画;你也可以使用 - var animate = 'hand'; // 默认动画 - // 检查当前装备是否存在攻击动画 - var equipId = core.getEquip(0); - if (equipId && (core.material.items[equipId].equip || {}).animate) - animate = core.material.items[equipId].equip.animate; - // 你也可以在这里根据自己的需要,比如enemyId或special或flag来修改播放的动画效果 - // if (enemyId == '...') animate = '...'; + // 播放战斗音效和动画 + // 默认播放的动画;你也可以使用 + var animate = 'hand'; // 默认动画 + // 检查当前装备是否存在攻击动画 + var equipId = core.getEquip(0); + if (equipId && (core.material.items[equipId].equip || {}).animate) + animate = core.material.items[equipId].equip.animate; + // 你也可以在这里根据自己的需要,比如enemyId或special或flag来修改播放的动画效果 + // if (enemyId == '...') animate = '...'; - // 检查该动画是否存在SE,如果不存在则使用默认音效 - if (!(core.material.animates[animate] || {}).se) - core.playSound('attack.mp3'); + // 检查该动画是否存在SE,如果不存在则使用默认音效 + if (!(core.material.animates[animate] || {}).se) + core.playSound('attack.mp3'); - // 播放动画;如果不存在坐标(强制战斗)则播放到勇士自身 - if (x != null && y != null) - core.drawAnimate(animate, x, y); - else - core.drawHeroAnimate(animate); + // 播放动画;如果不存在坐标(强制战斗)则播放到勇士自身 + if (x != null && y != null) + core.drawAnimate(animate, x, y); + else + core.drawHeroAnimate(animate); - // 获得战斗伤害信息 - var damageInfo = core.getDamageInfo(enemyId, null, x, y) || {}; - // 战斗伤害 - var damage = damageInfo.damage; - // 当前战斗回合数,可用于战后所需的判定 - var turn = damageInfo.turn; - // 判定是否致死 - if (damage == null || damage >= core.status.hero.hp) { - core.status.hero.hp = 0; - core.updateStatusBar(false, true); - core.events.lose('战斗失败'); - return; - } + // 获得战斗伤害信息 + var damageInfo = core.getDamageInfo(enemyId, null, x, y) || {}; + // 战斗伤害 + var damage = damageInfo.damage; + // 当前战斗回合数,可用于战后所需的判定 + var turn = damageInfo.turn; + // 判定是否致死 + if (damage == null || damage >= core.status.hero.hp) { + core.status.hero.hp = 0; + core.updateStatusBar(false, true); + core.events.lose('战斗失败'); + return; + } - // 扣减体力值并记录统计数据 - core.status.hero.hp -= damage; - core.status.hero.statistics.battleDamage += damage; - core.status.hero.statistics.battle++; + // 扣减体力值并记录统计数据 + core.status.hero.hp -= damage; + core.status.hero.statistics.battleDamage += damage; + core.status.hero.statistics.battle++; - // 计算当前怪物的支援怪物 - var guards = []; - if (x != null && y != null) { - guards = core.getFlag("__guards__" + x + "_" + y, []); - core.removeFlag("__guards__" + x + "_" + y); - } + // 计算当前怪物的支援怪物 + var guards = []; + if (x != null && y != null) { + guards = core.getFlag("__guards__" + x + "_" + y, []); + core.removeFlag("__guards__" + x + "_" + y); + } - // 获得金币 - var money = guards.reduce(function (curr, g) { - return curr + core.material.enemys[g[2]].money; - }, core.getEnemyValue(enemy, "money", x, y)); - if (core.hasItem('coin')) money *= 2; // 幸运金币:双倍 - if (core.hasFlag('curse')) money = 0; // 诅咒效果 - core.status.hero.money += money; - core.status.hero.statistics.money += money; + // 获得金币 + var money = guards.reduce(function (curr, g) { + return curr + core.material.enemys[g[2]].money; + }, core.getEnemyValue(enemy, "money", x, y)); + if (core.hasItem('coin')) money *= 2; // 幸运金币:双倍 + if (core.hasFlag('curse')) money = 0; // 诅咒效果 + core.status.hero.money += money; + core.status.hero.statistics.money += money; - // 获得经验 - var exp = guards.reduce(function (curr, g) { - return curr + core.material.enemys[g[2]].exp; - }, core.getEnemyValue(enemy, "exp", x, y)); - if (core.hasFlag('curse')) exp = 0; - core.status.hero.exp += exp; - core.status.hero.statistics.exp += exp; + // 获得经验 + var exp = guards.reduce(function (curr, g) { + return curr + core.material.enemys[g[2]].exp; + }, core.getEnemyValue(enemy, "exp", x, y)); + if (core.hasFlag('curse')) exp = 0; + core.status.hero.exp += exp; + core.status.hero.statistics.exp += exp; - var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y); - if (core.flags.statusBarItems.indexOf('enableMoney') >= 0) - hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money; - if (core.flags.statusBarItems.indexOf('enableExp') >= 0) - hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp; - core.drawTip(hint, enemy.id); + var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y); + if (core.flags.statusBarItems.indexOf('enableMoney') >= 0) + hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money; + if (core.flags.statusBarItems.indexOf('enableExp') >= 0) + hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp; + core.drawTip(hint, enemy.id); - // 中毒 - if (core.enemys.hasSpecial(special, 12)) { - core.triggerDebuff('get', 'poison'); - } - // 衰弱 - if (core.enemys.hasSpecial(special, 13)) { - core.triggerDebuff('get', 'weak'); - } - // 诅咒 - if (core.enemys.hasSpecial(special, 14)) { - core.triggerDebuff('get', 'curse'); - } - // 仇恨怪物将仇恨值减半 - if (core.enemys.hasSpecial(special, 17)) { - core.setFlag('hatred', Math.floor(core.getFlag('hatred', 0) / 2)); - } - // 自爆 - if (core.enemys.hasSpecial(special, 19)) { - core.status.hero.statistics.battleDamage += core.status.hero.hp - 1; - core.status.hero.hp = 1; - } - // 退化 - if (core.enemys.hasSpecial(special, 21)) { - core.status.hero.atk -= (enemy.atkValue || 0); - core.status.hero.def -= (enemy.defValue || 0); - if (core.status.hero.atk < 0) core.status.hero.atk = 0; - if (core.status.hero.def < 0) core.status.hero.def = 0; - } - // 增加仇恨值 - core.setFlag('hatred', core.getFlag('hatred', 0) + core.values.hatred); + // 中毒 + if (core.enemys.hasSpecial(special, 12)) { + core.triggerDebuff('get', 'poison'); + } + // 衰弱 + if (core.enemys.hasSpecial(special, 13)) { + core.triggerDebuff('get', 'weak'); + } + // 诅咒 + if (core.enemys.hasSpecial(special, 14)) { + core.triggerDebuff('get', 'curse'); + } + // 仇恨怪物将仇恨值减半 + if (core.enemys.hasSpecial(special, 17)) { + core.setFlag('hatred', Math.floor(core.getFlag('hatred', 0) / 2)); + } + // 自爆 + if (core.enemys.hasSpecial(special, 19)) { + core.status.hero.statistics.battleDamage += core.status.hero.hp - 1; + core.status.hero.hp = 1; + } + // 退化 + if (core.enemys.hasSpecial(special, 21)) { + core.status.hero.atk -= (enemy.atkValue || 0); + core.status.hero.def -= (enemy.defValue || 0); + if (core.status.hero.atk < 0) core.status.hero.atk = 0; + if (core.status.hero.def < 0) core.status.hero.def = 0; + } + // 增加仇恨值 + core.setFlag('hatred', core.getFlag('hatred', 0) + core.values.hatred); - // 战后的技能处理,比如扣除魔力值 - if (core.flags.statusBarItems.indexOf('enableSkill') >= 0) { - // 检测当前开启的技能类型 - var skill = core.getFlag('skill', 0); - if (skill == 1) { // 技能1:二倍斩 - core.status.hero.mana -= 5; // 扣除5点魔力值 - } - // 关闭技能 - core.setFlag('skill', 0); - core.setFlag('skillName', '无'); - } + // 战后的技能处理,比如扣除魔力值 + if (core.flags.statusBarItems.indexOf('enableSkill') >= 0) { + // 检测当前开启的技能类型 + var skill = core.getFlag('skill', 0); + if (skill == 1) { // 技能1:二倍斩 + core.status.hero.mana -= 5; // 扣除5点魔力值 + } + // 关闭技能 + core.setFlag('skill', 0); + core.setFlag('skillName', '无'); + } - // 事件的处理 - var todo = []; + // 事件的处理 + var todo = []; - // 加点事件 - var point = guards.reduce(function (curr, g) { - return curr + core.material.enemys[g[2]].point; - }, core.getEnemyValue(enemy, "point", x, y)) || 0; - if (core.flags.enableAddPoint && point > 0) { - core.push(todo, [{ "type": "insert", "name": "加点事件", "args": [point] }]); - } + // 加点事件 + var point = guards.reduce(function (curr, g) { + return curr + core.material.enemys[g[2]].point; + }, core.getEnemyValue(enemy, "point", x, y)) || 0; + if (core.flags.enableAddPoint && point > 0) { + core.push(todo, [{ "type": "insert", "name": "加点事件", "args": [point] }]); + } - // 战后事件 - if (core.status.floorId != null) { - core.push(todo, core.floors[core.status.floorId].afterBattle[x + "," + y]); - } - core.push(todo, enemy.afterBattle); + // 战后事件 + if (core.status.floorId != null) { + core.push(todo, core.floors[core.status.floorId].afterBattle[x + "," + y]); + } + core.push(todo, enemy.afterBattle); - // 在这里增加其他的自定义事件需求 - /* - if (enemyId=='xxx') { - core.push(todo, [ - {"type": "...", ...}, - ]); - } - */ + // 在这里增加其他的自定义事件需求 + /* + if (enemyId=='xxx') { + core.push(todo, [ + {"type": "...", ...}, + ]); + } + */ - // 如果事件不为空,将其插入 - if (todo.length > 0) core.insertAction(todo, x, y); + // 如果事件不为空,将其插入 + if (todo.length > 0) core.insertAction(todo, x, y); - // 删除该点设置的怪物信息 - delete((flags.enemyOnPoint || {})[core.status.floorId] || {})[x + "," + y]; + // 删除该点设置的怪物信息 + delete ((flags.enemyOnPoint || {})[core.status.floorId] || {})[x + "," + y]; - // 因为removeBlock和hideBlock都会刷新状态栏,因此将删除部分移动到这里并保证刷新只执行一次,以提升效率 - if (core.getBlock(x, y) != null) { - // 检查是否是重生怪物;如果是则仅隐藏不删除 - if (core.hasSpecial(enemy.special, 23)) { - core.hideBlock(x, y); - } else { - core.removeBlock(x, y); - } - } else { - core.updateStatusBar(); - } + // 因为removeBlock和hideBlock都会刷新状态栏,因此将删除部分移动到这里并保证刷新只执行一次,以提升效率 + if (core.getBlock(x, y) != null) { + // 检查是否是重生怪物;如果是则仅隐藏不删除 + if (core.hasSpecial(enemy.special, 23)) { + core.hideBlock(x, y); + } else { + core.removeBlock(x, y); + } + } else { + core.updateStatusBar(); + } - // 如果已有事件正在处理中 - if (core.status.event.id == null) - core.continueAutomaticRoute(); - else - core.clearContinueAutomaticRoute(); + // 如果已有事件正在处理中 + if (core.status.event.id == null) + core.continueAutomaticRoute(); + else + core.clearContinueAutomaticRoute(); -}, + }, "afterOpenDoor": function (doorId, x, y) { // 开一个门后触发的事件 @@ -508,7 +508,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = [16, "夹击", "经过两只相同的怪物中间,角色生命值变成一半", "#bb99ee"], [17, "仇恨", "战斗前,怪物附加之前积累的仇恨值作为伤害;战斗后,释放一半的仇恨值。(每杀死一个怪物获得" + (core.values.hatred || 0) + "点仇恨值)", "#b0b666"], [18, "阻击", function (enemy) { return "经过怪物周围" + (enemy.zoneSquare ? "九宫格" : "十字") + "时自动减生命" + (enemy.repulse || 0) + "点,同时怪物后退一格"; }, "#8888e6"], - [19, "自爆", "战斗后角色的生命值变成1", "#ff6666"], + [19, "人生", "人生的意义是什么?这只有自己去寻找。大学毕业真正的步入社会,后面只会更困难。生命变成1", "#ff6666"], [20, "无敌", "角色无法打败怪物,除非拥有十字架", "#aaaaaa"], [21, "退化", function (enemy) { return "战斗后角色永久下降" + (enemy.atkValue || 0) + "点攻击和" + (enemy.defValue || 0) + "点防御"; }], [22, "固伤", function (enemy) { return "战斗前,怪物对角色造成" + (enemy.damage || 0) + "点固定伤害,未开启负伤时无视角色护盾。"; }, "#ff9977"], @@ -517,10 +517,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = [25, "光环", function (enemy) { return (enemy.range != null ? ((enemy.haloSquare ? "该怪物九宫格" : "该怪物十字") + enemy.haloRange + "格范围内") : "同楼层所有") + "怪物生命提升" + (enemy.hpBuff || 0) + "%,攻击提升" + (enemy.atkBuff || 0) + "%,防御提升" + (enemy.defBuff || 0) + "%," + (enemy.haloAdd ? "可叠加" : "不可叠加"); }, "#e6e099", 1], [26, "支援", "当周围一圈的怪物受到攻击时将上前支援,并组成小队战斗。", "#77c0b6", 1], [27, "捕捉", function (enemy) { return "当走到怪物周围" + (enemy.zoneSquare ? "九宫格" : "十字") + "时会强制进行战斗。"; }, "#c0ddbb"], - [28, "压迫", "你同学的家长对你的怨念深深影响着你的内心,每回合你会额外受到他们的2000点伤害", "#000000"], - [29, "潜意识影响", "家庭要面临的压力,即使你年幼,但你的潜意识依旧受到了影响,每回合你会额外遭受百分之八十的伤害", "#000000"], - [30, "绝望", "怪物无视角色的防御", "#000000"], - [31, "困境", "怪物受到的伤害减半", "#000000"] + [28, "压迫", "你同学的家长对你的怨念深深影响着你的内心,每回合你会额外受到他们的2000点伤害", "ff6666"], + [29, "潜意识影响", "家庭要面临的压力,即使你年幼,但你的潜意识依旧受到了影响,每回合你会额外遭受百分之八十的伤害", "#ff6666"], + [30, "绝望", "在别人都不看好你的时候,对手却又非常强大,这个时候你的全部防御都会变成虚无。", "#ff6666"], + [31, "困境", "有些时候,会受到种种压力,这些压力会转化成一个个困境,让你无从下手。你的攻击仅仅只能对对方造成一半伤害。", "#ff6666"], + [32, "转折", "高考是人生中一个重要的转折点,但需要挺住六次连环袭击", "#ff6666"], + [33, "工作之压", "大学毕业后要面临更大的难题就是找工作,其带来的压力远超你学习的时候,怪物每回合附加你防御的百分之五十伤害", "#ff6666"] ] }, "getEnemyInfo": function (enemy, hero, x, y, floorId) { @@ -683,6 +685,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (core.getFlag('skill', 0) == 1) { // 开启了技能1:二倍斩 hero_atk *= 2; // 计算时攻击力翻倍 } + if (core.hasItem('I336')) { mon_hp -= hero_atk; } // 如果是无敌属性,且勇士未持有十字架 if (core.hasSpecial(mon_special, 20) && !core.hasItem("cross")) @@ -718,6 +721,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (core.hasSpecial(mon_special, 4)) per_damage *= 2; if (core.hasSpecial(mon_special, 5)) per_damage *= 3; if (core.hasSpecial(mon_special, 6)) per_damage *= (enemy.n || 4); + if (core.hasSpecial(mon_special, 32)) per_damage *= 6 // 每回合的反击伤害;反击是按照勇士的攻击次数来计算回合 var counterDamage = 0; @@ -740,6 +744,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = // 困境 if (core.hasSpecial(mon_special, 31)) mon_hp *= 2; + //工作之压 + if (core.hasSpecial(mon_special, 33)) per_damage += hero_def * 0.5; // 破甲 if (core.hasSpecial(mon_special, 7)) init_damage += Math.floor((enemy.breakArmor || core.values.breakArmor) * hero_def); @@ -1614,265 +1620,265 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = .sort( /*function (id1, id2) { return core.material.items[id1].name <= core.material.items[id2].name ? -1 : 1 }*/); }, "drawStatusBar": function () { - // 这真的是人能写出来的东西? - var ctx, fill = function (text, x, y, style) { - core.ui.setFont(ctx, (/\w+/.test(text) ? ' ' : '') + '20px 得意黑'); - core.ui.fillText(ctx, text, x, y, style); - }, - fill1 = function (text, x, y, style) { - core.ui.setFont(ctx, (/\w+/.test(text) ? ' ' : '') + '12px 得意黑'); - core.ui.fillText(ctx, text, x, y, style); - }; - core.ui.clearMap(ctx = core.dom.statusCanvasCtx); - if (core.status.hero.flags.hideStatusBar) { - var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) * 3 / 5; - if (hero.lv < 5) salary = 0; - - if (core.domStyle.isVertical) {} else if (!core.flags.hideLeftStatusBar) { - if (salary <= 13.2) { - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2, 280, 125 * salary / 13.2, 25) - } else if (salary <= 52.8) { - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 13.2) / 39.6, 25) - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2 + 125 * (salary - 13.2) / 39.6, 280, 125 - 125 * (salary - 13.2) / 39.6, 25) - } else if (salary <= 132) { - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 52.8) / 79.2, 25) - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 52.8) / 79.2, 280, 125 - 125 * (salary - 52.8) / 79.2, 25) - } else if (salary <= 150) { - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2, 280, 125 * (salary - 132) / 18, 25) - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 132) / 18, 280, 125 - 125 * (salary - 132) / 18, 25) - } else if (salary <= 400) { - core.ui.setFillStyle(ctx, [255, 0, 0]); - ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) - } else core.lose('你作弊了'); - if (hero.lv >= 5) fill("Salary: ¥" + (salary) + "/h", 2, 300, '#FA1489'); - } - return; - } - if (core.flags.statusCanvas) { // 系统开关「自绘状态栏」开启 - core.ui.clearMap(ctx = core.dom.statusCanvasCtx); // 清空状态栏 - core.ui.setFillStyle(ctx, core.status.globalAttribute.statusBarColor); - if (core.domStyle.isVertical) { // 竖屏 - /*core.drawImage(ctx, core.statusBar.icons.floor, 135, 6, 25, 25); - fill((core.status.thisMap || {}).name || "Loading", 171, 26); - core.drawImage(ctx, core.statusBar.icons.hp, 223, 6, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('hp')), 259, 26); - core.drawImage(ctx, core.statusBar.icons.atk, 311, 6, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('atk')), 347, 26); - core.drawImage(ctx, core.statusBar.icons.def, 135, 38, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('def')), 171, 58); - core.drawImage(ctx, core.statusBar.icons.mdef, 223, 38, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('mdef')), 259, 58); - core.drawImage(ctx, core.statusBar.icons.money, 311, 38, 25, 25); - fill(core.formatBigNumber(core.status.hero.money), 347, 58); - core.drawImage(ctx, core.statusBar.icons.exp, 6, 70, 25, 25); - fill(core.formatBigNumber(core.status.hero.exp), 42, 90);*/ - core.drawIcon(ctx, 18, 135, 6, 25, 25); - core.drawIcon(ctx, 34, 311, 6, 25, 25); - core.drawIcon(ctx, 27, 135, 36, 25, 25); - core.drawIcon(ctx, 28, 223, 36, 25, 25); - core.drawIcon(ctx, 29, 311, 36, 25, 25); - - fill((core.status.thisMap || {}).name || "Loading", 171, 26); - fill(flags.dynHP || core.formatBigNumber(core.getRealStatus('hp')), 347, 26); - fill(core.formatBigNumber(core.getRealStatus('atk')), 171, 56, '#FF5555'); - fill(core.formatBigNumber(core.getRealStatus('def')), 259, 56, '#45D1E0'); - fill(core.formatBigNumber(core.getRealStatus('mdef')), 347, 56, '#00AA00'); - ctx.textAlign = 'center' //文字居中 - ctx.textBaseline = 'middle' - ctx.fillText(core.getLvName(), 40, 35) - fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 50) - if (core.getNextLvUpNeed()) { - var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp) - ctx.beginPath() //高亮环路径 - ctx.arc(40, 40, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false) - ctx.strokeStyle = 'rgb(255, 255, 0)' - ctx.lineWidth = 5 - ctx.lineCap = 'butt' - ctx.stroke() - var act = core.firstData.levelUp[core.status.hero.lv].action, - _ = { hp: 0, atk: 0, def: 0, mdef: 0 } - for (var i of act) { - if (i.name.substr(0, 6) == "status") _[i.name.substr(7)] += parseFloat(i.value); - } - fill1("Next Level", 100, 16, '#FFFFFF'); - fill1("Atk + " + core.formatBigNumber(_.atk), 100, 40, '#FF5555'); - fill1("Def + " + core.formatBigNumber(_.def), 100, 52, '#45D1E0'); - fill1("Mdef + " + core.formatBigNumber(_.mdef), 100, 64, '#00AA00'); - fill1("Hp + " + core.formatBigNumber(_.hp), 100, 28, '#FFFFFF'); - - - } - ctx.textAlign = 'left' - ctx.textBaseline = 'alphabetic' - core.drawIcon(ctx, 21, 135, 66, 25, 25); - core.drawIcon(ctx, 22, 179, 66, 25, 25); - core.drawIcon(ctx, 23, 223, 66, 25, 25); - core.drawIcon(ctx, 47, 267, 66, 25, 25); - - fill(core.setTwoDigits(core.itemCount('yellowKey')), 159, 86, '#FFCCAA'); - fill(core.setTwoDigits(core.itemCount('blueKey')), 203, 86, '#AAAADD'); - fill(core.setTwoDigits(core.itemCount('redKey')), 247, 86, '#FF8888'); - fill(core.setTwoDigits(core.itemCount('pickaxe')), 291, 86, '#BC6E27'); - var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) * 3 / 5; - if (hero.lv < 5) salary = 0; - if (salary <= 13.2) { - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(311, 66, 105 * salary / 13.2, 25) - } else if (salary <= 52.8) { - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(311, 66, 105 * (salary - 13.2) / 39.6, 25) - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(311 + 105 * (salary - 13.2) / 39.6, 66, 105 - 105 * (salary - 13.2) / 39.6, 25) - } else if (salary <= 132) { - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(311, 66, 105 * (salary - 52.8) / 79.2, 25) - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(311 + 105 * (salary - 52.8) / 79.2, 66, 105 - 105 * (salary - 52.8) / 79.2, 25) - } else if (salary <= 150) { - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(311, 66, 105 * (salary - 132) / 18, 25) - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(311 + 105 * (salary - 132) / 18, 66, 105 - 105 * (salary - 132) / 18, 25) - } else if (salary <= 400) { - core.ui.setFillStyle(ctx, [255, 0, 0]); - ctx.fillRect(311, 66, 105 * (salary - 150) / 250, 25) - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(311 + 105 * (salary - 150) / 250, 66, 105 - 105 * (salary - 150) / 250, 25) - } else core.lose('你作弊了'); - - if (hero.lv >= 5) fill("Pay: ¥" + (salary) + "/h", 311, 86, '#FA1489'); - //fill(core.setTwoDigits(core.getFlag('lhjnb', 0)), 92, 300, '#8D8600'); - if (flags.user) fill1(flags.user, 6, 86, '#FFFFFF'); - } else if (!core.flags.hideLeftStatusBar) { // 横屏且未隐藏状态栏 - core.drawIcon(ctx, 18, 6, 5, 25, 25); - core.drawIcon(ctx, 34, 6, 35, 25, 25); - core.drawIcon(ctx, 27, 6, 65, 25, 25); - core.drawIcon(ctx, 28, 6, 95, 25, 25); - core.drawIcon(ctx, 29, 6, 125, 25, 25); - - fill((core.status.thisMap || {}).name || "Loading", 42, 25); - //core.drawImage(ctx, core.statusBar.icons.hp, 6, 35, 25, 25); - fill(flags.dynHP || core.formatBigNumber(core.getRealStatus('hp')), 42, 55); - //core.drawImage(ctx, core.statusBar.icons.atk, 6, 65, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('atk')), 42, 85, '#FF5555'); - //core.drawImage(ctx, core.statusBar.icons.def, 6, 95, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('def')), 42, 115, '#45D1E0'); - //core.drawImage(ctx, core.statusBar.icons.mdef, 6, 125, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('mdef')), 42, 145, '#00AA00'); - //core.drawImage(ctx, core.statusBar.icons.money, 6, 155, 25, 25); - //fill(core.formatBigNumber(core.status.hero.money), 42, 175); - ctx.textAlign = 'center' //文字居中 - ctx.textBaseline = 'middle' - fill(core.getLvName(), 40, 180, '#FFFF00') - fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195, '#00FFFF') - if (core.getNextLvUpNeed()) { - var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp) - /*ctx.moveTo(40, 185); - ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false); - ctx.closePath(); - ctx.fillStyle = "#FFFF00" - ctx.fill();*/ - ctx.beginPath() //高亮环路径 - ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false) - ctx.strokeStyle = 'rgb(255, 0, 255)' - ctx.lineWidth = 5 - ctx.lineCap = 'butt' - ctx.stroke() - var act = core.firstData.levelUp[core.status.hero.lv].action, - _ = { hp: 0, atk: 0, def: 0, mdef: 0 } - for (var i of act) { - if (i.name.substr(0, 6) == "status") _[i.name.substr(7)] += parseFloat(i.value); - } - fill1("Next Level", 100, 161, '#FFFFFF'); - fill1("Atk + " + core.formatBigNumber(_.atk), 100, 185, '#FF5555'); - fill1("Def + " + core.formatBigNumber(_.def), 100, 197, '#45D1E0'); - fill1("Mdef + " + core.formatBigNumber(_.mdef), 100, 209, '#00AA00'); - fill1("Hp + " + core.formatBigNumber(_.hp), 100, 173, '#FFFFFF'); - - - } - ctx.textAlign = 'left' - ctx.textBaseline = 'alphabetic' - //core.drawImage(ctx, core.statusBar.icons.exp, 6, 185, 25, 25); - //fill(core.formatBigNumber(core.status.hero.exp), 42, 205); - core.drawIcon(ctx, 21, 6, 220, 25, 25); - core.drawIcon(ctx, 22, 66, 220, 25, 25); - core.drawIcon(ctx, 23, 6, 250, 25, 25); - core.drawIcon(ctx, 47, 66, 250, 25, 25); - - fill(core.setTwoDigits(core.itemCount('yellowKey')), 32, 240, '#FFCCAA'); - fill(core.setTwoDigits(core.itemCount('blueKey')), 92, 240, '#AAAADD'); - fill(core.setTwoDigits(core.itemCount('redKey')), 32, 270, '#FF8888'); - fill(core.setTwoDigits(core.itemCount('pickaxe')), 92, 270, '#BC6E27'); - var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) * 3 / 5; - if (hero.lv < 5) salary = 0; - if (salary <= 13.2) { - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2, 280, 125 * salary / 13.2, 25) - } else if (salary <= 52.8) { - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 13.2) / 39.6, 25) - core.ui.setFillStyle(ctx, [0, 255, 255]); - ctx.fillRect(2 + 125 * (salary - 13.2) / 39.6, 280, 125 - 125 * (salary - 13.2) / 39.6, 25) - } else if (salary <= 132) { - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2, 280, 125 * (salary - 52.8) / 79.2, 25) - core.ui.setFillStyle(ctx, [0, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 52.8) / 79.2, 280, 125 - 125 * (salary - 52.8) / 79.2, 25) - } else if (salary <= 150) { - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2, 280, 125 * (salary - 132) / 18, 25) - core.ui.setFillStyle(ctx, [255, 255, 0]); - ctx.fillRect(2 + 125 * (salary - 132) / 18, 280, 125 - 125 * (salary - 132) / 18, 25) - } else if (salary <= 400) { - core.ui.setFillStyle(ctx, [255, 0, 0]); - ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) - core.ui.setFillStyle(ctx, [255, 128, 0]); - ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) - } else core.lose('你作弊了'); - - if (hero.lv >= 5) fill("Salary: ¥" + (salary) + "/h", 2, 300, '#FA1489'); - //fill(core.setTwoDigits(core.getFlag('lhjnb', 0)), 92, 300, '#8D8600'); - if (flags.user) fill1(flags.user, 6, 315, '#FFFFFF'); - - } - } else if (core.flags.hideLeftStatusBar && !core.domStyle.isVertical) { // 横屏且隐藏状态栏 - if (!core.dymCanvas['status']) - core.ui.createCanvas('status', 0, 0, core._PX_, core._PY_, 66); // 刚好盖过显伤层 - core.ui.clearMap(ctx = core.dymCanvas['status']); - core.ui.setFillStyle(ctx, core.status.globalAttribute.statusBarColor); - var offset = core.status.hero.loc.x - core.bigmap.offsetX / 32 >= core._HEIGHT_ ? 0 : core._PY_; - core.ui.setAlpha(ctx, 0.75); - core.ui.drawWindowSkin('winskin.png', ctx, offset, 0, core._PX_ - core._PY_, core._PY_); - core.ui.setAlpha(ctx, 1); - core.drawImage(ctx, core.statusBar.icons.floor, 6 + offset, 9, 25, 25); - fill((core.status.thisMap || {}).name || "Loading", 42 + offset, 29); - core.drawImage(ctx, core.statusBar.icons.hp, 6 + offset, 43, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('hp')), 42 + offset, 63); - core.drawImage(ctx, core.statusBar.icons.atk, 6 + offset, 77, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('atk')), 42 + offset, 97); - core.drawImage(ctx, core.statusBar.icons.def, 6 + offset, 111, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('def')), 42 + offset, 131); - core.drawImage(ctx, core.statusBar.icons.mdef, 6 + offset, 145, 25, 25); - fill(core.formatBigNumber(core.getRealStatus('mdef')), 42 + offset, 165); - core.drawImage(ctx, core.statusBar.icons.money, 6 + offset, 179, 25, 25); - fill(core.formatBigNumber(core.status.hero.money), 42 + offset, 199); - core.drawImage(ctx, core.statusBar.icons.exp, 6 + offset, 213, 25, 25); - fill(core.formatBigNumber(core.status.hero.exp), 42 + offset, 233); - fill(core.setTwoDigits(core.itemCount('yellowKey')), 11 + offset, 267, '#FFCCAA'); - fill(core.setTwoDigits(core.itemCount('blueKey')), 46 + offset, 267, '#AAAADD'); - fill(core.setTwoDigits(core.itemCount('redKey')), 81 + offset, 267, '#FF8888'); - } + // 这真的是人能写出来的东西? + var ctx, fill = function (text, x, y, style) { + core.ui.setFont(ctx, (/\w+/.test(text) ? ' ' : '') + '20px 得意黑'); + core.ui.fillText(ctx, text, x, y, style); }, + fill1 = function (text, x, y, style) { + core.ui.setFont(ctx, (/\w+/.test(text) ? ' ' : '') + '12px 得意黑'); + core.ui.fillText(ctx, text, x, y, style); + }; + core.ui.clearMap(ctx = core.dom.statusCanvasCtx); + if (core.status.hero.flags.hideStatusBar) { + var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; + if (hero.lv < 5) salary = 0; + + if (core.domStyle.isVertical) {} else if (!core.flags.hideLeftStatusBar) { + if (salary <= 13.5) { + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2, 280, 125 * salary / 13.5, 25) + } else if (salary <= 70) { + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 13.5) / 56.5, 25) + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2 + 125 * (salary - 13.5) / 56.5, 280, 125 - 125 * (salary - 13.5) / 56.5, 25) + } else if (salary <= 135) { + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 70) / 65, 25) + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 70) / 65, 280, 125 - 125 * (salary - 70) / 65, 25) + } else if (salary <= 150) { + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2, 280, 125 * (salary - 135) / 15, 25) + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 135) / 15, 280, 125 - 125 * (salary - 135) / 15, 25) + } else if (salary <= 400) { + core.ui.setFillStyle(ctx, [255, 0, 0]); + ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) + } else core.lose('你作弊了'); + if (hero.lv >= 5) fill("Salary: ¥" + (salary) + "/h", 2, 300, '#FA1489'); + } + return; + } + if (core.flags.statusCanvas) { // 系统开关「自绘状态栏」开启 + core.ui.clearMap(ctx = core.dom.statusCanvasCtx); // 清空状态栏 + core.ui.setFillStyle(ctx, core.status.globalAttribute.statusBarColor); + if (core.domStyle.isVertical) { // 竖屏 + /*core.drawImage(ctx, core.statusBar.icons.floor, 135, 6, 25, 25); + fill((core.status.thisMap || {}).name || "Loading", 171, 26); + core.drawImage(ctx, core.statusBar.icons.hp, 223, 6, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('hp')), 259, 26); + core.drawImage(ctx, core.statusBar.icons.atk, 311, 6, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('atk')), 347, 26); + core.drawImage(ctx, core.statusBar.icons.def, 135, 38, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('def')), 171, 58); + core.drawImage(ctx, core.statusBar.icons.mdef, 223, 38, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('mdef')), 259, 58); + core.drawImage(ctx, core.statusBar.icons.money, 311, 38, 25, 25); + fill(core.formatBigNumber(core.status.hero.money), 347, 58); + core.drawImage(ctx, core.statusBar.icons.exp, 6, 70, 25, 25); + fill(core.formatBigNumber(core.status.hero.exp), 42, 90);*/ + core.drawIcon(ctx, 18, 135, 6, 25, 25); + core.drawIcon(ctx, 34, 311, 6, 25, 25); + core.drawIcon(ctx, 27, 135, 36, 25, 25); + core.drawIcon(ctx, 28, 223, 36, 25, 25); + core.drawIcon(ctx, 29, 311, 36, 25, 25); + + fill((core.status.thisMap || {}).name || "Loading", 171, 26); + fill(flags.dynHP || core.formatBigNumber(core.getRealStatus('hp')), 347, 26); + fill(core.formatBigNumber(core.getRealStatus('atk')), 171, 56, '#FF5555'); + fill(core.formatBigNumber(core.getRealStatus('def')), 259, 56, '#45D1E0'); + fill(core.formatBigNumber(core.getRealStatus('mdef')), 347, 56, '#00AA00'); + ctx.textAlign = 'center' //文字居中 + ctx.textBaseline = 'middle' + ctx.fillText(core.getLvName(), 40, 35) + fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 50) + if (core.getNextLvUpNeed()) { + var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp) + ctx.beginPath() //高亮环路径 + ctx.arc(40, 40, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false) + ctx.strokeStyle = 'rgb(255, 255, 0)' + ctx.lineWidth = 5 + ctx.lineCap = 'butt' + ctx.stroke() + var act = core.firstData.levelUp[core.status.hero.lv].action, + _ = { hp: 0, atk: 0, def: 0, mdef: 0 } + for (var i of act) { + if (i.name.substr(0, 6) == "status") _[i.name.substr(7)] += parseFloat(i.value); + } + fill1("Next Level", 100, 16, '#FFFFFF'); + fill1("Atk + " + core.formatBigNumber(_.atk), 100, 40, '#FF5555'); + fill1("Def + " + core.formatBigNumber(_.def), 100, 52, '#45D1E0'); + fill1("Mdef + " + core.formatBigNumber(_.mdef), 100, 64, '#00AA00'); + fill1("Hp + " + core.formatBigNumber(_.hp), 100, 28, '#FFFFFF'); + + + } + ctx.textAlign = 'left' + ctx.textBaseline = 'alphabetic' + core.drawIcon(ctx, 21, 135, 66, 25, 25); + core.drawIcon(ctx, 22, 179, 66, 25, 25); + core.drawIcon(ctx, 23, 223, 66, 25, 25); + core.drawIcon(ctx, 47, 267, 66, 25, 25); + + fill(core.setTwoDigits(core.itemCount('yellowKey')), 159, 86, '#FFCCAA'); + fill(core.setTwoDigits(core.itemCount('blueKey')), 203, 86, '#AAAADD'); + fill(core.setTwoDigits(core.itemCount('redKey')), 247, 86, '#FF8888'); + fill(core.setTwoDigits(core.itemCount('pickaxe')), 291, 86, '#BC6E27'); + var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; + if (hero.lv < 5) salary = 0; + if (salary <= 13.5) { + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2, 280, 125 * salary / 13.5, 25) + } else if (salary <= 70) { + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 13.5) / 56.5, 25) + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2 + 125 * (salary - 13.5) / 56.5, 280, 125 - 125 * (salary - 13.5) / 56.5, 25) + } else if (salary <= 135) { + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 70) / 65, 25) + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 70) / 65, 280, 125 - 125 * (salary - 70) / 65, 25) + } else if (salary <= 150) { + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2, 280, 125 * (salary - 135) / 15, 25) + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 135) / 15, 280, 125 - 125 * (salary - 135) / 15, 25) + } else if (salary <= 400) { + core.ui.setFillStyle(ctx, [255, 0, 0]); + ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) + } else core.lose('你作弊了'); + + if (hero.lv >= 5) fill("Pay: ¥" + (salary) + "/h", 311, 86, '#FA1489'); + //fill(core.setTwoDigits(core.getFlag('lhjnb', 0)), 92, 300, '#8D8600'); + if (flags.user) fill1(flags.user, 6, 86, '#FFFFFF'); + } else if (!core.flags.hideLeftStatusBar) { // 横屏且未隐藏状态栏 + core.drawIcon(ctx, 18, 6, 5, 25, 25); + core.drawIcon(ctx, 34, 6, 35, 25, 25); + core.drawIcon(ctx, 27, 6, 65, 25, 25); + core.drawIcon(ctx, 28, 6, 95, 25, 25); + core.drawIcon(ctx, 29, 6, 125, 25, 25); + + fill((core.status.thisMap || {}).name || "Loading", 42, 25); + //core.drawImage(ctx, core.statusBar.icons.hp, 6, 35, 25, 25); + fill(flags.dynHP || core.formatBigNumber(core.getRealStatus('hp')), 42, 55); + //core.drawImage(ctx, core.statusBar.icons.atk, 6, 65, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('atk')), 42, 85, '#FF5555'); + //core.drawImage(ctx, core.statusBar.icons.def, 6, 95, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('def')), 42, 115, '#45D1E0'); + //core.drawImage(ctx, core.statusBar.icons.mdef, 6, 125, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('mdef')), 42, 145, '#00AA00'); + //core.drawImage(ctx, core.statusBar.icons.money, 6, 155, 25, 25); + //fill(core.formatBigNumber(core.status.hero.money), 42, 175); + ctx.textAlign = 'center' //文字居中 + ctx.textBaseline = 'middle' + fill(core.getLvName(), 40, 180, '#FFFF00') + fill1("Need: " + core.formatBigNumber(core.getNextLvUpNeed()), 40, 195, '#00FFFF') + if (core.getNextLvUpNeed()) { + var rat = (core.status.hero.exp) / (core.getNextLvUpNeed() + core.status.hero.exp) + /*ctx.moveTo(40, 185); + ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false); + ctx.closePath(); + ctx.fillStyle = "#FFFF00" + ctx.fill();*/ + ctx.beginPath() //高亮环路径 + ctx.arc(40, 185, 30, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * rat, false) + ctx.strokeStyle = 'rgb(255, 0, 255)' + ctx.lineWidth = 5 + ctx.lineCap = 'butt' + ctx.stroke() + var act = core.firstData.levelUp[core.status.hero.lv].action, + _ = { hp: 0, atk: 0, def: 0, mdef: 0 } + for (var i of act) { + if (i.name.substr(0, 6) == "status") _[i.name.substr(7)] += parseFloat(i.value); + } + fill1("Next Level", 100, 161, '#FFFFFF'); + fill1("Atk + " + core.formatBigNumber(_.atk), 100, 185, '#FF5555'); + fill1("Def + " + core.formatBigNumber(_.def), 100, 197, '#45D1E0'); + fill1("Mdef + " + core.formatBigNumber(_.mdef), 100, 209, '#00AA00'); + fill1("Hp + " + core.formatBigNumber(_.hp), 100, 173, '#FFFFFF'); + + + } + ctx.textAlign = 'left' + ctx.textBaseline = 'alphabetic' + //core.drawImage(ctx, core.statusBar.icons.exp, 6, 185, 25, 25); + //fill(core.formatBigNumber(core.status.hero.exp), 42, 205); + core.drawIcon(ctx, 21, 6, 220, 25, 25); + core.drawIcon(ctx, 22, 66, 220, 25, 25); + core.drawIcon(ctx, 23, 6, 250, 25, 25); + core.drawIcon(ctx, 47, 66, 250, 25, 25); + + fill(core.setTwoDigits(core.itemCount('yellowKey')), 32, 240, '#FFCCAA'); + fill(core.setTwoDigits(core.itemCount('blueKey')), 92, 240, '#AAAADD'); + fill(core.setTwoDigits(core.itemCount('redKey')), 32, 270, '#FF8888'); + fill(core.setTwoDigits(core.itemCount('pickaxe')), 92, 270, '#BC6E27'); + var salary = ((core.itemCount('yellowKey') * 2 + core.itemCount('blueKey') * 5 + core.itemCount('redKey') * 15 + core.itemCount('pickaxe') * 30)) / 2; + if (hero.lv < 5) salary = 0; + if (salary <= 13.5) { + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2, 280, 125 * salary / 13.5, 25) + } else if (salary <= 70) { + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 13.5) / 56.5, 25) + core.ui.setFillStyle(ctx, [0, 255, 255]); + ctx.fillRect(2 + 125 * (salary - 13.5) / 56.5, 280, 125 - 125 * (salary - 13.5) / 56.5, 25) + } else if (salary <= 135) { + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2, 280, 125 * (salary - 70) / 65, 25) + core.ui.setFillStyle(ctx, [0, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 70) / 65, 280, 125 - 125 * (salary - 70) / 65, 25) + } else if (salary <= 150) { + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2, 280, 125 * (salary - 135) / 15, 25) + core.ui.setFillStyle(ctx, [255, 255, 0]); + ctx.fillRect(2 + 125 * (salary - 135) / 15, 280, 125 - 125 * (salary - 135) / 15, 25) + } else if (salary <= 400) { + core.ui.setFillStyle(ctx, [255, 0, 0]); + ctx.fillRect(2, 280, 125 * (salary - 150) / 250, 25) + core.ui.setFillStyle(ctx, [255, 128, 0]); + ctx.fillRect(2 + 125 * (salary - 150) / 250, 280, 125 - 125 * (salary - 150) / 250, 25) + } else core.lose('你作弊了'); + + if (hero.lv >= 5) fill("Salary: ¥" + (salary) + "/h", 2, 300, '#FA1489'); + //fill(core.setTwoDigits(core.getFlag('lhjnb', 0)), 92, 300, '#8D8600'); + if (flags.user) fill1(flags.user, 6, 315, '#FFFFFF'); + + } + } else if (core.flags.hideLeftStatusBar && !core.domStyle.isVertical) { // 横屏且隐藏状态栏 + if (!core.dymCanvas['status']) + core.ui.createCanvas('status', 0, 0, core._PX_, core._PY_, 66); // 刚好盖过显伤层 + core.ui.clearMap(ctx = core.dymCanvas['status']); + core.ui.setFillStyle(ctx, core.status.globalAttribute.statusBarColor); + var offset = core.status.hero.loc.x - core.bigmap.offsetX / 32 >= core._HEIGHT_ ? 0 : core._PY_; + core.ui.setAlpha(ctx, 0.75); + core.ui.drawWindowSkin('winskin.png', ctx, offset, 0, core._PX_ - core._PY_, core._PY_); + core.ui.setAlpha(ctx, 1); + core.drawImage(ctx, core.statusBar.icons.floor, 6 + offset, 9, 25, 25); + fill((core.status.thisMap || {}).name || "Loading", 42 + offset, 29); + core.drawImage(ctx, core.statusBar.icons.hp, 6 + offset, 43, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('hp')), 42 + offset, 63); + core.drawImage(ctx, core.statusBar.icons.atk, 6 + offset, 77, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('atk')), 42 + offset, 97); + core.drawImage(ctx, core.statusBar.icons.def, 6 + offset, 111, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('def')), 42 + offset, 131); + core.drawImage(ctx, core.statusBar.icons.mdef, 6 + offset, 145, 25, 25); + fill(core.formatBigNumber(core.getRealStatus('mdef')), 42 + offset, 165); + core.drawImage(ctx, core.statusBar.icons.money, 6 + offset, 179, 25, 25); + fill(core.formatBigNumber(core.status.hero.money), 42 + offset, 199); + core.drawImage(ctx, core.statusBar.icons.exp, 6 + offset, 213, 25, 25); + fill(core.formatBigNumber(core.status.hero.exp), 42 + offset, 233); + fill(core.setTwoDigits(core.itemCount('yellowKey')), 11 + offset, 267, '#FFCCAA'); + fill(core.setTwoDigits(core.itemCount('blueKey')), 46 + offset, 267, '#AAAADD'); + fill(core.setTwoDigits(core.itemCount('redKey')), 81 + offset, 267, '#FF8888'); + } +}, "drawStatistics": function () { // 浏览地图时参与的统计项目 diff --git a/project/icons.js b/project/icons.js index 5db350a..b1bb8e1 100644 --- a/project/icons.js +++ b/project/icons.js @@ -141,7 +141,29 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "N801": 18, "N802": 19, "N803": 20, - "N658": 21 + "N658": 21, + "N827": 22, + "N830": 23, + "N831": 24, + "N832": 25, + "N833": 26, + "N834": 27, + "N835": 28, + "N836": 29, + "N837": 30, + "N838": 31, + "N839": 32, + "N840": 33, + "N841": 34, + "N842": 35, + "N843": 36, + "N844": 37, + "N845": 38, + "N846": 39, + "N847": 40, + "N848": 41, + "N849": 42, + "N850": 43 }, "npc48": { "npc0": 0, @@ -310,7 +332,26 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "N794": 163, "N795": 164, "N796": 165, - "N797": 166 + "N797": 166, + "N851": 167, + "N852": 168, + "N853": 169, + "N854": 170, + "N855": 171, + "N856": 172, + "N857": 173, + "N858": 174, + "N859": 175, + "N860": 176, + "N861": 177, + "N862": 178, + "N863": 179, + "N864": 180, + "N865": 181, + "N866": 182, + "N867": 183, + "N868": 184, + "N869": 185 }, "enemys": { "greenSlime": 0, @@ -563,7 +604,28 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "E818": 247, "E819": 248, "E820": 249, - "E821": 250 + "E821": 250, + "E828": 251, + "E829": 252, + "E918": 253, + "E919": 254, + "E920": 255, + "E921": 256, + "E922": 257, + "E923": 258, + "E924": 259, + "E925": 260, + "E926": 261, + "E927": 262, + "E949": 263, + "E950": 264, + "E954": 265, + "E955": 266, + "E956": 267, + "E957": 268, + "E958": 269, + "E959": 270, + "E960": 271 }, "enemy48": { "angel": 0, @@ -757,7 +819,82 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "I800": 172, "I804": 173, "I805": 174, - "I826": 175 + "I826": 175, + "I870": 176, + "I871": 177, + "I872": 178, + "I873": 179, + "I874": 180, + "I875": 181, + "I876": 182, + "I877": 183, + "I878": 184, + "I879": 185, + "I880": 186, + "I881": 187, + "I882": 188, + "I883": 189, + "I884": 190, + "I885": 191, + "I886": 192, + "I887": 193, + "I888": 194, + "I889": 195, + "I890": 196, + "I891": 197, + "I892": 198, + "I893": 199, + "I894": 200, + "I895": 201, + "I896": 202, + "I897": 203, + "I898": 204, + "I899": 205, + "I900": 206, + "I901": 207, + "I902": 208, + "I903": 209, + "I904": 210, + "I905": 211, + "I906": 212, + "I907": 213, + "I908": 214, + "I909": 215, + "I910": 216, + "I911": 217, + "I912": 218, + "I913": 219, + "I914": 220, + "I915": 221, + "I916": 222, + "I917": 223, + "I928": 224, + "I929": 225, + "I930": 226, + "I931": 227, + "I932": 228, + "I933": 229, + "I934": 230, + "I935": 231, + "I936": 232, + "I937": 233, + "I938": 234, + "I939": 235, + "I940": 236, + "I941": 237, + "I942": 238, + "I943": 239, + "I944": 240, + "I945": 241, + "I946": 242, + "I947": 243, + "I948": 244, + "I951": 245, + "I952": 246, + "I953": 247, + "I961": 248, + "I962": 249, + "I963": 250 }, "autotile": { "autotile": 0, diff --git a/project/images/45014e32bba3ce1204d65d508c581a3.jpg b/project/images/45014e32bba3ce1204d65d508c581a3.jpg new file mode 100644 index 0000000..78c782a Binary files /dev/null and b/project/images/45014e32bba3ce1204d65d508c581a3.jpg differ diff --git a/project/images/5535368c2ec84c940a50322c476a457.jpg b/project/images/5535368c2ec84c940a50322c476a457.jpg new file mode 100644 index 0000000..429e6fe Binary files /dev/null and b/project/images/5535368c2ec84c940a50322c476a457.jpg differ diff --git a/project/images/chengshi1 (1).jpg b/project/images/chengshi1 (1).jpg new file mode 100644 index 0000000..3ec8c6a Binary files /dev/null and b/project/images/chengshi1 (1).jpg differ diff --git a/project/images/chengshi1 (2).jpg b/project/images/chengshi1 (2).jpg new file mode 100644 index 0000000..7cca587 Binary files /dev/null and b/project/images/chengshi1 (2).jpg differ diff --git a/project/images/fencai.jpg b/project/images/fencai.jpg new file mode 100644 index 0000000..4a50e97 Binary files /dev/null and b/project/images/fencai.jpg differ diff --git a/project/images/keji.jpg b/project/images/keji.jpg new file mode 100644 index 0000000..425cfd5 Binary files /dev/null and b/project/images/keji.jpg differ diff --git a/project/images/lieche.jpg b/project/images/lieche.jpg new file mode 100644 index 0000000..ba338b7 Binary files /dev/null and b/project/images/lieche.jpg differ diff --git a/project/images/shengdan.jpg b/project/images/shengdan.jpg new file mode 100644 index 0000000..cecadd4 Binary files /dev/null and b/project/images/shengdan.jpg differ diff --git a/project/images/xiangcun.jpg b/project/images/xiangcun.jpg new file mode 100644 index 0000000..66a76e8 Binary files /dev/null and b/project/images/xiangcun.jpg differ diff --git a/project/images/xiangjian.jpg b/project/images/xiangjian.jpg new file mode 100644 index 0000000..33a8be1 Binary files /dev/null and b/project/images/xiangjian.jpg differ diff --git a/project/images/xueye.jpg b/project/images/xueye.jpg new file mode 100644 index 0000000..f99992a Binary files /dev/null and b/project/images/xueye.jpg differ diff --git a/project/images/yinghua.jpg b/project/images/yinghua.jpg new file mode 100644 index 0000000..d52e92e Binary files /dev/null and b/project/images/yinghua.jpg differ diff --git a/project/images/zhuangkuo.jpg b/project/images/zhuangkuo.jpg new file mode 100644 index 0000000..cf66240 Binary files /dev/null and b/project/images/zhuangkuo.jpg differ diff --git a/project/items.js b/project/items.js index d7d22cb..228d02b 100644 --- a/project/items.js +++ b/project/items.js @@ -240,9 +240,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();" }, "coin": { - "cls": "constants", + "cls": "items", "name": "幸运金币", - "text": "持有时打败怪物可得双倍金币" + "text": "持有时打败怪物可得双倍金币", + "itemEffect": "core.status.hero.money += 200" }, "freezeBadge": { "cls": "constants", @@ -425,8 +426,8 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "canUseItemEffect": "true" }, "I336": { - "cls": "items", - "name": "新物品", + "cls": "constants", + "name": "减分优势", "canUseItemEffect": "true" }, "I337": { @@ -836,23 +837,31 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I591": { "cls": "items", - "name": "新物品", - "canUseItemEffect": "true" + "name": "红结晶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 10000", + "itemEffectTip": ",攻击+10000" }, "I592": { "cls": "items", - "name": "新物品", - "canUseItemEffect": "true" + "name": "蓝结晶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 10000", + "itemEffectTip": ",防御+10000" }, "I593": { "cls": "items", - "name": "新物品", - "canUseItemEffect": "true" + "name": "绿结晶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 30000", + "itemEffectTip": ",魔防+30000" }, "I594": { "cls": "items", - "name": "新物品", - "canUseItemEffect": "true" + "name": "黄结晶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 10000;\ncore.status.hero.def += 10000;\ncore.status.hero.mdef += 30000;", + "itemEffectTip": ",全属性提升" }, "I595": { "cls": "items", @@ -1083,7 +1092,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I734": { "cls": "items", - "name": "紫血罐", + "name": "绿血罐", "canUseItemEffect": "true", "itemEffect": "core.status.hero.hp += 10000", "itemEffectTip": ",生命+10000" @@ -1206,7 +1215,8 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "items", "name": "烈焰刃", "canUseItemEffect": "true", - "itemEffect": "core.status.hero.atk += 1500" + "itemEffect": "core.status.hero.atk += 1500", + "itemEffectTip": ",攻击+1500" }, "I825": { "cls": "items", @@ -1222,18 +1232,583 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "text": "入学半年,我就得罪了无数人,还被张逸凡给踢出了同学群,他们的恶意时刻影响着我。受此影响,本区接下来的怪物先攻。" }, "I804": { - "cls": "items", + "cls": "tools", "name": "新物品", - "canUseItemEffect": "true" + "canUseItemEffect": "true", + "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();" }, "I805": { - "cls": "items", + "cls": "tools", "name": "新物品", - "canUseItemEffect": "true" + "canUseItemEffect": "true", + "useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn\n\t\tblock.event.canBreak;\n\t};\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar success = false,\n\t\tfail = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破;如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向,如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t} else if (canBomb(core.nextX(), core.nextY())) {\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'atk', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'def', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'hp', 0);\n\t\t\tcore.setEnemyOnPoint(core.nextX(), core.nextY(), null, 'special', 0);\n\t\t\tcore.saveAndStopAutomaticRoute();\n\t\t\tcore.afterBattle(core.getBlockId(core.nextX(), core.nextY()), core.nextX(), core.nextY());\n\t\t\tfail = true;\n\t\t}\n\t}\n\n\tif (success || fail) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();" }, "I826": { "cls": "items", "name": "新物品", "canUseItemEffect": "true" + }, + "I870": { + "cls": "items", + "name": "二星红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 100", + "itemEffectTip": ",攻击+100" + }, + "I871": { + "cls": "items", + "name": "二星蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 100", + "itemEffectTip": ",防御+100" + }, + "I872": { + "cls": "items", + "name": "二星绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 300", + "itemEffectTip": ",魔防+300" + }, + "I873": { + "cls": "items", + "name": "二星黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 100;\ncore.status.hero.def += 100;\ncore.status.hero.mdef += 300;" + }, + "I874": { + "cls": "items", + "name": "三星红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 200", + "itemEffectTip": ",攻击+200" + }, + "I875": { + "cls": "items", + "name": "三星蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 200", + "itemEffectTip": ",防御+200" + }, + "I876": { + "cls": "items", + "name": "三星绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 600", + "itemEffectTip": ",魔防+600" + }, + "I877": { + "cls": "items", + "name": "三星黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 200;\ncore.status.hero.def += 200;\ncore.status.hero.mdef += 600;" + }, + "I878": { + "cls": "items", + "name": "四星红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 400", + "itemEffectTip": ",攻击+400" + }, + "I879": { + "cls": "items", + "name": "四星蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 400", + "itemEffectTip": ",防御+400" + }, + "I880": { + "cls": "items", + "name": "四星绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 1200", + "itemEffectTip": ",魔防+1200" + }, + "I881": { + "cls": "items", + "name": "四星黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 400;\ncore.status.hero.def += 400;\ncore.status.hero.mdef += 1200;" + }, + "I882": { + "cls": "items", + "name": "五星红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 800", + "itemEffectTip": ",攻击+800" + }, + "I883": { + "cls": "items", + "name": "五星蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 800", + "itemEffectTip": ",防御+800" + }, + "I884": { + "cls": "items", + "name": "五星绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 2400", + "itemEffectTip": ",魔防+2400" + }, + "I885": { + "cls": "items", + "name": "五星黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 800;\ncore.status.hero.def += 800;\ncore.status.hero.mdef += 2400;" + }, + "I886": { + "cls": "items", + "name": "方块红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 1600", + "itemEffectTip": ",攻击+1600" + }, + "I887": { + "cls": "items", + "name": "方块蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 1600", + "itemEffectTip": ",防御+1600" + }, + "I888": { + "cls": "items", + "name": "方块绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 4800", + "itemEffectTip": ",魔防+4800" + }, + "I889": { + "cls": "items", + "name": "方块黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 1600;\ncore.status.hero.def += 1600;\ncore.status.hero.mdef += 4800;" + }, + "I890": { + "cls": "items", + "name": "红钻石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 3200", + "itemEffectTip": ",攻击+3200" + }, + "I891": { + "cls": "items", + "name": "蓝钻石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 3200", + "itemEffectTip": ",防御+3200" + }, + "I892": { + "cls": "items", + "name": "绿钻石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 9600", + "itemEffectTip": ",魔防+9600" + }, + "I893": { + "cls": "items", + "name": "黄钻石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 3200;\ncore.status.hero.def += 3200;\ncore.status.hero.mdef += 9600;" + }, + "I894": { + "cls": "items", + "name": "六星红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 6400", + "itemEffectTip": ",攻击+6400" + }, + "I895": { + "cls": "items", + "name": "六星蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 6400", + "itemEffectTip": ",防御+6400" + }, + "I896": { + "cls": "items", + "name": "六星绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 19200", + "itemEffectTip": ",魔防+19200" + }, + "I897": { + "cls": "items", + "name": "六星黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 6400;\ncore.status.hero.def += 6400;\ncore.status.hero.mdef += 19200;" + }, + "I898": { + "cls": "items", + "name": "大牛红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 2500", + "itemEffectTip": ",攻击+2500" + }, + "I899": { + "cls": "items", + "name": "大牛蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 2500", + "itemEffectTip": ",防御+2500" + }, + "I900": { + "cls": "items", + "name": "大牛绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 7500", + "itemEffectTip": ",魔防+7500" + }, + "I901": { + "cls": "items", + "name": "大牛黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 2500;\ncore.status.hero.def += 2500;\ncore.status.hero.mdef += 7500;" + }, + "I902": { + "cls": "items", + "name": "勾玉红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 3000", + "itemEffectTip": ",攻击+3000" + }, + "I903": { + "cls": "items", + "name": "勾玉蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 3000", + "itemEffectTip": ",防御+3000" + }, + "I904": { + "cls": "items", + "name": "勾玉绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 9000", + "itemEffectTip": ",魔防+9000" + }, + "I905": { + "cls": "items", + "name": "勾玉黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 3000;\ncore.status.hero.def += 3000;\ncore.status.hero.mdef += 9000;" + }, + "I906": { + "cls": "items", + "name": "红血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 5000", + "itemEffectTip": ",生命+5000" + }, + "I907": { + "cls": "items", + "name": "蓝血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 10000", + "itemEffectTip": ",生命+10000" + }, + "I908": { + "cls": "items", + "name": "绿血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 40000", + "itemEffectTip": ",生命+40000" + }, + "I909": { + "cls": "items", + "name": "黄血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 20000", + "itemEffectTip": ",生命+20000" + }, + "I910": { + "cls": "items", + "name": "大红血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 100000", + "itemEffectTip": ",生命+100000" + }, + "I911": { + "cls": "items", + "name": "大蓝血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 200000", + "itemEffectTip": ",生命+200000" + }, + "I912": { + "cls": "items", + "name": "大绿血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 800000", + "itemEffectTip": ",生命+800000" + }, + "I913": { + "cls": "items", + "name": "大黄血瓶", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 400000", + "itemEffectTip": ",生命+400000" + }, + "I914": { + "cls": "items", + "name": "红血罐", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 2000000", + "itemEffectTip": ",生命+2000000" + }, + "I915": { + "cls": "items", + "name": "蓝血罐", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 4000000", + "itemEffectTip": ",生命+4000000" + }, + "I916": { + "cls": "items", + "name": "黄血罐", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 8000000", + "itemEffectTip": ",生命+8000000" + }, + "I917": { + "cls": "items", + "name": "绿血罐", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 16000000", + "itemEffectTip": ",生命+16000000" + }, + "I928": { + "cls": "items", + "name": "红宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 50", + "itemEffectTip": ",攻击+50" + }, + "I929": { + "cls": "items", + "name": "蓝宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 50", + "itemEffectTip": ",防御+50" + }, + "I930": { + "cls": "items", + "name": "绿宝石", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 150", + "itemEffectTip": ",魔防+150" + }, + "I931": { + "cls": "items", + "name": "黄宝石", + "canUseItemEffect": "true", + "itemEffectTip": ",全属性提升", + "itemEffect": "core.status.hero.atk += 50;\ncore.status.hero.def += 50;\ncore.status.hero.mdef += 150;" + }, + "I932": { + "cls": "items", + "name": "魔剑", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 5000", + "itemEffectTip": ",攻击+5000" + }, + "I933": { + "cls": "items", + "name": "天空之剑", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 20000", + "itemEffectTip": ",攻击+20000" + }, + "I934": { + "cls": "items", + "name": "鬼灭之刃", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 80000", + "itemEffectTip": ",攻击+80000" + }, + "I935": { + "cls": "items", + "name": "空之刃", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 10000", + "itemEffectTip": ",攻击+10000" + }, + "I936": { + "cls": "items", + "name": "破空剑", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 30000", + "itemEffectTip": ",攻击+30000" + }, + "I937": { + "cls": "items", + "name": "阳之盾", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 5000", + "itemEffectTip": ",防御+5000" + }, + "I938": { + "cls": "items", + "name": "深红盾", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 10000", + "itemEffectTip": ",防御+10000" + }, + "I939": { + "cls": "items", + "name": "十方威名", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 20000" + }, + "I940": { + "cls": "items", + "name": "时空之盾", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 80000", + "itemEffectTip": ",防御+80000" + }, + "I941": { + "cls": "items", + "name": "魔瞳盾", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.def += 30000", + "itemEffectTip": ",防御+30000" + }, + "I942": { + "cls": "equips", + "name": "沉睡雄狮", + "canUseItemEffect": "true", + "text": "一个人的潜力是无穷的,取决于你能不能发挥出来了。", + "hideInToolbox": false, + "equip": { + "type": "潜力", + "value": {}, + "percentage": { + "mdef": 25, + "def": 20 + } + } + }, + "I943": { + "cls": "equips", + "name": "虚空面具", + "canUseItemEffect": "true", + "text": "一个人的内心强大,这人才能更强。心境越高,成就越高!攻防各加10万,魔防增加百分之二十", + "equip": { + "type": "心境", + "value": { + "def": 100000, + "atk": 100000 + }, + "percentage": { + "mdef": 20 + } + } + }, + "I944": { + "cls": "equips", + "name": "初心法器", + "canUseItemEffect": "true", + "text": "不忘初心,方得始终!\n牢记梦想,逐梦九天!\n装备可获得百分之十攻防。", + "equip": { + "type": "梦想", + "value": {}, + "percentage": { + "atk": 10, + "def": 10 + } + } + }, + "I945": { + "cls": "items", + "name": "创世圣剑", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.atk += 200000\ncore.status.hero.def += 150000" + }, + "I946": { + "cls": "equips", + "name": "坚韧头盔", + "canUseItemEffect": "true", + "equip": { + "type": "韧性", + "value": {}, + "percentage": { + "mdef": 15 + } + }, + "text": "一个人的韧性,决定着他能否贯彻自己的目标完成自己的梦想,只有坚韧的品质,才能走的更远。魔防+15%" + }, + "I947": { + "cls": "equips", + "name": "北大学生证", + "canUseItemEffect": "true", + "text": "经过努力,我争取到了北大签约,最终我考入了心中理想的大学北大,获得了北大学生证。攻防加百分之二十。", + "equip": { + "type": "凭证", + "value": {}, + "percentage": { + "def": 20, + "atk": 20 + } + } + }, + "I948": { + "cls": "equips", + "name": "灭世矛", + "canUseItemEffect": "true", + "equip": { + "type": 0, + "value": {}, + "percentage": { + "mdef": 20, + "atk": 20 + } + }, + "text": "从出生到大学毕业,这一路走来我深知能力的重要性,只要不断提升自己的能力才能更好的立足。装备攻击+20%,魔防+20%" + }, + "I951": { + "cls": "items", + "name": "魔衣", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.mdef += 10000\ncore.status.hero.hp += 800000" + }, + "I952": { + "cls": "items", + "name": "盛世神衣", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 50000000\ncore.status.hero.mdef += 200000\ncore.status.hero.def += 50000" + }, + "I953": { + "cls": "constants", + "name": "龙珠", + "canUseItemEffect": "true", + "text": "集齐七颗龙珠就能召唤神龙。当七颗龙珠集齐之时,我的大学课程也就学完了,之后所获得的能力变会转换成一件强力装备。每颗龙珠增加许多能力。", + "itemEffect": null + }, + "I961": { + "cls": "items", + "name": "圣水", + "canUseItemEffect": "true", + "itemEffectTip": ",生命+40000000", + "itemEffect": "core.status.hero.hp += 40000000" + }, + "I962": { + "cls": "items", + "name": "圣水", + "canUseItemEffect": "true", + "itemEffect": "core.status.hero.hp += 40000000", + "itemEffectTip": ",生命+40000000" + }, + "I963": { + "cls": "tools", + "name": "时空碎片", + "canUseItemEffect": "false" } } \ No newline at end of file diff --git a/project/maps.js b/project/maps.js index e40fe7a..c25a0a1 100644 --- a/project/maps.js +++ b/project/maps.js @@ -69,9 +69,9 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "71": {"cls":"items","id":"shield0"}, "72": {"cls":"items","id":"skill1"}, "73": {"cls":"items","id":"wand"}, - "81": {"cls":"animates","id":"yellowDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"yellowKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"2"}]},"name":"黄门"}, - "82": {"cls":"animates","id":"blueDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"blueKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"5"}]},"name":"蓝门"}, - "83": {"cls":"animates","id":"redDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"redKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"15"}]},"name":"红门"}, + "81": {"cls":"animates","id":"yellowDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"yellowKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"2"}]},"name":"黄门","canBreak":true}, + "82": {"cls":"animates","id":"blueDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"blueKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"5"}]},"name":"蓝门","canBreak":true}, + "83": {"cls":"animates","id":"redDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"redKey":1},"afterOpenDoor":[{"type":"setValue","name":"flag:lhjnb","operator":"+=","value":"15"}]},"name":"红门","canBreak":true}, "84": {"cls":"animates","id":"greenDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"greenKey":1}},"name":"绿门"}, "85": {"cls":"animates","id":"specialDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"specialKey":1}},"name":"机关门","cannotOut":[],"cannotIn":[]}, "86": {"cls":"animates","id":"steelDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{"steelKey":1}},"name":"铁门"}, @@ -483,7 +483,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "556": {"cls":"npc48","id":"N556"}, "557": {"cls":"npc48","id":"N557"}, "558": {"cls":"npc48","id":"N558","faceIds":{"down":"N558","left":"N559","right":"N560","up":"N561"}}, - "559": {"cls":"npc48","id":"N559","faceIds":{"down":"N558","left":"N559","right":"N560","up":"N561"}}, + "559": {"cls":"npc48","id":"N559","faceIds":{"down":"N558","left":"N559","right":"N560","up":"N561"},"animate":1}, "560": {"cls":"npc48","id":"N560","faceIds":{"down":"N558","left":"N559","right":"N560","up":"N561"}}, "561": {"cls":"npc48","id":"N561","faceIds":{"down":"N558","left":"N559","right":"N560","up":"N561"}}, "562": {"cls":"npc48","id":"N562"}, @@ -601,7 +601,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "674": {"cls":"npc48","id":"N674","faceIds":{"down":"N674","left":"N675","right":"N676","up":"N677"},"animate":1}, "675": {"cls":"npc48","id":"N675","faceIds":{"down":"N674","left":"N675","right":"N676","up":"N677"}}, "676": {"cls":"npc48","id":"N676","faceIds":{"down":"N674","left":"N675","right":"N676","up":"N677"}}, - "677": {"cls":"npc48","id":"N677","faceIds":{"down":"N674","left":"N675","right":"N676","up":"N677"}}, + "677": {"cls":"npc48","id":"N677","faceIds":{"down":"N674","left":"N675","right":"N676","up":"N677"},"animate":1}, "678": {"cls":"npc48","id":"N678","animate":1}, "679": {"cls":"npc48","id":"N679","animate":1}, "680": {"cls":"npc48","id":"N680","animate":1}, @@ -633,7 +633,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "706": {"cls":"npc48","id":"N706","animate":1}, "707": {"cls":"npc48","id":"N707","animate":1}, "708": {"cls":"npc48","id":"N708","animate":1}, - "709": {"cls":"npc48","id":"N709"}, + "709": {"cls":"npc48","id":"N709","animate":1}, "710": {"cls":"npc48","id":"N710"}, "711": {"cls":"npc48","id":"N711","animate":1}, "712": {"cls":"npc48","id":"N712","animate":1}, @@ -670,28 +670,28 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "743": {"cls":"items","id":"I743"}, "744": {"cls":"npc48","id":"N744","animate":1}, "745": {"cls":"npc48","id":"N745"}, - "746": {"cls":"npc48","id":"N746"}, + "746": {"cls":"npc48","id":"N746","animate":1}, "747": {"cls":"npc48","id":"N747"}, - "748": {"cls":"npc48","id":"N748"}, + "748": {"cls":"npc48","id":"N748","animate":1}, "749": {"cls":"npc48","id":"N749"}, - "750": {"cls":"npc48","id":"N750"}, + "750": {"cls":"npc48","id":"N750","animate":1}, "751": {"cls":"npc48","id":"N751"}, - "752": {"cls":"npc48","id":"N752"}, + "752": {"cls":"npc48","id":"N752","animate":1}, "753": {"cls":"npc48","id":"N753","faceIds":{"down":"N753","left":"N754","right":"N755","up":"N756"}}, "754": {"cls":"npc48","id":"N754","faceIds":{"down":"N753","left":"N754","right":"N755","up":"N756"}}, "755": {"cls":"npc48","id":"N755","faceIds":{"down":"N753","left":"N754","right":"N755","up":"N756"}}, - "756": {"cls":"npc48","id":"N756","faceIds":{"down":"N753","left":"N754","right":"N755","up":"N756"}}, - "757": {"cls":"npc48","id":"N757","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"}}, + "756": {"cls":"npc48","id":"N756","faceIds":{"down":"N753","left":"N754","right":"N755","up":"N756"},"animate":1}, + "757": {"cls":"npc48","id":"N757","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"},"animate":1}, "758": {"cls":"npc48","id":"N758","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"}}, - "759": {"cls":"npc48","id":"N759","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"}}, - "760": {"cls":"npc48","id":"N760","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"}}, - "761": {"cls":"npc48","id":"N761"}, - "762": {"cls":"npc48","id":"N762"}, + "759": {"cls":"npc48","id":"N759","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"},"animate":1}, + "760": {"cls":"npc48","id":"N760","faceIds":{"down":"N757","left":"N758","right":"N759","up":"N760"},"animate":1}, + "761": {"cls":"npc48","id":"N761","animate":1}, + "762": {"cls":"npc48","id":"N762","animate":1}, "763": {"cls":"npc48","id":"N763","animate":1}, - "764": {"cls":"npc48","id":"N764"}, - "765": {"cls":"npc48","id":"N765"}, - "766": {"cls":"npc48","id":"N766"}, - "767": {"cls":"npc48","id":"N767"}, + "764": {"cls":"npc48","id":"N764","animate":1}, + "765": {"cls":"npc48","id":"N765","animate":1}, + "766": {"cls":"npc48","id":"N766","animate":1}, + "767": {"cls":"npc48","id":"N767","animate":1}, "768": {"cls":"items","id":"I768"}, "769": {"cls":"items","id":"I769"}, "770": {"cls":"items","id":"I770"}, @@ -717,10 +717,10 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "790": {"cls":"enemys","id":"E790"}, "791": {"cls":"enemys","id":"E791"}, "792": {"cls":"enemys","id":"E792"}, - "793": {"cls":"npc48","id":"N793"}, - "794": {"cls":"npc48","id":"N794"}, + "793": {"cls":"npc48","id":"N793","animate":1}, + "794": {"cls":"npc48","id":"N794","animate":1}, "795": {"cls":"npc48","id":"N795"}, - "796": {"cls":"npc48","id":"N796"}, + "796": {"cls":"npc48","id":"N796","animate":1}, "797": {"cls":"npc48","id":"N797","animate":1}, "798": {"cls":"enemys","id":"E798"}, "799": {"cls":"npcs","id":"N799"}, @@ -751,10 +751,159 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "824": {"cls":"items","id":"I824"}, "825": {"cls":"items","id":"I825"}, "826": {"cls":"items","id":"I826"}, + "827": {"cls":"npcs","id":"N827"}, + "828": {"cls":"enemys","id":"E828"}, + "829": {"cls":"enemys","id":"E829"}, + "830": {"cls":"npcs","id":"N830"}, + "831": {"cls":"npcs","id":"N831"}, + "832": {"cls":"npcs","id":"N832"}, + "833": {"cls":"npcs","id":"N833"}, + "834": {"cls":"npcs","id":"N834"}, + "835": {"cls":"npcs","id":"N835"}, + "836": {"cls":"npcs","id":"N836"}, + "837": {"cls":"npcs","id":"N837"}, + "838": {"cls":"npcs","id":"N838"}, + "839": {"cls":"npcs","id":"N839"}, + "840": {"cls":"npcs","id":"N840"}, + "841": {"cls":"npcs","id":"N841"}, + "842": {"cls":"npcs","id":"N842"}, + "843": {"cls":"npcs","id":"N843"}, + "844": {"cls":"npcs","id":"N844"}, + "845": {"cls":"npcs","id":"N845"}, + "846": {"cls":"npcs","id":"N846"}, + "847": {"cls":"npcs","id":"N847"}, + "848": {"cls":"npcs","id":"N848"}, + "849": {"cls":"npcs","id":"N849"}, + "850": {"cls":"npcs","id":"N850"}, + "851": {"cls":"npc48","id":"N851","animate":1}, + "852": {"cls":"npc48","id":"N852","animate":1}, + "853": {"cls":"npc48","id":"N853","animate":1}, + "854": {"cls":"npc48","id":"N854","animate":1}, + "855": {"cls":"npc48","id":"N855","animate":1}, + "856": {"cls":"npc48","id":"N856","animate":1}, + "857": {"cls":"npc48","id":"N857"}, + "858": {"cls":"npc48","id":"N858"}, + "859": {"cls":"npc48","id":"N859"}, + "860": {"cls":"npc48","id":"N860","animate":1}, + "861": {"cls":"npc48","id":"N861","animate":1}, + "862": {"cls":"npc48","id":"N862","animate":1}, + "863": {"cls":"npc48","id":"N863","animate":1}, + "864": {"cls":"npc48","id":"N864","animate":1}, + "865": {"cls":"npc48","id":"N865"}, + "866": {"cls":"npc48","id":"N866"}, + "867": {"cls":"npc48","id":"N867"}, + "868": {"cls":"npc48","id":"N868","animate":1}, + "869": {"cls":"npc48","id":"N869","animate":1}, + "870": {"cls":"items","id":"I870"}, + "871": {"cls":"items","id":"I871"}, + "872": {"cls":"items","id":"I872"}, + "873": {"cls":"items","id":"I873"}, + "874": {"cls":"items","id":"I874"}, + "875": {"cls":"items","id":"I875"}, + "876": {"cls":"items","id":"I876"}, + "877": {"cls":"items","id":"I877"}, + "878": {"cls":"items","id":"I878"}, + "879": {"cls":"items","id":"I879"}, + "880": {"cls":"items","id":"I880"}, + "881": {"cls":"items","id":"I881"}, + "882": {"cls":"items","id":"I882"}, + "883": {"cls":"items","id":"I883"}, + "884": {"cls":"items","id":"I884"}, + "885": {"cls":"items","id":"I885"}, + "886": {"cls":"items","id":"I886"}, + "887": {"cls":"items","id":"I887"}, + "888": {"cls":"items","id":"I888"}, + "889": {"cls":"items","id":"I889"}, + "890": {"cls":"items","id":"I890"}, + "891": {"cls":"items","id":"I891"}, + "892": {"cls":"items","id":"I892"}, + "893": {"cls":"items","id":"I893"}, + "894": {"cls":"items","id":"I894"}, + "895": {"cls":"items","id":"I895"}, + "896": {"cls":"items","id":"I896"}, + "897": {"cls":"items","id":"I897"}, + "898": {"cls":"items","id":"I898"}, + "899": {"cls":"items","id":"I899"}, + "900": {"cls":"items","id":"I900"}, + "901": {"cls":"items","id":"I901"}, + "902": {"cls":"items","id":"I902"}, + "903": {"cls":"items","id":"I903"}, + "904": {"cls":"items","id":"I904"}, + "905": {"cls":"items","id":"I905"}, + "906": {"cls":"items","id":"I906"}, + "907": {"cls":"items","id":"I907"}, + "908": {"cls":"items","id":"I908"}, + "909": {"cls":"items","id":"I909"}, + "910": {"cls":"items","id":"I910"}, + "911": {"cls":"items","id":"I911"}, + "912": {"cls":"items","id":"I912"}, + "913": {"cls":"items","id":"I913"}, + "914": {"cls":"items","id":"I914"}, + "915": {"cls":"items","id":"I915"}, + "916": {"cls":"items","id":"I916"}, + "917": {"cls":"items","id":"I917"}, + "918": {"cls":"enemys","id":"E918"}, + "919": {"cls":"enemys","id":"E919"}, + "920": {"cls":"enemys","id":"E920"}, + "921": {"cls":"enemys","id":"E921"}, + "922": {"cls":"enemys","id":"E922"}, + "923": {"cls":"enemys","id":"E923"}, + "924": {"cls":"enemys","id":"E924"}, + "925": {"cls":"enemys","id":"E925"}, + "926": {"cls":"enemys","id":"E926"}, + "927": {"cls":"enemys","id":"E927"}, + "928": {"cls":"items","id":"I928"}, + "929": {"cls":"items","id":"I929"}, + "930": {"cls":"items","id":"I930"}, + "931": {"cls":"items","id":"I931"}, + "932": {"cls":"items","id":"I932"}, + "933": {"cls":"items","id":"I933"}, + "934": {"cls":"items","id":"I934"}, + "935": {"cls":"items","id":"I935"}, + "936": {"cls":"items","id":"I936"}, + "937": {"cls":"items","id":"I937"}, + "938": {"cls":"items","id":"I938"}, + "939": {"cls":"items","id":"I939"}, + "940": {"cls":"items","id":"I940"}, + "941": {"cls":"items","id":"I941"}, + "942": {"cls":"items","id":"I942"}, + "943": {"cls":"items","id":"I943"}, + "944": {"cls":"items","id":"I944"}, + "945": {"cls":"items","id":"I945"}, + "946": {"cls":"items","id":"I946"}, + "947": {"cls":"items","id":"I947"}, + "948": {"cls":"items","id":"I948"}, + "949": {"cls":"enemys","id":"E949"}, + "950": {"cls":"enemys","id":"E950"}, + "951": {"cls":"items","id":"I951"}, + "952": {"cls":"items","id":"I952"}, + "953": {"cls":"items","id":"I953"}, + "954": {"cls":"enemys","id":"E954"}, + "955": {"cls":"enemys","id":"E955"}, + "956": {"cls":"enemys","id":"E956"}, + "957": {"cls":"enemys","id":"E957"}, + "958": {"cls":"enemys","id":"E958"}, + "959": {"cls":"enemys","id":"E959"}, + "960": {"cls":"enemys","id":"E960"}, + "961": {"cls":"items","id":"I961"}, + "962": {"cls":"items","id":"I962"}, + "963": {"cls":"items","id":"I963"}, "10044": {"cls":"tileset","id":"X10044","canBreak":true}, + "100176": {"cls":"tileset","id":"X100176","canPass":true}, + "100177": {"cls":"tileset","id":"X100177","canPass":true}, + "100178": {"cls":"tileset","id":"X100178","canPass":true}, + "175488": {"cls":"tileset","id":"X175488","canPass":true}, + "175495": {"cls":"tileset","id":"X175495","canPass":true}, + "175496": {"cls":"tileset","id":"X175496","canPass":true}, + "175503": {"cls":"tileset","id":"X175503","canPass":true}, + "175504": {"cls":"tileset","id":"X175504","canPass":true}, + "175511": {"cls":"tileset","id":"X175511","canPass":true}, + "175512": {"cls":"tileset","id":"X175512","canPass":true}, + "175519": {"cls":"tileset","id":"X175519","canPass":true}, "230092": {"cls":"tileset","id":"X230092","canPass":true}, "450158": {"cls":"tileset","id":"X450158","canPass":true}, "450164": {"cls":"tileset","id":"X450164","canBreak":true}, "450180": {"cls":"tileset","id":"X450180","canBreak":true}, - "463302": {"cls":"tileset","id":"X463302","canPass":false} + "463302": {"cls":"tileset","id":"X463302","canPass":false}, + "480156": {"cls":"tileset","id":"X480156","canBreak":true} } \ No newline at end of file diff --git a/project/materials/enemys.png b/project/materials/enemys.png index a513132..a1907ea 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 ea1d8c7..53b1032 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 fd70b96..56bf1a1 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 3e83445..9301838 100644 Binary files a/project/materials/npcs.png and b/project/materials/npcs.png differ diff --git a/project/plugins.js b/project/plugins.js index 25302dd..f4803ed 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -2016,6 +2016,12 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = dx++; dx %= 640; } + if (core.status.floorId == "MT154" || core.status.floorId == "MT155" || core.status.floorId == "MT156" || core.status.floorId == "MT157" || core.status.floorId == "MT158" || core.status.floorId == "MT159" || core.status.floorId == "MT160" || core.status.floorId == "MT161" || core.status.floorId == "MT162" || core.status.floorId == "MT163") { + core.drawImage('bg', 'Sky.jpg', dx, -64); + core.drawImage('bg', 'Sky.jpg', dx - 640, -64); + dx++; + dx %= 640; + } }); }, "showValue": function() {/* 宝石血瓶左下角显示数值