main.floors.MT30_5=
{
    "floorId": "MT30_5",
    "title": "主塔 30 层",
    "name": "30",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 5,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,8": [
            {
                "type": "function",
                "function": "function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\n\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 3"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "redKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 500
            },
            "\t[魔王,redKing]你终于来了，我很想与你立刻决斗，但我的部下不同意。",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            "\t[魔王,redKing]完蛋了，我被封印了，功力只剩一层",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "Zeno.mp3"
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 8"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "waitAsync"
            }
        ],
        "8,6": [
            {
                "type": "function",
                "function": "function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\n\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 3"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "redKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 500
            },
            "\t[魔王,redKing]你终于来了，我很想与你立刻决斗，但我的部下不同意。",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            "\t[魔王,redKing]完蛋了，我被封印了，功力只剩一层",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "Zeno.mp3"
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 8"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "waitAsync"
            }
        ],
        "6,4": [
            {
                "type": "function",
                "function": "function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\n\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 3"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "redKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 500
            },
            "\t[魔王,redKing]你终于来了，我很想与你立刻决斗，但我的部下不同意。",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            "\t[魔王,redKing]完蛋了，我被封印了，功力只剩一层",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "Zeno.mp3"
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 8"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "waitAsync"
            }
        ],
        "4,6": [
            {
                "type": "function",
                "function": "function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\n\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 3"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "specialDoor",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "redKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 500
            },
            "\t[魔王,redKing]你终于来了，我很想与你立刻决斗，但我的部下不同意。",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            "\t[魔王,redKing]完蛋了，我被封印了，功力只剩一层",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "Zeno.mp3"
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 8"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 6"
                ],
                "remove": true,
                "destruct": true
            },
            {
                "type": "waitAsync"
            }
        ],
        "6,3": [
            {
                "type": "setCurtain",
                "color": [
                    0,
                    0,
                    0
                ],
                "time": 200,
                "keep": true
            },
            {
                "type": "sleep",
                "time": 1200
            },
            {
                "type": "changeFloor",
                "floorId": "MT50",
                "loc": [
                    6,
                    7
                ],
                "direction": "up",
                "time": 200
            },
            {
                "type": "setCurtain",
                "time": 200
            }
        ]
    },
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "6,6": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            "\t[魔王,redKing]哈哈哈，很好，你是个合格的战士。",
            {
                "type": "setBlock",
                "number": "23",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "62",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 6"
                ]
            },
            {
                "type": "setBlock",
                "number": "365",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 4"
                ]
            },
            {
                "type": "setBlock",
                "number": "365",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ]
            },
            {
                "type": "setBlock",
                "number": "365",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 5"
                ]
            },
            {
                "type": "setBlock",
                "number": "374",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 4"
                ]
            },
            {
                "type": "setBlock",
                "number": "374",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ]
            },
            {
                "type": "setBlock",
                "number": "374",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 5"
                ]
            },
            {
                "type": "setBlock",
                "number": "345",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 8"
                ]
            },
            {
                "type": "setBlock",
                "number": "345",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 7"
                ]
            },
            {
                "type": "setBlock",
                "number": "345",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 7"
                ]
            },
            {
                "type": "setBlock",
                "number": "350",
                "loc": [
                    "temp:floor_x + 4",
                    "temp:floor_y + 7"
                ]
            },
            {
                "type": "setBlock",
                "number": "350",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 7"
                ]
            },
            {
                "type": "setBlock",
                "number": "350",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 8"
                ]
            },
            {
                "type": "setBlock",
                "number": "166",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 3"
                ]
            },
            {
                "type": "openDoor",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 6"
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 6"
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ]
            },
            {
                "type": "waitAsync"
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,350, 21, 82,228,  1,  0,  1,228, 82,374,345,  1],
    [  1, 21,  0,  1,  0,220,  0,219,  0,  1,  0,374,  1],
    [  1, 82,  1,246,  0,  1, 83,  1,  0,246,  1, 82,  1],
    [  1,228,  0,  0,  1,  0,166,  0,  1,  0,  0,228,  1],
    [  1,  1,219,  1,  0,  0,  0,  0,  0,  1,220,  1,  1],
    [  0,  0,  0, 83,166,  0,  0,  0,166, 83,  0,  0,  0],
    [  1,  1,220,  1,  0,  0,  0,  0,  0,  1,219,  1,  1],
    [  1,223,  0,  0,  1,  0,166,  0,  1,  0,  0,228,  1],
    [  1, 81,  1,246,  0,  1, 83,  1,  0,246,  1, 81,  1],
    [  1,360,  0,  1,  0,219,  0,220,  0,  1,  0, 22,  1],
    [  1,365,360, 81,223,  1,  0,  1,228, 81, 22,121,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}