main.floors.SC11_1= { "floorId": "SC11_1", "title": "御魂庆典:11F", "name": "第 11 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330, 0, 0, 0, 1, 27, 0, 81, 0, 1, 31, 21,330], [330, 0, 63, 0, 1, 0,205, 1,209, 1, 0, 0,330], [330, 0, 0, 0, 1, 81, 1, 1, 0, 81, 0, 0,330], [330, 1, 85, 1, 1, 0,205, 1, 1, 1, 1,202,330], [330,217, 0,217, 1,209, 0, 81,217, 0, 1, 0,330], [330, 0, 0, 0, 1, 1, 1, 1, 0, 31, 1, 0,330], [330, 32, 0, 0,205, 0, 0, 81,202, 0, 1, 0,330], [330, 1, 82, 1, 1, 1, 1, 1, 1, 1, 1,205,330], [330, 0,205, 0,202, 81, 0, 0, 0, 0,201, 0,330], [330, 21, 0, 0, 0, 1, 0, 1, 1, 81, 1, 0,330], [330, 21, 21, 21, 21, 1, 88, 1, 32,205, 1, 87,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": { "6,11": { "floorId": ":before", "stair": "upFloor" }, "11,11": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": { "1,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 5],\n\t[3, 5],\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": [ 2, 4 ] } ] } ], "3,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 5],\n\t[3, 5],\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": [ 2, 4 ] } ] } ] }, "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": [ ], "upFloor": [ 11, 10 ], "downFloor": [ 6, 10 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }