main.floors.SC14_5= { "floorId": "SC14_5", "title": "御魂庆典:14F", "name": "第 14 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,228, 0,228, 1,414, 21, 31, 1, 21, 21, 21,330], [330, 0,228, 0, 1,204, 1,228, 1, 0, 0, 21,330], [330, 1, 0, 0, 1, 0, 1, 0, 1, 1, 81, 1,330], [330, 1, 82, 1, 1, 82, 1, 81, 1, 0,228, 0,330], [330, 31, 0, 0,207, 0,223, 0,207, 0, 0, 0,330], [330, 0,204, 0, 1, 1, 81, 1, 1, 31, 0,246,330], [330, 81, 1, 81, 1, 0, 0, 0, 1, 1, 1, 81,330], [330, 0, 1, 0,246, 0, 0, 0,204, 0,204, 0,330], [330,220, 1,220, 1, 1, 81, 1, 1, 81, 1, 1,330], [330, 0, 1, 0, 1, 31, 0, 0, 1, 0, 0, 0,330], [330, 22, 1, 0, 81, 0, 87, 0, 1, 0, 0, 88,330], [330,330,330,330,330,330,330,330,330,330,330,330,330] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 2, "defaultGround": "ground", "bgm": "maps2.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": {}, "changeFloor": { "11,11": { "floorId": ":before", "stair": "upFloor" }, "6,11": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": { "1,1": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\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": "playSound", "name": "door.mp3" }, { "type": "setBlock", "number": "23", "loc": [ [ 1, 3 ] ] } ] } ], "3,1": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\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": "playSound", "name": "door.mp3" }, { "type": "setBlock", "number": "23", "loc": [ [ 1, 3 ] ] } ] } ], "2,2": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\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": "playSound", "name": "door.mp3" }, { "type": "setBlock", "number": "23", "loc": [ [ 1, 3 ] ] } ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "fgmap": [ ], "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] ], "upFloor": [ 6, 10 ], "downFloor": [ 11, 10 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }