main.floors.MT17=
{
    "floorId": "MT17",
    "title": "魔塔 第17层",
    "name": "第 17 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  0,  0,  0,332,  0, 87,  0,332, 27,  0, 28,  1],
    [  1,  0, 37,  0,  1,  0,  0,  0,  1,  0, 32,  0,  1],
    [  1,  0,  0,  0,  1,214,  1,206,  1, 21,  0, 21,  1],
    [  1,332, 85,  1,  1,  0,  1,  0,  1,  1, 85,332,  1],
    [  1,221,  0,221,  1, 81,  1, 82,  1,214,  0,214,  1],
    [  1,  0,  0,  0,  1,  0,  1,  0,  1,  0,  0,  0,  1],
    [  1,  1, 85,  1,  1,213,  1,203,  1,  1, 85,  1,  1],
    [  1,332,  0,221,  1,  0,  0,  0,  1,213,  0,332,  1],
    [  1,  0,  0,  0,  1,  1,218,  1,  1,  0,  0,  0,  1],
    [  1,  1, 81,  1,  1,  0,  0,  0,  1,  1, 81,  1,  1],
    [  1, 31,  0,  0,332,  0, 88,  0,332,  0,  0, 31,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 2,
    "defaultGround": "ground",
    "bgm": "section2.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,1": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        },
        "6,11": {
            "floorId": ":before",
            "stair": "upFloor",
            "time": 0
        }
    },
    "afterBattle": {
        "3,8": [
            {
                "type": "if",
                "condition": "switch:A",
                "true": [],
                "false": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            7
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "switch:A",
                        "value": "1"
                    }
                ]
            }
        ],
        "1,5": [
            {
                "type": "if",
                "condition": "flag:172",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:172",
                        "value": "1"
                    }
                ]
            }
        ],
        "3,5": [
            {
                "type": "if",
                "condition": "flag:172",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:172",
                        "value": "1"
                    }
                ]
            }
        ],
        "9,8": [
            {
                "type": "if",
                "condition": "switch:A",
                "true": [],
                "false": [
                    {
                        "type": "openDoor",
                        "loc": [
                            10,
                            7
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "switch:A",
                        "value": "1"
                    }
                ]
            }
        ],
        "9,5": [
            {
                "type": "if",
                "condition": "flag:174",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            10,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:174",
                        "value": "1"
                    }
                ]
            }
        ],
        "11,5": [
            {
                "type": "if",
                "condition": "flag:174",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            10,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:174",
                        "value": "1"
                    }
                ]
            }
        ]
    },
    "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": {}
}