main.floors.SC32_2= { "floorId": "SC32_2", "title": "御魂庆典:32F", "name": "第 32 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,411, 0, 82, 0, 0, 0, 0, 0, 0, 0, 87,330], [330, 0,401, 1, 1, 1, 0, 1, 1, 1, 0, 0,330], [330, 81, 1, 1, 0, 81, 0, 81, 0, 1, 1, 1,330], [330,213, 0,203, 0, 1, 0, 1,206, 1, 21, 32,330], [330, 0, 21, 0,203, 1, 0, 1, 0, 81, 0, 21,330], [330, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1,330], [330, 21, 21, 21, 21, 1, 0, 1,214, 1, 21, 22,330], [330, 0, 0, 0, 22, 1, 0, 1, 0, 81, 0, 21,330], [330, 1, 85, 1, 1, 1, 0, 1, 1, 1, 1, 1,330], [330,213, 0,213, 0, 0, 0, 0, 0, 7,131, 8,330], [330, 0, 0, 0, 0, 88, 0, 1,206, 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": 4, "defaultGround": "ground", "bgm": "maps2.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "10,10": [ { "type": "switch", "condition": "flag:shopvisited", "caseList": [ { "case": "4", "action": [ { "type": "openShop", "id": "shop4", "open": true } ] }, { "case": "3", "action": [ { "type": "openShop", "id": "shop3", "open": true } ] }, { "case": "default", "action": [ { "type": "openShop", "id": "shop2", "open": true }, { "type": "setValue", "name": "flag:shopvisited", "value": "2" }, { "type": "disableShop", "id": "shop1" } ] } ] } ] }, "changeFloor": { "5,11": { "floorId": ":before", "stair": "upFloor" }, "11,1": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": { "1,10": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 10],\n\t[3, 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": [ 2, 9 ] } ] } ], "3,10": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[1, 10],\n\t[3, 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": [ 2, 9 ] } ] } ] }, "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": [ 6, 11 ], "upFloor": [ 10, 1 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }