main.floors.MT32=
{
    "floorId": "MT32",
    "title": "魔塔 第32层",
    "name": "第 32 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1, 28,  0, 82,332,  0,  0,  0,332,  0,  0, 87,  1],
    [  1,  0, 27,  1,  1,  1,  0,  1,  1,  1,  0,  0,  1],
    [  1, 81,  1,  1,  0, 81,  0, 81,  0,  1,  1,  1,  1],
    [  1,332,  0,216,  0,  1,  0,  1,212,  1, 21,332,  1],
    [  1,  0, 21,  0,216,  1,  0,  1,  0, 81,  0, 21,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  0,  1,  1,  1,  1],
    [  1, 21, 21, 21, 21,  1,  0,  1,227,  1, 21, 22,  1],
    [  1,332,  0,  0, 22,  1,  0,  1,  0, 81,  0,332,  1],
    [  1,  1, 85,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,222,  0,222,  0,  0,  0,  0,  0,  7,131,  8,  1],
    [  1,  0,  0,  0,332, 88,  0,  1,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": 4,
    "defaultGround": "ground",
    "bgm": "section4.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "10,10": [
            {
                "type": "setValue",
                "name": "flag:ratio",
                "value": "4"
            },
            {
                "type": "setValue",
                "name": "flag:shopratio",
                "value": "Math.max(core.getFlag('shopratio', 1), core.getFlag('ratio', 1))"
            },
            {
                "type": "insert",
                "name": "商店"
            }
        ],
        "6,10": [
            {
                "type": "setEnemy",
                "id": "yellowKnight",
                "name": "special",
                "value": "1"
            },
            {
                "type": "playBgm",
                "name": "Knight.mp3"
            },
            {
                "type": "setBlock",
                "number": "yellowKnight",
                "loc": [
                    [
                        10,
                        1
                    ]
                ],
                "time": 500
            },
            "\t[骑士队长,yellowKnight]你打败了前2个区域的头目 这表明你是个勇士 但现在游戏结束了 我将在这里亲手杀死你",
            {
                "type": "move",
                "loc": [
                    10,
                    1
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "left:1"
                ]
            },
            "\t[骑士队长,yellowKnight]你以为我过不去吗 嘿嘿错了 看我对称飞",
            {
                "type": "jump",
                "from": [
                    9,
                    1
                ],
                "to": [
                    3,
                    11
                ],
                "time": 500,
                "keep": true
            },
            {
                "type": "move",
                "loc": [
                    3,
                    10
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "left:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    11
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "up:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    10
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "right:2"
                ]
            },
            {
                "type": "battle",
                "id": "yellowKnight"
            },
            "\t[骑士队长,yellowKnight]你以为你已非常强大了吗 嘿嘿错了 只是我今天状态不佳而已 我走了 有本事到40楼与我的先攻大军再打一次",
            {
                "type": "move",
                "loc": [
                    5,
                    10
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "left:2"
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    10
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "down:1"
                ]
            },
            {
                "type": "jump",
                "from": [
                    3,
                    11
                ],
                "to": [
                    9,
                    1
                ],
                "time": 500,
                "keep": true
            },
            {
                "type": "move",
                "loc": [
                    9,
                    1
                ],
                "time": 1,
                "keep": true,
                "steps": [
                    "right:1"
                ]
            },
            {
                "type": "hide",
                "loc": [
                    [
                        10,
                        1
                    ]
                ],
                "remove": true
            },
            {
                "type": "setEnemy",
                "id": "yellowKnight",
                "name": "special",
                "value": "0"
            },
            {
                "type": "hide",
                "remove": true,
                "time": 0
            }
        ],
        "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,
                                9
                            ],
                            [
                                4,
                                10
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "if",
                        "condition": "flag:难度",
                        "true": [
                            {
                                "type": "setBlock",
                                "number": "A333",
                                "loc": [
                                    [
                                        4,
                                        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": "你的生命不足"
                    }
                ]
            }
        ],
        "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,
                                9
                            ],
                            [
                                4,
                                10
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "if",
                        "condition": "flag:难度",
                        "true": [
                            {
                                "type": "setBlock",
                                "number": "A333",
                                "loc": [
                                    [
                                        4,
                                        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": "你的生命不足"
                    }
                ]
            }
        ],
        "8,11": [
            {
                "type": "if",
                "condition": "(core.status.hero.hp>core.values.redPotion * core.status.thisMap.ratio)",
                "true": [
                    {
                        "type": "hide",
                        "loc": [
                            [
                                8,
                                11
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                10
                            ],
                            [
                                8,
                                9
                            ],
                            [
                                8,
                                8
                            ],
                            [
                                9,
                                8
                            ],
                            [
                                10,
                                8
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "if",
                        "condition": "flag:难度",
                        "true": [
                            {
                                "type": "hide",
                                "loc": [
                                    [
                                        11,
                                        8
                                    ]
                                ],
                                "remove": true
                            }
                        ]
                    },
                    {
                        "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
                            ]
                        ],
                        "remove": true
                    },
                    {
                        "type": "setBlock",
                        "number": "A333",
                        "loc": [
                            [
                                8,
                                2
                            ],
                            [
                                8,
                                3
                            ],
                            [
                                9,
                                4
                            ],
                            [
                                8,
                                4
                            ]
                        ],
                        "destruct": true,
                        "time": 50
                    },
                    {
                        "type": "if",
                        "condition": "flag:难度",
                        "true": [
                            {
                                "type": "hide",
                                "loc": [
                                    [
                                        11,
                                        4
                                    ]
                                ],
                                "remove": true
                            },
                            {
                                "type": "setBlock",
                                "number": "A333",
                                "loc": [
                                    [
                                        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": {
        "11,1": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        },
        "5,11": {
            "floorId": ":before",
            "stair": "upFloor",
            "time": 0
        }
    },
    "afterBattle": {
        "1,10": [
            {
                "type": "if",
                "condition": "flag:32",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            9
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:32",
                        "value": "1"
                    }
                ]
            }
        ],
        "3,10": [
            {
                "type": "if",
                "condition": "flag:32",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            9
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:32",
                        "value": "1"
                    }
                ]
            }
        ],
        "2,10": [
            {
                "type": "if",
                "condition": "flag:32",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            9
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:32",
                        "value": "1"
                    }
                ]
            }
        ]
    },
    "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": [

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