main.floors.MT39=
{
    "floorId": "MT39",
    "title": "魔塔 39 层",
    "name": "39",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": false,
    "cannotViewMap": false,
    "images": [],
    "ratio": 4,
    "defaultGround": "ground",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "9,2": [
            {
                "type": "if",
                "condition": "switch:A",
                "true": [
                    "\t[商人,trader]塔里某处有一个幸运金币，持有幸运金币后，击败怪物时将获取双倍金币。"
                ],
                "false": [
                    {
                        "type": "choices",
                        "text": "\t[商人,trader]我2000金币卖3把蓝钥匙，你买吗？",
                        "choices": [
                            {
                                "text": "是",
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "(status:money>=2000)",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "status:money",
                                                "operator": "-=",
                                                "value": "2000"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "item:blueKey",
                                                "operator": "+=",
                                                "value": "3"
                                            },
                                            {
                                                "type": "playSound",
                                                "name": "确定"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "switch:A",
                                                "value": "true"
                                            },
                                            "\t[商人,trader]感谢惠顾。"
                                        ],
                                        "false": [
                                            {
                                                "type": "playSound",
                                                "name": "操作失败"
                                            },
                                            "\t[商人,trader]你的金币不足！"
                                        ]
                                    }
                                ]
                            },
                            {
                                "text": "否",
                                "action": []
                            }
                        ]
                    }
                ]
            }
        ],
        "1,11": [
            "\t[老人,man]在3点钟方向，可以空间传送的秘宝将会出现。",
            "TSW存在一个特性：当你只有一把黄钥匙的时候，用这把黄钥匙开其中一个正确的黄门，然后撞另一个正确的黄门，也能获得中心对称飞行器。此特性在本版本得到了还原。"
        ],
        "4,2": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "if",
                    "condition": "(flag:findCenterFly==1)",
                    "true": [
                        {
                            "type": "setValue",
                            "name": "flag:findCenterFly",
                            "operator": "-=",
                            "value": "99"
                        },
                        {
                            "type": "setBlock",
                            "number": "centerFly3",
                            "loc": [
                                [
                                    4,
                                    4
                                ]
                            ]
                        }
                    ]
                },
                {
                    "type": "if",
                    "condition": "(item:yellowKey>0)",
                    "true": [
                        {
                            "type": "autoSave",
                            "removeLast": true
                        },
                        {
                            "type": "openDoor",
                            "needKey": true
                        }
                    ]
                }
            ]
        },
        "6,4": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "if",
                    "condition": "(flag:findCenterFly==1)",
                    "true": [
                        {
                            "type": "setValue",
                            "name": "flag:findCenterFly",
                            "operator": "-=",
                            "value": "99"
                        },
                        {
                            "type": "setBlock",
                            "number": "centerFly3",
                            "loc": [
                                [
                                    4,
                                    4
                                ]
                            ]
                        }
                    ]
                },
                {
                    "type": "if",
                    "condition": "(item:yellowKey>0)",
                    "true": [
                        {
                            "type": "autoSave",
                            "removeLast": true
                        },
                        {
                            "type": "openDoor",
                            "needKey": true
                        }
                    ]
                }
            ]
        }
    },
    "changeFloor": {
        "11,1": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "11,11": {
            "floorId": ":next",
            "stair": "downFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {},
    "afterGetItem": {
        "4,4": []
    },
    "afterOpenDoor": {
        "4,2": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "+=",
                "value": "1"
            }
        ],
        "6,4": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "+=",
                "value": "1"
            }
        ],
        "4,4": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "2,2": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "6,2": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "2,4": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "2,6": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "4,6": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ],
        "6,6": [
            {
                "type": "setValue",
                "name": "flag:findCenterFly",
                "operator": "-=",
                "value": "1"
            }
        ]
    },
    "autoEvent": {
        "4,4": {
            "0": null,
            "1": null
        }
    },
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0, 88,  3],
    [  3,  0, 81,  0, 81,  0, 81,  0,  1,122,  0,  0,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0, 21,  3],
    [  3,  0, 81,  0, 81,  0, 81,  0,  1,  1, 81,  1,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0,225,  3],
    [  3,  0, 81,  0, 81,  0, 81,  0,  1,216,  1, 27,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0,212,  3],
    [  3,  1, 82,  1,  1,  1,  1,  1,  1,  1, 81,  1,  3],
    [  3,  0,  0,212,  1,224, 28,227,  1,  0,227,  0,  3],
    [  3,  0,212,  0, 81,  0,  1,  0, 81,  0,  0,  0,  3],
    [  3,121,  0, 21,  1,  0,216,  0,  1, 31,  0, 87,  3],
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3]
],
    "bgmap": [

],
    "fgmap": [

],
    "downFloor": [
        11,
        2
    ],
    "upFloor": [
        10,
        11
    ],
    "bgm": "section4.mp3"
}