main.floors.MT4=
{
    "floorId": "MT4",
    "title": "魔塔 第04层",
    "name": "第 4 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  0, 22,  0,332,  7,131,  8,332,  0,121,  0,  1],
    [  1, 31,  0, 21,  1,  0,  0,  0,  1, 21,  0, 32,  1],
    [  1,  0,217,  0,  1,  0,  0,  0,  1,  0,210,  0,  1],
    [  1,332, 81,  1,  1,  1, 82,  1,  1,  1, 81,332,  1],
    [  1,  0,  0,  0, 81,  0,202,  0,  0,209,  0,  0,  1],
    [  1,  0,  0,  0,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,202,  0,201,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,332,  1,  1, 81,  1,  1,  1, 81,  1,  1,332,  1],
    [  1,  0,  1,  0,205,  0,  1,  0,217,  0,  1,  0,  1],
    [  1,  0,  1,201,  0, 21,  1, 27,  0, 31,  1,  0,  1],
    [  1, 87,  1, 21,332, 21,  1,  0,332,  0,  1, 88,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,1": [
            {
                "type": "setValue",
                "name": "flag:ratio",
                "value": "1"
            },
            {
                "type": "setValue",
                "name": "flag:shopratio",
                "value": "Math.max(core.getFlag('shopratio', 1), core.getFlag('ratio', 1))"
            },
            {
                "type": "insert",
                "name": "商店"
            }
        ],
        "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": {
        "1,11": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        },
        "11,11": {
            "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": [
        1,
        10
    ],
    "downFloor": [
        11,
        10
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}