main.floors.SC20_4= { "floorId": "SC20_4", "title": "御魂庆典:20F", "name": "第 20 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330,402,402,402, 1, 0, 87, 0, 1,412,412,412,330], [330, 21, 21, 21, 85, 0, 0, 0, 85, 32, 32, 32,330], [330, 1, 1, 1, 1, 1, 85, 1, 1, 1, 1, 1,330], [330,412,402, 1, 0, 0,226, 0, 0, 1, 31, 32,330], [330, 21, 0, 1,212,225, 0,224,227, 1, 0, 21,330], [330, 1, 82, 1,212,225, 0,224,227, 1, 82, 1,330], [330,214, 0, 1,212,225, 0,224,227, 1, 0,214,330], [330, 0,214, 1, 0, 0, 0, 0, 0, 1,214, 0,330], [330, 81, 1, 1, 1, 1, 83, 1, 1, 1, 1, 81,330], [330, 0,222, 0, 1, 0, 0, 0, 1, 0,222, 0,330], [330, 31, 0, 0,224, 0, 88, 0,224, 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": {}, "changeFloor": { "6,11": { "floorId": ":before", "stair": "upFloor" }, "6,1": { "floorId": ":next", "stair": "downFloor" } }, "afterBattle": { "6,4": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "4,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "4,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "4,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "5,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "5,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "5,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "7,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "7,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "7,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "8,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "8,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "type": "waitAsync" } ] } ], "8,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 4],\n\t[4, 5],\n\t[5, 5],\n\t[7, 5],\n\t[8, 5],\n\t[4, 6],\n\t[5, 6],\n\t[7, 6],\n\t[8, 6],\n\t[4, 7],\n\t[5, 7],\n\t[7, 7],\n\t[8, 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": [ "\t[骑士队长,yellowKnight]这次先饶了你,下次碰到我会和你正式的决斗,你最好投降。", { "type": "openDoor", "loc": [ 6, 3 ], "async": true }, { "type": "openDoor", "loc": [ 4, 2 ], "async": true }, { "type": "openDoor", "loc": [ 8, 2 ] }, { "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": [ 6, 2 ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }