main.floors.SC20_5= { "floorId": "SC20_5", "title": "御魂庆典:20F", "name": "第 20 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,404,404,404, 1, 0,245, 0, 1,414,414,414,330], [330, 23, 0, 62, 85, 0, 0, 0, 85, 32, 32, 32,330], [330, 1, 1, 1, 1, 1, 85, 1, 1, 1, 1, 1,330], [330,414,404, 1, 0,246, 0,246, 0, 1, 31, 32,330], [330, 21, 0, 1, 0,246, 0,246, 0, 1, 0, 21,330], [330, 1, 82, 1, 0,246, 0,246, 0, 1, 82, 1,330], [330,227, 0, 1, 0,246, 0,246, 0, 1, 0,227,330], [330, 0,227, 1, 0, 0, 0, 0, 0, 1,227, 0,330], [330, 81, 1, 1, 1, 1, 83, 1, 1, 1, 1, 81,330], [330, 0,223, 0, 1, 0, 0, 0, 1, 0,223, 0,330], [330, 31, 0, 0,220, 0, 88, 0,220, 0, 0, 31,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": { "6,8": [ { "type": "closeDoor", "id": "specialDoor", "loc": [ 6, 9 ] }, "\t[魔王,redKing]你终于来啦 我好想和你干一把 但是我的部下不同意", { "type": "playBgm", "name": "battle.mp3" }, { "type": "hide", "remove": true, "time": 0 } ] }, "changeFloor": { "6,11": { "floorId": ":before", "stair": "upFloor" } }, "afterBattle": { "5,4": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "7,4": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "5,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "7,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "5,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "7,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "7,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "5,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 4],\n\t[5, 5],\n\t[5, 6],\n\t[5, 7],\n\t[7, 4],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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": [ 6, 3 ] } ] } ], "6,1": [ "\t[魔王,redKing]很好嘛 你通过了我的面试 你是个合格的玩家", { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ], "async": true }, { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 6, 9 ] }, { "type": "hide", "loc": [ [ 6, 8 ] ], "remove": true }, { "type": "waitAsync" } ] }, "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] ], "downFloor": [ 6, 10 ], "upFloor": null, "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }