diff --git a/project/floors/HA18.js b/project/floors/HA18.js index e3fcb34..41e47e3 100644 --- a/project/floors/HA18.js +++ b/project/floors/HA18.js @@ -16,63 +16,7 @@ main.floors.HA18= "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": { - "0,9": [ - "未完待续……", - { - "type": "choices", - "text": "\t[莫析辉,hero]是否提交成绩?", - "choices": [ - { - "text": "是", - "action": [ - { - "type": "unloadEquip", - "pos": 0 - }, - { - "type": "unloadEquip", - "pos": 1 - }, - { - "type": "unloadEquip", - "pos": 2 - }, - { - "type": "unloadEquip", - "pos": 3 - }, - { - "type": "setValue", - "name": "status:hp", - "value": "status:atk+status:def" - }, - { - "type": "if", - "condition": "flag:heianshengzi", - "true": [ - { - "type": "win", - "reason": "吴璋达" - } - ], - "false": [ - { - "type": "win", - "reason": "苗健壮" - } - ] - } - ] - }, - { - "text": "否", - "action": [] - } - ] - } - ] - }, + "events": {}, "changeFloor": { "12,6": { "floorId": "HA2", @@ -94,6 +38,13 @@ main.floors.HA18= 6, 12 ] + }, + "0,9": { + "floorId": "LZ1", + "loc": [ + 12, + 6 + ] } }, "beforeBattle": {}, @@ -113,7 +64,7 @@ main.floors.HA18= [ 92,877,140166,140166,140166,140166,140166, 81,140166,140166, 0,1022, 92], [140166, 0, 0, 22,140166,688, 0,737, 0, 0, 21, 0,140166], [1095,140166, 82,140166,140166,140166,140166,140166, 82,140166,140166,140166,140166], - [104,1077,1024, 0,349,687,140166, 0,737, 0,618,687,140166], + [ 92,1077,1024, 0,349,687,140166, 0,737, 0,618,687,140166], [1095,140166, 81,140166,140166,140166,140166, 81,140166, 81,140166,140166,140166], [140166,688, 0, 0, 21, 0,1024, 0,140166,852, 22,687,140166], [140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166] diff --git a/project/floors/LZ1.js b/project/floors/LZ1.js index ef0694c..87853cd 100644 --- a/project/floors/LZ1.js +++ b/project/floors/LZ1.js @@ -1,8 +1,8 @@ -main.floors.MJ1= +main.floors.LZ1= { - "floorId": "MJ1", - "title": "魔界 1 ", - "name": "魔界1", + "floorId": "LZ1", + "title": "龙族 1 ", + "name": "龙族1", "width": 13, "height": 13, "canFlyTo": true, @@ -11,692 +11,26 @@ main.floors.MJ1= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", - "bgm": null, - "firstArrive": [ - "\t[伟大的迷迭香,E764]\b[this,6,6]现在的魔塔都不行,外墙太占地方啦,给我拆啦,拆啦!", - { - "type": "screenFlash", - "color": [ - 255, - 255, - 255, - 1 - ], - "time": 500, - "times": 1 - }, - { - "type": "hide", - "loc": [ - [ - 1, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 2, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 3, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 4, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 6, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 7, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 9, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 10, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 11, - 0 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 1 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 3 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 4 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 5 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 6 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 7 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 8 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 9 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 11 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 0, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 1, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 2, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 3, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 5, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 6, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 8, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 9, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 10, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 11, - 12 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 9 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 8 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 7 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 6 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 5 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 4 - ] - ], - "remove": true, - "async": true - }, - { - "type": "hide", - "loc": [ - [ - 12, - 3 - ] - ], - "remove": true, - "async": true - }, - { - "type": "waitAsync" - }, - { - "type": "screenFlash", - "color": [ - 255, - 255, - 255, - 1 - ], - "time": 500, - "times": 1 - }, - "\t[伟大的迷迭香,E764]\b[this,6,6]emmmm,真不错!可怜的玩家啊,你以为我拆了外墙,你就不用打怪了吗?出来吧,我的天兵们!", - { - "type": "screenFlash", - "color": [ - 255, - 255, - 255, - 1 - ], - "time": 500, - "times": 1 - }, - { - "type": "setBlock", - "number": "E757", - "loc": [ - [ - 4, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "yellowKey", - "loc": [ - [ - 1, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "yellowKey", - "loc": [ - [ - 2, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "yellowKey", - "loc": [ - [ - 3, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "E758", - "loc": [ - [ - 2, - 12 - ] - ] - }, - { - "type": "setBlock", - "number": "E758", - "loc": [ - [ - 11, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "E761", - "loc": [ - [ - 7, - 0 - ] - ] - }, - { - "type": "setBlock", - "number": "redKing", - "loc": [ - [ - 0, - 6 - ] - ] - }, - { - "type": "setBlock", - "number": "redKing", - "loc": [ - [ - 12, - 6 - ] - ] - }, - { - "type": "setBlock", - "number": "E757", - "loc": [ - [ - 8, - 12 - ] - ] - }, - { - "type": "setBlock", - "number": "I361", - "loc": [ - [ - 9, - 12 - ] - ] - }, - { - "type": "setBlock", - "number": "I361", - "loc": [ - [ - 10, - 12 - ] - ] - }, - { - "type": "setBlock", - "number": "I361", - "loc": [ - [ - 11, - 12 - ] - ] - }, - { - "type": "setBlock", - "number": "big7Potion", - "loc": [ - [ - 0, - 8 - ] - ] - }, - { - "type": "setBlock", - "number": "big7Potion", - "loc": [ - [ - 12, - 4 - ] - ] - }, - { - "type": "setBlock", - "number": "big8Potion", - "loc": [ - [ - 12, - 8 - ] - ] - }, - { - "type": "setBlock", - "number": "big8Potion", - "loc": [ - [ - 0, - 5 - ] - ] - }, - { - "type": "setBlock", - "number": "I357", - "loc": [ - [ - 11, - 0 - ] - ] - }, - { - "type": "screenFlash", - "color": [ - 255, - 255, - 255, - 1 - ], - "time": 500, - "times": 1 - }, - "\t[伟大的迷迭香,E764]\b[this,6,6]好好玩吧,桀桀桀桀桀桀!", - { - "type": "hide", - "loc": [ - [ - 6, - 6 - ] - ], - "remove": true - }, - { - "type": "if", - "condition": "(flag:hard===4)", - "true": [ - "检测到骑士专精,攻击+20,防御+20,护盾+100,生命值+12800。", - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "20" - }, - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "20" - }, - { - "type": "setValue", - "name": "status:mdef", - "operator": "+=", - "value": "100" - }, - { - "type": "setValue", - "name": "status:hp", - "operator": "+=", - "value": "12800" - } - ], - "false": [ - { - "type": "if", - "condition": "(flag:hard===5)", - "true": [ - "检测到拓印者专精,血瓶效果归零。", - { - "type": "setGlobalValue", - "name": "greenPotion", - "value": 0 - } - ], - "false": [] - } - ] - } - ], + "defaultGround": "grass", + "bgm": "bgm.mp3", + "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": {}, "changeFloor": { - "1,11": { - "floorId": ":before", - "stair": "upFloor" + "6,12": { + "floorId": "LZ2", + "loc": [ + 6, + 12 + ] }, - "12,0": { - "floorId": ":next", - "stair": "downFloor" + "12,6": { + "floorId": "HA18", + "loc": [ + 0, + 9 + ] } }, "beforeBattle": {}, @@ -707,19 +41,19 @@ main.floors.MJ1= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 1, 1, 1, 1, 1, 81, 1, 1, 81, 1, 1, 1, 87], - [ 1,683,683,683, 0, 1, 0,683, 1, 0, 22, 0, 1], - [ 1, 1, 1, 1, 1, 1,758, 1, 1, 1, 1, 1, 1], - [ 1, 0,760, 0, 21, 1, 0, 1, 0,356,759, 0, 1], - [ 1,358, 1,683, 0, 1, 21, 1,683, 0, 1,358, 1], - [ 1, 0, 1, 0,357, 1, 0, 1, 0,357, 1, 0, 1], - [ 1, 1, 1, 1,761, 82,764, 82,758, 1, 1, 1, 1], - [ 1, 0, 1, 0,354, 1, 0, 1,361, 0, 1, 0, 1], - [ 1,360, 1,683, 0, 1,683, 1, 0,683, 1,360, 1], - [ 1, 0,750, 0,355, 1, 0, 1, 21, 0,750, 0, 1], - [ 1, 1, 1, 1, 1, 1,761, 1, 1, 1, 1, 1, 1], - [ 1, 88, 1,683, 1,361, 0, 1, 0, 21, 21, 21, 1], - [ 1, 1, 1, 1, 81, 1, 1, 81, 1, 1, 1, 1, 1] + [140,140,140,140,140,140,140,140,140,140,140,140,140], + [140,679, 0,225, 0, 0, 0, 0, 0,212, 0,678,140], + [140, 81,140,140,140,140, 83,140,140,140,140, 82,140], + [140,224,140, 0, 0,140, 0,140, 0, 0,140,212,140], + [140, 0,140, 0, 0, 0, 0,140, 0, 0,140, 0,140], + [140,352,140,140,140,140, 0,140,140, 0,140, 21,140], + [140, 0,140, 0, 0, 0, 0, 0, 0, 0,140, 0, 92], + [140,227,140,140, 0,140, 0,140,140,140,140,216,140], + [140, 0,140, 0, 0,140, 0,140, 0, 0,140, 0,140], + [140,346,140, 0, 0,140, 0, 0, 0, 0,140,347,140], + [140, 0,140,140,140,140,140,140,140,140,140, 0,140], + [140,224, 0,680, 0,225, 0,216, 81,680, 0,212,140], + [140,140,140,140,140,140, 93,140,140,140,140,140,140] ], "bgmap": [ @@ -734,7 +68,7 @@ main.floors.MJ1= ], "flyPoint": [ - 1, - 11 + 12, + 6 ] } \ No newline at end of file diff --git a/project/floors/LZ10.js b/project/floors/LZ10.js index c372008..6292c2f 100644 --- a/project/floors/LZ10.js +++ b/project/floors/LZ10.js @@ -1,129 +1,342 @@ -main.floors.MJ10= +main.floors.LZ10= { - "floorId": "MJ10", - "title": "魔界 10 ", - "name": "魔界10", + "floorId": "LZ10", + "title": "龙族 10 ", + "name": "龙族10", "width": 13, "height": 13, - "canFlyTo": false, - "canFlyFrom": false, + "canFlyTo": true, + "canFlyFrom": true, "canUseQuickShop": false, "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "12,6": { + "floorId": "LZ9", + "loc": [ + 12, + 6 + ] + } + }, "beforeBattle": {}, "afterBattle": { - "6,4": [ - "\t[迷迭香,E764]\b[this]魔塔内,我对你的爱,就像王州对李华、咸鱼对王大锤那么热烈,你居然感受不到,啊!", - "最终,邪恶的迷迭香被玩家打败……", + "2,6": [ { - "type": "if", - "condition": "(flag:hard===1)", - "true": [ - { - "type": "win", - "reason": "战士" - } - ], - "false": [ - { - "type": "if", - "condition": "(flag:hard===2)", - "true": [ - { - "type": "win", - "reason": "刺客" - } - ], - "false": [ - { - "type": "if", - "condition": "(flag:hard===3)", - "true": [ - { - "type": "win", - "reason": "法师" - } - ], - "false": [ - { - "type": "if", - "condition": "(flag:hard===4)", - "true": [ - { - "type": "win", - "reason": "骑士" - } - ], - "false": [ - { - "type": "if", - "condition": "(flag:hard===5)", - "true": [ - { - "type": "win", - "reason": "拓印者" - } - ], - "false": [] - } - ] - } - ] - } - ] - } - ] + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" } + ], + "3,6": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "8,6": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "9,6": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "10,6": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "2,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "3,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "4,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "4,6": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "8,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "9,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "10,7": [ + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "operator": "+=", + "value": "1" + } + ], + "6,4": [ + "\t[骑士队长,yellowKnight]\b[this]啊,伟大的迷迭香,我终究是阻止不了这个玩家的脚步……", + { + "type": "setBlock", + "number": "I346", + "loc": [ + [ + 2, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "I346", + "loc": [ + [ + 3, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "I346", + "loc": [ + [ + 4, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "I347", + "loc": [ + [ + 8, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "I347", + "loc": [ + [ + 9, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "I347", + "loc": [ + [ + 10, + 6 + ] + ] + }, + { + "type": "setBlock", + "number": "big4Potion", + "loc": [ + [ + 2, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "big4Potion", + "loc": [ + [ + 3, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "big4Potion", + "loc": [ + [ + 4, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "yellowKey", + "loc": [ + [ + 8, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "yellowKey", + "loc": [ + [ + 9, + 7 + ] + ] + }, + { + "type": "setBlock", + "number": "yellowKey", + "loc": [ + [ + 10, + 7 + ] + ] + }, + { + "type": "hide", + "loc": [ + [ + 2, + 11 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 6, + 10 + ] + ], + "remove": true + }, + { + "type": "hide", + "loc": [ + [ + 8, + 9 + ] + ], + "floorId": "MT23", + "remove": true + }, + { + "type": "changePos", + "loc": [ + 6, + 6 + ], + "direction": "down" + }, + { + "type": "moveHero", + "time": 500, + "steps": [ + "down:5", + "left:4" + ] + }, + "\t[勇者,hero]\b[hero]奇怪,怎么没有上楼的楼梯?看来得找别的出口了……" ] }, "afterGetItem": {}, - "afterOpenDoor": { - "6,5": [ - "\t[迷迭香,E764]\b[this,6,4]亲爱的玩家,你来啦!", - "\t[玩家,hero]\b[hero]你自己测了吗?", - "\t[迷迭香,E764]\b[this,6,4]测了一下。", - "\t[玩家,hero]\b[hero]感觉怎么样?", - "\t[迷迭香,E764]\b[this,6,4]我去除了大部分的塔的坑人。", - "\t[迷迭香,E764]\b[this,6,4]但是我保留了一部分。", - "\t[迷迭香,E764]\b[this,6,4]我觉得保留了一部分塔的玩法,才知道你玩的是魔塔。", - "\t[玩家,hero]\b[hero]你是有意把它保留的吗?", - "\t[迷迭香,E764]\b[this,6,4]是造塔的过程中,我留下了一部分。", - "\t[玩家,hero]\b[hero]是故意的还是不小心?", - "\t[迷迭香,E764]\b[this,6,4]是故意的。", - "\t[玩家,hero]\b[hero](玩塔中……)", - "\t[玩家,hero]\b[hero](呕呕……)迷迭香,我要打死你!", - "\t[迷迭香,E764]\b[this,6,4]!!!", - "\t[迷迭香,E764]\b[this,6,4]难道你没有感受到我对你炽热的爱吗?", - "\t[玩家,hero]\b[hero]我绝不会原谅你!受死吧!", - "\t[迷迭香,E764]\b[this,6,4]呜呜呜,亲爱的玩家,我对你的爱,如太阳般炽热,我可以把心掏给你!", - "\t[玩家,hero]\b[hero]谁要你的心!受死吧!" - ] + "afterOpenDoor": {}, + "autoEvent": { + "6,5": { + "0": { + "condition": "flag:door_MT30_6_5==12", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + "\t[骑士队长,yellowKnight]\b[this,6,4]你竟然打败了我的手下,我跟你不共戴天!我要代表伟大的迷迭香消灭你!", + { + "type": "setValue", + "name": "flag:door_MT30_6_5", + "value": "null" + } + ] + }, + "1": null + } }, - "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4,764, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 83, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4,685, 0, 83, 0,685, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 83, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - [ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1], + [ 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1], + [ 1, 0, 0, 0, 1, 1,226, 1, 1, 0, 0, 0, 1], + [ 1, 0, 0, 0, 0, 1, 85, 1, 0, 0, 0, 0, 1], + [ 1, 0,227,227,227, 0, 0, 0,225,225,225, 0, 92], + [ 1, 0,212,212,212, 0, 0, 0,224,224,224, 0, 1], + [ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], + [ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], + [ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1], + [ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -136,5 +349,9 @@ main.floors.MJ10= ], "fg2map": [ -] +], + "flyPoint": [ + 11, + 11 + ] } \ No newline at end of file diff --git a/project/floors/LZ2.js b/project/floors/LZ2.js index f562ca5..c0ef19e 100644 --- a/project/floors/LZ2.js +++ b/project/floors/LZ2.js @@ -1,8 +1,8 @@ -main.floors.MJ2= +main.floors.LZ2= { - "floorId": "MJ2", - "title": "魔界 2 ", - "name": "魔界2", + "floorId": "LZ2", + "title": "龙族 2 ", + "name": "龙族2", "width": 13, "height": 13, "canFlyTo": true, @@ -11,44 +11,58 @@ main.floors.MJ2= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": { - "0,9": [ - "\t[智者,man]这一区的钥匙很少,需要留有金币买钥匙哦", - { - "type": "hide", - "remove": true - } - ] - }, + "events": {}, "changeFloor": { - "12,0": { - "floorId": ":before", - "stair": "upFloor" + "6,12": { + "floorId": "LZ1", + "loc": [ + 6, + 12 + ] }, "0,6": { - "floorId": ":next", - "stair": "downFloor" + "floorId": "LZ3", + "loc": [ + 0, + 6 + ] } }, "beforeBattle": {}, "afterBattle": { - "4,10": [ + "9,5": [ { "type": "setValue", - "name": "flag:door_MT32_5_11", + "name": "flag:door_MT22_10_4", "operator": "+=", "value": "1" } ], - "6,10": [ + "9,6": [ { "type": "setValue", - "name": "flag:door_MT32_5_11", + "name": "flag:door_MT22_10_4", + "operator": "+=", + "value": "1" + } + ], + "11,5": [ + { + "type": "setValue", + "name": "flag:door_MT22_10_4", + "operator": "+=", + "value": "1" + } + ], + "11,6": [ + { + "type": "setValue", + "name": "flag:door_MT22_10_4", "operator": "+=", "value": "1" } @@ -57,9 +71,9 @@ main.floors.MJ2= "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": { - "5,11": { + "10,4": { "0": { - "condition": "flag:door_MT32_5_11==2", + "condition": "flag:door_MT22_10_4==4", "currentFloor": true, "priority": 0, "delayExecute": false, @@ -70,7 +84,7 @@ main.floors.MJ2= }, { "type": "setValue", - "name": "flag:door_MT32_5_11", + "name": "flag:door_MT22_10_4", "operator": "=", "value": "null" } @@ -81,19 +95,19 @@ main.floors.MJ2= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [358,360,358,760, 0, 1,358, 0,758, 81, 0, 0, 88], - [ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1,245, 1,758], - [ 1,358, 0, 1,683, 1,761, 22,683,750, 0, 1, 0], - [ 1, 0,757, 81, 0, 1, 1, 1, 1, 1,356, 1,683], - [ 1,365, 0, 1,750, 1,683, 0, 0, 1, 0, 1, 0], - [ 1, 1, 1, 1, 0, 1, 0,366,759, 81,761, 1,761], - [ 87, 81, 81,758, 0, 1,683, 0, 0, 1, 0, 82, 0], - [ 1, 1, 1, 0, 0, 1, 1, 1, 1, 1,683, 1, 21], - [ 1,360, 0,761, 21, 81,683, 0,758, 81, 0, 1, 21], - [121, 0,365,761, 0, 1, 0,356, 0, 1,760, 1, 21], - [ 1, 81, 1, 1,750, 0,750, 1,761, 1, 81, 1, 1], - [ 0,759, 0, 1, 1, 85, 1, 1, 0, 1,361,362,361], - [684,684,684, 1, 21, 23, 21, 1,683, 1, 1, 1, 1] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1, 0,212, 0,679, 0,216, 0, 1,680,680,680, 1], + [ 1,344, 1, 1, 1, 1, 1,343, 83,680,419,680, 1], + [ 1, 0, 1, 21, 21, 21,225, 0, 1,680,680,680, 1], + [ 1,212, 1, 1, 1, 1, 1,212, 1, 1, 85, 1, 1], + [ 1, 0, 1,679, 0,348, 1, 0, 1,227, 0,227, 1], + [ 92, 0, 1, 0,212, 0, 1, 21, 1,224, 0,224, 1], + [ 1, 81, 1, 1, 81, 1, 1, 0, 1, 1, 82, 1, 1], + [ 1,350, 0,227, 0,679, 0,216, 0,679, 0, 0, 1], + [ 1, 1, 1, 1, 1,216, 1, 1, 1, 1, 1, 81, 1], + [ 1,679, 21, 0, 1, 0, 1, 21, 21, 1, 0,212, 1], + [ 1,347,352,225, 81, 0, 0,224, 21, 1,345, 0, 1], + [ 1, 1, 1, 1, 1, 1, 91, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -108,7 +122,7 @@ main.floors.MJ2= ], "flyPoint": [ - 12, - 0 + 6, + 12 ] } \ No newline at end of file diff --git a/project/floors/LZ3.js b/project/floors/LZ3.js index 558c672..3751c4e 100644 --- a/project/floors/LZ3.js +++ b/project/floors/LZ3.js @@ -1,8 +1,8 @@ -main.floors.MJ3= +main.floors.LZ3= { - "floorId": "MJ3", - "title": "魔界 3 ", - "name": "魔界3", + "floorId": "LZ3", + "title": "龙族 3 ", + "name": "龙族3", "width": 13, "height": 13, "canFlyTo": true, @@ -11,129 +11,57 @@ main.floors.MJ3= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": {}, - "changeFloor": { - "0,6": { - "floorId": ":before", - "stair": "upFloor" - }, - "0,12": { - "floorId": ":next", - "stair": "downFloor" - } - }, - "beforeBattle": {}, - "afterBattle": { - "4,3": [ + "events": { + "3,5": [ + "\t[智者,man]\b[this]如果机关门开不了,那么可能需要击败本区的boss。", { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "4,4": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "5,4": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "5,3": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "6,3": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "6,4": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "7,4": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" - } - ], - "7,3": [ - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "+=", - "value": "1" + "type": "hide", + "remove": true } ] }, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": { - "6,5": { - "0": { - "condition": "flag:door_MT33_6_5==8", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ - { - "type": "openDoor" - }, - { - "type": "setValue", - "name": "flag:door_MT33_6_5", - "operator": "=", - "value": "null" - } - ] - } + "changeFloor": { + "0,6": { + "floorId": "LZ2", + "loc": [ + 0, + 6 + ] + }, + "11,12": { + "floorId": "LZ4", + "loc": [ + 11, + 12 + ] } }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [683, 0,761, 0, 81, 0,683, 0, 0, 1, 1, 1, 1], - [ 1, 81, 1, 1, 1, 0, 0, 0, 82,750, 1,683, 1], - [ 0,683, 0, 1, 1, 1, 81, 1, 1, 0, 1,684, 1], - [245, 1,361, 1,758,758,758,758, 1,683, 1,683, 1], - [ 0, 1, 81, 1,761,761,761,761, 1, 0, 81,760, 1], - [ 0, 1,761, 1, 1, 1, 85, 1, 1, 0, 1, 0, 1], - [ 88, 0,758, 81,245, 1, 81, 1, 21,759, 1, 81, 1], - [ 1, 83, 1, 1,361, 1, 81, 1, 21, 1, 1,245, 1], - [ 0,759, 0, 1,361, 1, 81, 1, 21, 1,361, 0,361], - [358, 0,360, 1, 1, 1, 0, 1, 1, 1, 1, 82, 1], - [ 0,361, 0, 1,683, 0,758, 0, 0, 1, 0,757, 0], - [ 1, 1, 1, 1,245, 1, 1, 1,761, 1, 21, 22, 21], - [ 87, 0,357, 81, 0, 81, 0,684, 0, 1, 21, 21, 21] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1, 0, 81,224, 0, 1, 0,678, 0,225,351,679, 1], + [ 1,679, 1, 21, 21, 1, 81, 1, 1, 1, 1, 1, 1], + [ 1, 0, 1, 21, 22, 1,216, 1, 0,227, 81, 0, 1], + [ 1,225, 1, 1, 1, 1, 0, 1,346,349, 1,679, 1], + [ 1, 0, 1,121, 0,678, 0, 1,352,350, 1, 0, 1], + [ 94, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1,225, 1], + [ 1, 0,216, 0,679, 0,212, 0, 21, 0,216, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,344, 1], + [ 1,215,214,216,212,225,224,227, 85, 52, 1, 0, 1], + [ 1,218, 1, 1, 1, 1, 1, 1, 1, 1, 1,212, 1], + [ 1,213,206,203,210,209,217,205,202,201, 82, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1] ], "bgmap": [ diff --git a/project/floors/LZ4.js b/project/floors/LZ4.js index 5d4f5ed..41c065f 100644 --- a/project/floors/LZ4.js +++ b/project/floors/LZ4.js @@ -1,8 +1,8 @@ -main.floors.MJ4= +main.floors.LZ4= { - "floorId": "MJ4", - "title": "魔界 4 ", - "name": "魔界4", + "floorId": "LZ4", + "title": "龙族 4 ", + "name": "龙族4", "width": 13, "height": 13, "canFlyTo": true, @@ -18,13 +18,19 @@ main.floors.MJ4= "parallelDo": "", "events": {}, "changeFloor": { - "0,12": { - "floorId": ":before", - "stair": "upFloor" + "11,12": { + "floorId": "LZ3", + "loc": [ + 11, + 12 + ] }, - "6,12": { - "floorId": ":next", - "stair": "downFloor" + "6,0": { + "floorId": "LZ5", + "loc": [ + 6, + 0 + ] } }, "beforeBattle": {}, @@ -35,19 +41,19 @@ main.floors.MJ4= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [361,361,361,759, 81, 0,761, 0, 22, 0,750, 1,683], - [ 1, 1, 1, 1,683, 1, 1, 1, 1, 1, 0, 1,683], - [ 0,362, 0, 1, 0, 1, 21, 81,750, 1,683, 82,683], - [ 21, 0,750, 82,245, 1, 0, 1, 0, 1, 81, 1, 1], - [ 1, 1, 1, 1, 0, 1,761, 1,683, 1,758, 1, 22], - [684, 0,760, 82,361, 1, 0, 1, 0, 1, 0, 1, 22], - [ 0,684, 0, 1, 81, 1, 81, 1,245, 1,361, 83, 22], - [ 1, 1, 1, 1,761, 1, 0, 1, 81, 1, 0, 1, 1], - [ 0,361, 0, 81, 0, 1,758, 1, 0, 0,761, 0, 21], - [683, 0,758, 1,683, 1, 0, 1, 1, 1, 1, 1, 1], - [ 1, 1, 82, 1, 0, 1,361, 0, 81,757,360,360,360], - [ 0, 0, 0, 1,245, 1, 0, 1, 1, 1, 1, 1, 1], - [ 88, 0,759, 81, 0, 1, 87, 0, 81,760,358,358,358] + [ 1, 1, 1, 1, 1, 1, 91, 1, 1, 1, 1, 1, 1], + [ 1,679, 0,222, 81, 0, 0, 0, 1, 21, 21, 21, 1], + [ 1,679,679, 0, 1, 0, 1,212, 1, 1, 82, 1, 1], + [ 1, 1, 1, 1, 1,225, 1, 0,222, 0, 0,679, 1], + [ 1,679, 0, 0,216, 0, 1,679, 1, 1, 81, 1, 1], + [ 1, 1, 81, 1, 1, 0, 1, 0, 1, 0,227, 0, 1], + [ 1, 0,224, 0, 1,212, 82,216, 1, 0,349, 0, 1], + [ 1,347, 0,348, 1, 0, 1, 0, 1,680, 0,346, 1], + [ 1, 1, 1, 1, 1,348, 1, 21, 1, 1, 1, 1, 1], + [ 1,679,679, 83, 0, 0, 1, 0,212, 1, 0,679, 1], + [ 1,680,680, 1, 1, 1, 1, 1, 0, 1,344, 0, 1], + [ 1,682,682, 1, 22, 81, 81, 81, 0, 81,216, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1] ], "bgmap": [ @@ -62,7 +68,7 @@ main.floors.MJ4= ], "flyPoint": [ - 0, + 11, 12 ] } \ No newline at end of file diff --git a/project/floors/LZ5.js b/project/floors/LZ5.js index 4294d50..5fda7a0 100644 --- a/project/floors/LZ5.js +++ b/project/floors/LZ5.js @@ -1,8 +1,8 @@ -main.floors.MJ5= +main.floors.LZ5= { - "floorId": "MJ5", - "title": "魔界 5 ", - "name": "魔界5", + "floorId": "LZ5", + "title": "龙族 5 ", + "name": "龙族5", "width": 13, "height": 13, "canFlyTo": true, @@ -11,81 +11,49 @@ main.floors.MJ5= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, "changeFloor": { - "6,12": { - "floorId": ":before", - "stair": "upFloor" + "6,0": { + "floorId": "LZ4", + "loc": [ + 6, + 0 + ] }, - "11,12": { - "floorId": ":next", - "stair": "downFloor" + "6,12": { + "floorId": "LZ6", + "loc": [ + 6, + 12 + ] } }, "beforeBattle": {}, - "afterBattle": { - "3,10": [ - { - "type": "setValue", - "name": "flag:door_MT35_2_11", - "operator": "+=", - "value": "1" - } - ], - "3,12": [ - { - "type": "setValue", - "name": "flag:door_MT35_2_11", - "operator": "+=", - "value": "1" - } - ] - }, + "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": { - "2,11": { - "0": { - "condition": "flag:door_MT35_2_11==2", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ - { - "type": "openDoor" - }, - { - "type": "setValue", - "name": "flag:door_MT35_2_11", - "operator": "=", - "value": "null" - } - ] - } - } - }, + "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [361, 1, 21, 0, 21, 1,360,358,684,760, 81,683, 0], - [361, 1, 0,363, 0, 1,360,358,684, 0, 1, 0,757], - [361, 1, 21,759, 21, 1,684,684,750, 1, 1, 1, 81], - [ 0, 1, 1, 81, 1, 1, 1, 1, 82, 1,361, 0, 0], - [ 0, 81,757, 0,683, 0,761, 1, 0, 1, 0, 22, 0], - [ 1, 1, 83, 1, 1, 1, 81, 1, 0, 81,759, 0,361], - [ 1,683,683,683, 1, 0, 0, 1, 81, 1, 1, 1, 1], - [ 1,683,683,683, 1,683, 0, 1, 0,760, 82, 0,683], - [ 1,683,683,683, 1, 0,245, 1, 21, 21, 1, 0, 1], - [ 1, 1, 1, 1, 1, 1, 81, 1, 21, 21, 1,750, 1], - [ 0,684, 1,245, 0, 1, 0, 1, 0, 0, 1, 81, 1], - [362, 0, 85, 0, 0, 1, 0, 81,758, 0, 1, 0, 1], - [ 0, 23, 1,245, 0, 82, 88, 1, 1, 1, 1, 87, 1] + [ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1], + [ 1,350, 0,346, 1, 21, 0, 0, 1,679, 0,679, 1], + [ 1, 0,680, 0, 1, 0, 0, 0, 1, 0,679, 0, 1], + [ 1, 0,227, 0, 1,216, 1,212, 1, 0,225, 0, 1], + [ 1, 1, 81, 1, 1, 0,279, 0, 1, 1, 81, 1, 1], + [ 1,344, 0,212, 81,679, 1,344, 0,224, 0,679, 1], + [ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1], + [ 1,225, 0,679, 81, 0, 0,225, 0, 21, 0,212, 1], + [ 1, 1, 1, 1, 1, 81, 1, 1, 1, 1, 1, 81, 1], + [ 1,356,349,679, 1,216, 0, 1,679, 28, 27,222, 1], + [ 1,347, 21, 0, 1, 0,679, 1, 81, 1, 1, 1, 1], + [ 1,680, 0,227, 82, 0, 0, 1,227, 23,349,680, 1], + [ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -101,6 +69,6 @@ main.floors.MJ5= ], "flyPoint": [ 6, - 12 + 0 ] } \ No newline at end of file diff --git a/project/floors/LZ6.js b/project/floors/LZ6.js index a618bde..f1da21c 100644 --- a/project/floors/LZ6.js +++ b/project/floors/LZ6.js @@ -1,8 +1,8 @@ -main.floors.MJ6= +main.floors.LZ6= { - "floorId": "MJ6", - "title": "魔界 6 ", - "name": "魔界6", + "floorId": "LZ6", + "title": "龙族 6 ", + "name": "龙族6", "width": 13, "height": 13, "canFlyTo": true, @@ -11,89 +11,49 @@ main.floors.MJ6= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": { - "10,11": [ - "\t[智者,man]\b[this]进入最后一层不可回来,记得至少留有三把红钥匙。", - { - "type": "hide", - "remove": true - } - ] - }, + "events": {}, "changeFloor": { - "11,12": { - "floorId": ":before", - "stair": "upFloor" + "6,12": { + "floorId": "LZ5", + "loc": [ + 6, + 12 + ] }, - "0,0": { - "floorId": ":next", - "stair": "downFloor" + "12,6": { + "floorId": "LZ7", + "loc": [ + 12, + 6 + ] } }, "beforeBattle": {}, - "afterBattle": { - "4,7": [ - { - "type": "setValue", - "name": "flag:door_MT36_5_6", - "operator": "+=", - "value": "1" - } - ], - "6,7": [ - { - "type": "setValue", - "name": "flag:door_MT36_5_6", - "operator": "+=", - "value": "1" - } - ] - }, + "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": { - "5,6": { - "0": { - "condition": "flag:door_MT36_5_6==2", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ - { - "type": "openDoor" - }, - { - "type": "setValue", - "name": "flag:door_MT36_5_6", - "operator": "=", - "value": "null" - } - ] - } - } - }, + "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 87, 1,361,358,361,245, 0, 1, 1, 1, 1, 1, 21], - [ 0, 1, 1, 1, 1, 1, 81, 81, 0, 1,760, 81, 0], - [ 0, 81,761, 0,358, 0,750, 81,757, 1,361, 1,759], - [ 1, 1, 0, 1, 1, 1, 1, 1,360, 1, 0, 1, 0], - [684, 1, 21, 1, 0,366, 0, 1,362, 1, 81, 1,757], - [684, 1, 0, 1,683, 0,683, 1,360, 1,245, 1, 82], - [684, 82,750, 1, 1, 85, 1, 1, 1, 1, 0, 1,362], - [ 1, 1, 81, 1,759, 0,759, 1,750, 0, 21, 1,684], - [360,761, 0, 1, 1, 82, 1, 1, 82, 1, 1, 1, 1], - [ 1, 1, 0,758, 81,360, 0,761, 0,683, 0,758, 0], - [683, 1,245, 1, 1, 1, 1, 1,750, 1, 1, 81, 1], - [683, 81, 0, 1,684,684,757, 81, 0, 1,121, 0, 0], - [683, 1,684, 1,683,683, 0, 1, 21, 1, 0, 88, 0] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1,679, 0,222, 0,348, 81, 0, 1,346, 0,347, 1], + [ 1, 81, 1, 1, 1, 1, 1,212, 1, 0, 22, 0, 1], + [ 1,216, 0,348, 0,212, 1, 0, 1, 0,227, 0, 1], + [ 1, 1, 1, 1, 1, 0, 1,679, 1, 1, 81, 1, 1], + [ 1,353, 0,680, 1,679, 1, 0,216, 0,342, 0, 1], + [ 1, 0, 21, 0, 1, 0, 1, 1, 1, 1, 1, 0, 94], + [ 1, 21,227, 21, 1,222, 1, 21, 21, 21, 0,225, 1], + [ 1, 1, 82, 1, 1, 0, 1, 1, 1, 1, 1, 81, 1], + [ 1, 0, 0,216, 0, 21, 1,679, 0,224, 0,348, 1], + [ 1, 81, 1, 1, 1, 1, 1, 81, 1, 1, 1, 81, 1], + [ 1,212, 0,348, 0,216, 0,216, 1,679,679,224, 1], + [ 1, 1, 1, 1, 1, 1, 91, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -108,7 +68,7 @@ main.floors.MJ6= ], "flyPoint": [ - 11, + 6, 12 ] } \ No newline at end of file diff --git a/project/floors/LZ7.js b/project/floors/LZ7.js index 94a7b7b..0e3489a 100644 --- a/project/floors/LZ7.js +++ b/project/floors/LZ7.js @@ -1,8 +1,8 @@ -main.floors.MJ7= +main.floors.LZ7= { - "floorId": "MJ7", - "title": "魔界 7 ", - "name": "魔界7", + "floorId": "LZ7", + "title": "龙族 7 ", + "name": "龙族7", "width": 13, "height": 13, "canFlyTo": true, @@ -11,20 +11,26 @@ main.floors.MJ7= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, "changeFloor": { - "0,0": { - "floorId": ":before", - "stair": "upFloor" + "12,6": { + "floorId": "LZ6", + "loc": [ + 12, + 6 + ] }, - "10,12": { - "floorId": ":next", - "stair": "downFloor" + "0,1": { + "floorId": "LZ8", + "loc": [ + 0, + 1 + ] } }, "beforeBattle": {}, @@ -35,19 +41,19 @@ main.floors.MJ7= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 88, 1,360, 0,362, 1,683,683,683, 1,684,366,684], - [ 21, 1, 0,757, 0, 1, 1,760, 1, 1, 83, 1, 1], - [ 0, 1, 1, 81, 1, 1, 0, 0,758, 0, 21, 1, 21], - [758, 82, 0,683, 0,761, 81, 1, 1, 1, 1, 1, 21], - [ 1, 1, 1, 1, 1, 1, 0, 1, 0,757, 0, 1, 21], - [362, 0, 1,245, 82, 0,361,759, 0, 1,358, 81,761], - [683,759, 81, 0, 1, 1, 1, 1, 1, 1, 0, 1,361], - [358, 0, 1,361, 0,750, 0,362, 0, 81,245, 1, 1], - [ 1, 1, 1, 1, 81, 1, 1,760, 1, 1, 82, 1,360], - [361,683, 0, 0,758, 1,683,683,683, 1, 0, 81,245], - [ 1, 81, 1, 1, 1, 1, 1, 1, 1, 1,683, 1,360], - [ 1,761, 0,360, 0,750, 0, 21, 0, 82,758, 1, 1], - [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 87,759, 23] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 92, 0, 0,216, 0,679, 0,212, 0,679, 1,680, 1], + [ 1, 1, 1, 1, 1, 1, 81, 1, 1, 1, 1,216, 1], + [ 1,222, 0,344, 0,222, 0, 1,680, 21, 1,216, 1], + [ 1, 0, 1, 1, 1, 1,679, 1, 21, 0, 1,216, 1], + [ 1,679, 1,347,348, 1, 0, 1, 1,224, 1, 0, 1], + [ 1, 0, 1,679,225, 1,212, 82, 0, 0, 81, 0, 92], + [ 1,224, 1, 1, 81, 1, 1, 1, 1,216, 1, 0, 1], + [ 1, 0, 21, 0,227, 1,343,227, 81, 0, 1,212, 1], + [ 1, 1, 1, 1, 0, 1,346,344, 1,679, 1,212, 1], + [ 1,680,680, 1,344, 1, 1, 1, 1, 0, 1,212, 1], + [ 1,680,679, 82, 0,224, 0, 21, 0,222, 1, 22, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -62,7 +68,7 @@ main.floors.MJ7= ], "flyPoint": [ - 0, - 0 + 12, + 6 ] } \ No newline at end of file diff --git a/project/floors/LZ8.js b/project/floors/LZ8.js index aadfe4a..2858531 100644 --- a/project/floors/LZ8.js +++ b/project/floors/LZ8.js @@ -1,8 +1,8 @@ -main.floors.MJ8= +main.floors.LZ8= { - "floorId": "MJ8", - "title": "魔界 8 ", - "name": "魔界8", + "floorId": "LZ8", + "title": "龙族 8 ", + "name": "龙族8", "width": 13, "height": 13, "canFlyTo": true, @@ -11,23 +11,23 @@ main.floors.MJ8= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { - "0,4": [ + "2,10": [ { "type": "if", "condition": "(flag:hard===0)", "true": [ - "\t[商人,hero]\b[this]另一个自己啊,我这有20000生命值,送给你吧!", + "\t[商人,hero]\b[this]另一个自己啊,我这里有三把红钥匙,送给你啦", { "type": "setValue", - "name": "status:hp", + "name": "item:redKey", "operator": "+=", - "value": "20000" + "value": "3" }, { "type": "hide", @@ -37,7 +37,7 @@ main.floors.MJ8= "false": [ { "type": "confirm", - "text": "我有20000生命值,\n你出2000金币就卖给你。", + "text": "我有3把红钥匙,\n你出2000金币就卖给你。", "yes": [ { "type": "if", @@ -51,9 +51,9 @@ main.floors.MJ8= }, { "type": "setValue", - "name": "status:hp", + "name": "item:redKey", "operator": "+=", - "value": "20000" + "value": "3" }, { "type": "playSound", @@ -80,74 +80,42 @@ main.floors.MJ8= ] }, "changeFloor": { - "10,12": { - "floorId": ":before", - "stair": "upFloor" + "0,1": { + "floorId": "LZ7", + "loc": [ + 0, + 1 + ] }, - "0,10": { - "floorId": ":next", - "stair": "downFloor" + "0,11": { + "floorId": "LZ9", + "loc": [ + 0, + 11 + ] } }, "beforeBattle": {}, - "afterBattle": { - "3,8": [ - { - "type": "setValue", - "name": "flag:door_MT38_2_7", - "operator": "+=", - "value": "1" - } - ], - "3,6": [ - { - "type": "setValue", - "name": "flag:door_MT38_2_7", - "operator": "+=", - "value": "1" - } - ] - }, + "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": { - "2,7": { - "0": { - "condition": "flag:door_MT38_2_7==2", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ - { - "type": "openDoor" - }, - { - "type": "setValue", - "name": "flag:door_MT38_2_7", - "operator": "=", - "value": "null" - } - ] - } - } - }, + "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [684,684,684,760, 82,750, 1, 21, 21, 21, 1,358,360], - [ 1, 1, 1, 0, 1, 0, 1,685, 23,685, 81,358,360], - [362,362,362,757, 1,683, 1, 22, 22, 22, 1,358,360], - [ 1, 1, 1, 1, 1, 0, 1, 0,247, 0, 1, 1, 1], - [122, 0,245,683, 1,761, 1, 1, 83, 1, 1,683,365], - [ 1, 1, 1, 0, 1, 0,758, 0,683, 0, 82,760,363], - [ 0,684, 1,759, 1, 81, 1, 1, 1, 1, 1,683,364], - [366, 0, 85, 0, 81, 0,761, 21,361,683, 1, 1, 1], - [ 0, 21, 1,759, 1,245, 1, 1, 1, 1, 1, 0,360], - [ 1, 1, 1, 1, 1, 0, 1, 0,245, 0, 81,757, 0], - [ 87, 0,761, 0, 81, 0,750,361, 1,683, 1, 0,358], - [ 1, 81, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1], - [683,365,683, 1,683, 1, 21, 21,758, 0, 88,245,357] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 94, 0, 0, 1,679, 0,224, 0, 81, 0, 1,679, 1], + [ 1, 0,344,212, 0,342, 1,216, 1,225, 1,679, 1], + [ 1,216, 1, 1, 1, 1, 1, 21, 1, 0, 1,212, 1], + [ 1, 0, 1, 0,346,679, 1,679, 1, 21, 1, 81, 1], + [ 1, 0, 81,227, 21,348, 1, 21, 1, 0,224, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,344, 1], + [ 1, 0,345,680, 1,351,347,225, 1,348, 1, 0, 1], + [ 1,227,679, 30, 1, 1, 1, 0, 1,344, 1,212, 1], + [ 1, 81, 1, 1,279,342,343,222, 1,222, 1, 0, 1], + [ 1, 0,122, 1, 1, 1, 1, 82, 1, 0, 1,679, 1], + [ 92, 0, 0,679, 81,212, 0, 0, 81,216, 81, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -162,7 +130,7 @@ main.floors.MJ8= ], "flyPoint": [ - 10, - 12 + 0, + 1 ] } \ No newline at end of file diff --git a/project/floors/LZ9.js b/project/floors/LZ9.js index 5fc27a8..475d66f 100644 --- a/project/floors/LZ9.js +++ b/project/floors/LZ9.js @@ -1,8 +1,8 @@ -main.floors.MJ9= +main.floors.LZ9= { - "floorId": "MJ9", - "title": "魔界 9 ", - "name": "魔界9", + "floorId": "LZ9", + "title": "龙族 9 ", + "name": "龙族9", "width": 13, "height": 13, "canFlyTo": true, @@ -11,20 +11,26 @@ main.floors.MJ9= "cannotViewMap": false, "images": [], "ratio": 512, - "defaultGround": "ground", + "defaultGround": "grass", "bgm": "bgm.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": {}, "changeFloor": { - "0,10": { - "floorId": ":before", - "stair": "upFloor" + "0,11": { + "floorId": "LZ8", + "loc": [ + 0, + 11 + ] }, - "6,8": { - "floorId": ":next", - "stair": "downFloor" + "12,6": { + "floorId": "LZ10", + "loc": [ + 12, + 6 + ] } }, "beforeBattle": {}, @@ -35,19 +41,19 @@ main.floors.MJ9= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [364, 0, 1,684, 1,362, 0, 1, 0,759, 21,363, 21], - [ 0,684, 1,366, 1, 0,757, 81,365, 1, 1, 1, 1], - [757, 1, 1,757, 1, 21, 0, 1, 0, 81,750, 0,760], - [ 0, 1, 0, 82, 1, 1, 1, 1,760, 1, 0, 1, 0], - [ 0, 81,759, 0, 0,245, 81, 21, 0, 1,361, 1,360], - [ 1, 1, 1, 1, 1, 1, 1, 0,683, 1,361, 1,360], - [ 0,760, 81, 81, 81,750, 0,245, 1, 1, 1, 1, 1], - [683, 1, 1, 1, 1, 1,683, 0, 81,757,361,360,362], - [ 0, 1,361,684,361, 1, 87, 1, 1, 1, 1, 1, 1], - [750, 1,358, 0,358, 1,245, 0,361, 81,245, 0,683], - [ 88, 1, 0,759, 0, 1, 1, 81, 1, 1, 1, 81, 1], - [ 81, 1, 1, 82, 1, 1, 0,759, 0, 1, 0,757, 0], - [245, 0, 21, 21, 21, 1,683, 0,684, 1,358, 0,362] + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + [ 1,679,346, 1,227,349,352,680, 1,680,679, 21, 1], + [ 1,680,347, 1, 81, 1, 1, 1, 1,679,349, 0, 1], + [ 1, 0,227, 1, 0, 0,679,343, 1, 21, 0,227, 1], + [ 1, 1, 81, 1,222, 0,342, 21, 1, 1, 1, 82, 1], + [ 1, 21, 0, 1, 81, 1, 1, 1, 1,225, 0,344, 1], + [ 1, 0,225, 0,679, 0,212, 0,344, 0,225, 0, 94], + [ 1,222, 1, 1, 81, 1, 81, 1, 1, 1, 82, 1, 1], + [ 1,679, 1,342,225, 1, 0,679, 1, 0,224, 0, 1], + [ 1,679, 1,344,343, 1,212, 0, 1, 21, 21, 21, 1], + [ 1, 1, 1, 1, 1, 1, 83, 1, 1, 1, 1, 1, 1], + [ 94, 0, 0, 0,216, 0,679, 0,216, 0, 0, 0, 1], + [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ], "bgmap": [ @@ -63,6 +69,6 @@ main.floors.MJ9= ], "flyPoint": [ 0, - 10 + 11 ] } \ No newline at end of file diff --git a/project/floors/MJ1.js b/project/floors/MJ1.js index 828c198..27bd8f0 100644 --- a/project/floors/MJ1.js +++ b/project/floors/MJ1.js @@ -1,8 +1,8 @@ -main.floors.LZ1= +main.floors.MJ1= { - "floorId": "LZ1", - "title": "龙族 1 ", - "name": "龙族1", + "floorId": "MJ1", + "title": "魔界 1 ", + "name": "魔界1", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ10.js b/project/floors/MJ10.js index 63aa621..8e6df39 100644 --- a/project/floors/MJ10.js +++ b/project/floors/MJ10.js @@ -1,8 +1,8 @@ -main.floors.LZ10= +main.floors.MJ10= { - "floorId": "LZ10", - "title": "龙族 10 ", - "name": "龙族10", + "floorId": "MJ10", + "title": "魔界 10 ", + "name": "魔界10", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ2.js b/project/floors/MJ2.js index 8cc786f..b126cf3 100644 --- a/project/floors/MJ2.js +++ b/project/floors/MJ2.js @@ -1,8 +1,8 @@ -main.floors.LZ2= +main.floors.MJ2= { - "floorId": "LZ2", - "title": "龙族 2 ", - "name": "龙族2", + "floorId": "MJ2", + "title": "魔界 2 ", + "name": "魔界2", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ3.js b/project/floors/MJ3.js index 6bc3ff7..8f453d0 100644 --- a/project/floors/MJ3.js +++ b/project/floors/MJ3.js @@ -1,8 +1,8 @@ -main.floors.LZ3= +main.floors.MJ3= { - "floorId": "LZ3", - "title": "龙族 3 ", - "name": "龙族3", + "floorId": "MJ3", + "title": "魔界 3 ", + "name": "魔界3", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ4.js b/project/floors/MJ4.js index 9d656f6..16ca256 100644 --- a/project/floors/MJ4.js +++ b/project/floors/MJ4.js @@ -1,8 +1,8 @@ -main.floors.LZ4= +main.floors.MJ4= { - "floorId": "LZ4", - "title": "龙族 4 ", - "name": "龙族4", + "floorId": "MJ4", + "title": "魔界 4 ", + "name": "魔界4", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ5.js b/project/floors/MJ5.js index 82508fa..f557bfc 100644 --- a/project/floors/MJ5.js +++ b/project/floors/MJ5.js @@ -1,8 +1,8 @@ -main.floors.LZ5= +main.floors.MJ5= { - "floorId": "LZ5", - "title": "龙族 5 ", - "name": "龙族5", + "floorId": "MJ5", + "title": "魔界 5 ", + "name": "魔界5", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ6.js b/project/floors/MJ6.js index cc6c460..0620015 100644 --- a/project/floors/MJ6.js +++ b/project/floors/MJ6.js @@ -1,8 +1,8 @@ -main.floors.LZ6= +main.floors.MJ6= { - "floorId": "LZ6", - "title": "龙族 6 ", - "name": "龙族6", + "floorId": "MJ6", + "title": "魔界 6 ", + "name": "魔界6", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ7.js b/project/floors/MJ7.js index d6710b6..a8af1c1 100644 --- a/project/floors/MJ7.js +++ b/project/floors/MJ7.js @@ -1,8 +1,8 @@ -main.floors.LZ7= +main.floors.MJ7= { - "floorId": "LZ7", - "title": "龙族 7 ", - "name": "龙族7", + "floorId": "MJ7", + "title": "魔界 7 ", + "name": "魔界7", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ8.js b/project/floors/MJ8.js index 170532b..7e54bdb 100644 --- a/project/floors/MJ8.js +++ b/project/floors/MJ8.js @@ -1,8 +1,8 @@ -main.floors.LZ8= +main.floors.MJ8= { - "floorId": "LZ8", - "title": "龙族 8 ", - "name": "龙族8", + "floorId": "MJ8", + "title": "魔界 8 ", + "name": "魔界8", "width": 13, "height": 13, "canFlyTo": true, diff --git a/project/floors/MJ9.js b/project/floors/MJ9.js index 07cb783..a99bb7d 100644 --- a/project/floors/MJ9.js +++ b/project/floors/MJ9.js @@ -1,8 +1,8 @@ -main.floors.LZ9= +main.floors.MJ9= { - "floorId": "LZ9", - "title": "龙族 9 ", - "name": "龙族9", + "floorId": "MJ9", + "title": "魔界 9 ", + "name": "魔界9", "width": 13, "height": 13, "canFlyTo": true,