main.floors.DPL8_1= { "floorId": "DPL8_1", "title": "龙宫游乐园:8-1", "name": "8-1", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "cannotViewMap": false, "cannotMoveDirectly": false, "images": [], "ratio": 1, "defaultGround": "magicground2", "bgm": "maps5A.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { "12,6": { "trigger": null, "enable": false, "noPass": null, "displayDamage": true, "opacity": 1, "filter": { "blur": 0, "hue": 0, "grayscale": 0, "invert": false, "shadow": 0 }, "data": [ { "type": "changeFloor", "floorId": "DP8", "loc": [ 1, 6 ], "direction": "right" } ] } }, "changeFloor": { "0,6": { "floorId": "DPL8_2", "loc": [ 11, 6 ], "direction": "left" } }, "beforeBattle": {}, "afterBattle": { "11,6": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "10,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "9,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "9,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "10,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "7,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "6,8": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "5,8": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "4,7": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "4,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "5,4": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "6,4": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ], "7,5": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[11, 6],\n\t[10, 5],\n\t[9, 5],\n\t[9, 7],\n\t[10, 7],\n\t[7, 7],\n\t[6, 8],\n\t[5, 8],\n\t[4, 7],\n\t[4, 5],\n\t[5, 4],\n\t[6, 4],\n\t[7, 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": [ 10, 4 ] }, { "type": "openDoor", "loc": [ 7, 3 ] }, { "type": "openDoor", "loc": [ 7, 9 ] }, { "type": "openDoor", "loc": [ 10, 8 ] }, { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" }, { "type": "show", "loc": [ [ 12, 6 ] ] } ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [142,142,142,142,142,142,142,142,142,142,142,142,142], [142, 21, 21, 21,450, 82,414, 21,142,414, 32,414,142], [142, 81,142,142,142,142,414, 32,142, 32,421, 32,142], [142,228,142,142,142,142,142, 85,142,414, 32,414,142], [142, 0,142, 0, 0,219,220, 0,142,142, 85,142,142], [142, 0,142, 0,219, 0, 0,220,142,246,246, 0,142], [ 92, 0, 83, 0, 0, 0, 0, 0, 0, 0, 0,247, 94], [142, 0,142, 0,219, 0, 0,220,142,246,246, 0,142], [142, 0,142, 0, 0,219,220, 0,142,142, 85,142,142], [142,228,142,142,142,142,142, 85,142,404, 0,404,142], [142, 81,142,142,142,142,404, 32,142, 0, 23, 0,142], [142, 21, 21, 21,450, 82,404, 21,142,404, 0,404,142], [142,142,142,142,142,142,142,142,142,142,142,142,142] ], "bgmap": [ ], "fgmap": [ ] }