main.floors.MAL32= { "floorId": "MAL32", "title": "魔法学院:32F", "name": "主楼 32F", "width": 13, "height": 13, "map": [ [148,148,148,148,148,148,148,148,148,148,148,148,148], [148,412, 0, 82, 0, 0, 0, 0, 0, 0, 0, 87,148], [148, 0,402,148,148,148, 0,148,148,148, 0, 0,148], [148, 81,148,148, 0, 81, 0, 81, 0,148,148,148,148], [148,225, 0,216, 0,148, 0,148,212,148, 21, 32,148], [148, 0, 21, 0,216,148, 0,148, 0, 81, 0, 21,148], [148,148,148,148,148,148, 0,148, 0,148,148,148,148], [148, 21, 21, 21, 21,148, 0,148,227,148, 21, 22,148], [148, 0, 0, 0, 22,148, 0,148, 0, 81, 0, 21,148], [148,148, 85,148,148,148, 0,148,148,148,148,148,148], [148,222, 0,222, 0, 0, 0, 0, 0, 0, 0, 0,148], [148, 0, 0, 0, 0, 88, 0,148,212, 0, 0, 0,148], [148,148,148,148,148,148,148,148,148,148,148,148,148] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 4, "defaultGround": "magicground", "bgm": "maps4L.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": {}, "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": [ ], "fgmap": [ ], "downFloor": [ 6, 11 ], "upFloor": [ 10, 1 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }