main.floors.MT21=
{
    "floorId": "MT21",
    "title": "魔塔 第21层",
    "name": "第 21 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  0,  0,  0,332,  0, 88,  0,332,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  1,  1,  0,  0,  0,  1,  1,  0,  0,  1],
    [  1,332,  0,  1,  1,  0,  0,  0,  1,  1,  0,332,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,121,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,332,  0,  1,  1,  0,  0,  0,  1,  1,  0,332,  1],
    [  1,  0,  0,  1,  1,  0,  0,  0,  1,  1,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,332,  0, 87,  0,332,  0,  0,  0,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 3,
    "defaultGround": "ground",
    "bgm": "section3.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "4,1": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                4,
                                1
                            ],
                            [
                                1,
                                4
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                4,
                                2
                            ],
                            [
                                4,
                                3
                            ],
                            [
                                4,
                                4
                            ],
                            [
                                3,
                                4
                            ],
                            [
                                2,
                                4
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "1,4": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                4,
                                1
                            ],
                            [
                                1,
                                4
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                4,
                                2
                            ],
                            [
                                4,
                                3
                            ],
                            [
                                4,
                                4
                            ],
                            [
                                3,
                                4
                            ],
                            [
                                2,
                                4
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "1,8": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                1,
                                8
                            ],
                            [
                                4,
                                11
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                2,
                                8
                            ],
                            [
                                3,
                                8
                            ],
                            [
                                4,
                                8
                            ],
                            [
                                4,
                                9
                            ],
                            [
                                4,
                                10
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "4,11": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                1,
                                8
                            ],
                            [
                                4,
                                11
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                2,
                                8
                            ],
                            [
                                3,
                                8
                            ],
                            [
                                4,
                                8
                            ],
                            [
                                4,
                                9
                            ],
                            [
                                4,
                                10
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "8,11": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                11,
                                8
                            ],
                            [
                                8,
                                11
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                10
                            ],
                            [
                                8,
                                9
                            ],
                            [
                                8,
                                8
                            ],
                            [
                                9,
                                8
                            ],
                            [
                                10,
                                8
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "11,8": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                11,
                                8
                            ],
                            [
                                8,
                                11
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                10
                            ],
                            [
                                8,
                                9
                            ],
                            [
                                8,
                                8
                            ],
                            [
                                9,
                                8
                            ],
                            [
                                10,
                                8
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "11,4": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                8,
                                1
                            ],
                            [
                                11,
                                4
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                2
                            ],
                            [
                                8,
                                3
                            ],
                            [
                                8,
                                4
                            ],
                            [
                                9,
                                4
                            ],
                            [
                                10,
                                4
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ],
        "8,1": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                8,
                                1
                            ],
                            [
                                11,
                                4
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                2
                            ],
                            [
                                8,
                                3
                            ],
                            [
                                8,
                                4
                            ],
                            [
                                9,
                                4
                            ],
                            [
                                10,
                                4
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.hero.hp -= core.values.redPotion * core.status.thisMap.ratio\n}"
                    },
                    {
                        "type": "tip",
                        "text": "失去 ${core.values.redPotion * core.status.thisMap.ratio} 点生命"
                    }
                ],
                "false": [
                    {
                        "type": "tip",
                        "text": "你的生命不足"
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "6,11": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        },
        "6,1": {
            "floorId": ":before",
            "stair": "upFloor",
            "time": 0
        }
    },
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "cannotMove": {},
    "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]
],
    "fgmap": [

],
    "upFloor": [
        6,
        10
    ],
    "downFloor": [
        6,
        2
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}