main.floors.SC49_5= { "floorId": "SC49_5", "title": "御魂庆典:49F", "name": "第 49 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1,330], [330, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1,330], [330, 1, 0, 0, 0, 0,245, 0, 0, 0, 0, 1,330], [330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,330], [330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,330], [330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,330], [330, 1, 85, 1, 1, 1, 85, 1, 1, 1, 85, 1,330], [330, 23, 0, 62, 1,228, 0,228, 1, 32, 32, 32,330], [330,404,404,404, 1, 1, 85, 1, 1,414,414,414,330], [330, 1, 1, 1, 1,220, 0,220, 1, 1, 1, 1,330], [330, 88, 0, 83, 0, 0, 0, 0, 0, 0, 0, 0,330], [330,330,330,330,330,330,330,330,330,330,330,330,330] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 5, "defaultGround": "ground", "bgm": "maps2.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "6,6": [ { "type": "if", "condition": "(core.getBlockId(6,7)=='specialDoor')", "true": [], "false": [ { "type": "closeDoor", "id": "specialDoor", "loc": [ 6, 7 ] } ] }, "\t[魔王,redKing]你终于来啦 我好想和你干一把 但是我的部下不同意", { "type": "setBlock", "number": "whiteKing", "loc": [ [ 5, 2 ], [ 6, 2 ], [ 7, 2 ], [ 5, 3 ], [ 7, 3 ], [ 5, 4 ], [ 6, 4 ], [ 7, 4 ] ], "time": 500 }, { "type": "playBgm", "name": "battle.mp3" }, { "type": "hide", "remove": true, "time": 0 } ] }, "changeFloor": { "1,11": { "floorId": ":before", "stair": "upFloor" } }, "afterBattle": { "5,10": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 6, 9 ] }, { "type": "hide", "time": 0 } ] } ], "7,10": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 6, 9 ] }, { "type": "hide", "time": 0 } ] } ], "7,8": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 6, 7 ] }, { "type": "hide", "time": 0 } ] } ], "6,3": [ "\t[魔王,redKing]很好嘛 你通过了我的面试 你是个合格的玩家", { "type": "openDoor", "loc": [ 6, 7 ] }, { "type": "openDoor", "loc": [ 2, 7 ] }, { "type": "openDoor", "loc": [ 10, 7 ] } ], "5,8": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 6, 7 ] }, { "type": "hide", "time": 0 } ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "bgmap": [ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 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] ], "fgmap": [ ], "downFloor": [ 2, 11 ], "autoEvent": { "6,3": { "0": null, "1": null } }, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }