main.floors.SC14_2= { "floorId": "SC14_2", "title": "御魂庆典:14F", "name": "第 14 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,214, 0,214, 1,411, 21, 31, 1, 21, 21, 21,330], [330, 0,214, 0, 1,203, 1,214, 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,214, 0,330], [330, 31, 0, 0,206, 0,215, 0,206, 0, 0, 0,330], [330, 0,203, 0, 1, 1, 81, 1, 1, 31, 0,213,330], [330, 81, 1, 81, 1, 0, 0, 0, 1, 1, 1, 81,330], [330, 0, 1, 0,213, 0, 0, 0,203, 0,203, 0,330], [330,218, 1,218, 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": [] }