main.floors.MT2=
{
    "floorId": "MT2",
    "title": "魔塔 第02层",
    "name": "第 2 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  4,  4,  4],
    [  1, 88,  0, 82,  0,  0,  0,  0,  0,  0,  4,249,  4],
    [  1,  0,  0,  1,  1,  0,222,  0,222,  0,  4,  4,  4],
    [  1,  0,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1],
    [  1,  0,  1, 21, 21,  1,  0,  0,  0,  1,  0,121,  1],
    [  1,  0,  1, 21,  0, 86,  0,  0,  0, 86,  0,  0,  1],
    [  1,  0,  1,  1,  1,  1,  0,  0,  0,  1,  1,  1,  1],
    [  1,  0,  1,  0,  0,  1,  0,  0,  0,  1,  0,124,  1],
    [  1,  0,  1,  0,  0, 86,  0,  0,  0, 86,  0,  0,  1],
    [  1,  0,  1,  1,  1,  1,  0,  0,  0,  1,  1,  1,  1],
    [  1,  0,  1, 32, 32,  1,  0,  0,  0,  1,  0,  0,  1],
    [  1, 87,  1, 32,  0, 86,  0,  0,  0, 86,  0,123,  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": [
        {
            "type": "if",
            "condition": "(flags.over===1)",
            "true": [
                {
                    "type": "setValue",
                    "name": "flag:sm",
                    "value": "status:hp"
                },
                {
                    "type": "setValue",
                    "name": "flag:gj",
                    "value": "status:atk"
                },
                {
                    "type": "setValue",
                    "name": "flag:fy",
                    "value": "status:def"
                },
                {
                    "type": "setValue",
                    "name": "status:hp",
                    "value": "400"
                },
                {
                    "type": "setValue",
                    "name": "status:atk",
                    "value": "10"
                },
                {
                    "type": "setValue",
                    "name": "status:def",
                    "value": "10"
                },
                {
                    "type": "setValue",
                    "name": "status:money",
                    "value": "4"
                },
                {
                    "type": "setValue",
                    "name": "flag:nowWeapon",
                    "value": "null"
                },
                {
                    "type": "setValue",
                    "name": "flag:nowShield",
                    "value": "null"
                },
                {
                    "type": "sleep",
                    "time": 1000
                },
                "\t[小偷,thief]我们终于逃出来了",
                "\t[小偷,thief]喂",
                "\t[小偷,thief]喂 醒醒",
                {
                    "type": "setCurtain",
                    "time": 1000
                },
                {
                    "type": "sleep",
                    "time": 1000
                },
                "\t[小偷,thief]你的剑盾被警卫拿走了 你必须先找到武器",
                {
                    "type": "waitAsync"
                },
                {
                    "type": "if",
                    "condition": "(flags.hard===1)",
                    "true": [
                        {
                            "type": "choices",
                            "text": "\t[简单难度通关]选择结局",
                            "choices": [
                                {
                                    "text": "【简单】生命（${flags.sm}）",
                                    "action": [
                                        {
                                            "type": "playSound",
                                            "name": "确定"
                                        },
                                        {
                                            "type": "setValue",
                                            "name": "status:hp",
                                            "value": "flag:sm"
                                        },
                                        {
                                            "type": "win",
                                            "reason": "【简单】生命"
                                        }
                                    ]
                                },
                                {
                                    "text": "【简单】攻击（${flags.gj}）",
                                    "action": [
                                        {
                                            "type": "playSound",
                                            "name": "确定"
                                        },
                                        {
                                            "type": "setValue",
                                            "name": "status:hp",
                                            "value": "flag:gj"
                                        },
                                        {
                                            "type": "win",
                                            "reason": "【简单】攻击"
                                        }
                                    ]
                                },
                                {
                                    "text": "【简单】防御（${flags.fy}）",
                                    "action": [
                                        {
                                            "type": "playSound",
                                            "name": "确定"
                                        },
                                        {
                                            "type": "setValue",
                                            "name": "status:hp",
                                            "value": "flag:fy"
                                        },
                                        {
                                            "type": "win",
                                            "reason": "【简单】防御"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "false": [
                        {
                            "type": "if",
                            "condition": "(flags.hard===2)",
                            "true": [
                                {
                                    "type": "choices",
                                    "text": "\t[普通难度通关]选择结局",
                                    "choices": [
                                        {
                                            "text": "【普通】生命（${flags.sm}）",
                                            "action": [
                                                {
                                                    "type": "playSound",
                                                    "name": "确定"
                                                },
                                                {
                                                    "type": "setValue",
                                                    "name": "status:hp",
                                                    "value": "flag:sm"
                                                },
                                                {
                                                    "type": "win",
                                                    "reason": "【普通】生命"
                                                }
                                            ]
                                        },
                                        {
                                            "text": "【普通】攻击（${flags.gj}）",
                                            "action": [
                                                {
                                                    "type": "playSound",
                                                    "name": "确定"
                                                },
                                                {
                                                    "type": "setValue",
                                                    "name": "status:hp",
                                                    "value": "flag:gj"
                                                },
                                                {
                                                    "type": "win",
                                                    "reason": "【普通】攻击"
                                                }
                                            ]
                                        },
                                        {
                                            "text": "【普通】防御（${flags.fy}）",
                                            "action": [
                                                {
                                                    "type": "playSound",
                                                    "name": "确定"
                                                },
                                                {
                                                    "type": "setValue",
                                                    "name": "status:hp",
                                                    "value": "flag:fy"
                                                },
                                                {
                                                    "type": "win",
                                                    "reason": "【普通】防御"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ],
                            "false": [
                                {
                                    "type": "setValue",
                                    "name": "flag:hardtg",
                                    "value": "1"
                                },
                                {
                                    "type": "while",
                                    "condition": "(flags.hardtg===1)",
                                    "data": [
                                        {
                                            "type": "choices",
                                            "text": "\t[困难难度通关]选择结局",
                                            "choices": [
                                                {
                                                    "text": "【困难】生命（${flags.sm}）",
                                                    "action": [
                                                        {
                                                            "type": "playSound",
                                                            "name": "确定"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:hp",
                                                            "value": "flag:sm"
                                                        },
                                                        {
                                                            "type": "win",
                                                            "reason": "【困难】生命"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "text": "【困难】攻击（${flags.gj}）",
                                                    "action": [
                                                        {
                                                            "type": "playSound",
                                                            "name": "确定"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:hp",
                                                            "value": "flag:gj"
                                                        },
                                                        {
                                                            "type": "win",
                                                            "reason": "【困难】攻击"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "text": "【困难】防御（${flags.fy}）",
                                                    "action": [
                                                        {
                                                            "type": "playSound",
                                                            "name": "确定"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:hp",
                                                            "value": "flag:fy"
                                                        },
                                                        {
                                                            "type": "win",
                                                            "reason": "【困难】防御"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "text": "【困难】道具榜单（${flags.sm}）",
                                                    "action": [
                                                        {
                                                            "type": "playSound",
                                                            "name": "确定"
                                                        },
                                                        {
                                                            "type": "choices",
                                                            "text": "选择【困难】道具榜单（${flags.sm}）",
                                                            "choices": [
                                                                {
                                                                    "text": "困难-【不选第三页道具】开局",
                                                                    "need": "flags.shengdun!=1&&flags.duichenfei!=1&&flags.qishijian!=1&&flags.dizhenjuanzhou!=1&&flags.shengjian!=1&&flags.shenshengdun!=1&&flags.shenshengjian!=1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【不选第三页道具】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【圣盾】开局",
                                                                    "icon": "shield4",
                                                                    "need": "flags.shengdun===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【圣盾】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【对称飞】开局",
                                                                    "icon": "centerFly",
                                                                    "need": "flags.duichenfei===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【对称飞】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【骑士剑】开局",
                                                                    "icon": "sword3",
                                                                    "need": "flags.qishijian===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【骑士剑】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【地震卷轴】开局",
                                                                    "icon": "earthquake",
                                                                    "need": "flags.dizhenjuanzhou===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【地震卷轴】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【圣剑】开局",
                                                                    "icon": "sword4",
                                                                    "need": "flags.shengjian===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【圣剑】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【神圣盾】开局",
                                                                    "icon": "shield5",
                                                                    "need": "flags.shenshengdun===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【神圣盾】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "困难-【神圣剑】开局",
                                                                    "icon": "sword5",
                                                                    "need": "flags.shenshengjian===1",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "确定"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "status:hp",
                                                                            "value": "flag:sm"
                                                                        },
                                                                        {
                                                                            "type": "win",
                                                                            "reason": "困难-【神圣剑】开局"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "text": "返回",
                                                                    "action": [
                                                                        {
                                                                            "type": "playSound",
                                                                            "name": "取消"
                                                                        },
                                                                        {
                                                                            "type": "setValue",
                                                                            "name": "flag:hardtg",
                                                                            "value": "1"
                                                                        }
                                                                    ]
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "parallelDo": "",
    "events": {
        "11,11": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                "\t[小偷,thief]你终于来了 我以为再也出不去了呢 35层有个魔龙挡路 我帮你挖一条暗道吧",
                {
                    "type": "show",
                    "loc": [
                        [
                            5,
                            10
                        ]
                    ],
                    "floorId": "MT35",
                    "time": 0
                },
                {
                    "type": "hide",
                    "time": 500
                }
            ]
        },
        "11,7": [
            {
                "type": "choices",
                "text": "\t[商人,woman]谢谢你救了我 我可以帮你提升3%的攻击和防御",
                "choices": [
                    {
                        "text": "现在提升",
                        "action": [
                            {
                                "type": "playSound",
                                "name": "item.mp3"
                            },
                            {
                                "type": "addValue",
                                "name": "status:atk",
                                "value": "Math.round(status:atk*0.03)"
                            },
                            {
                                "type": "addValue",
                                "name": "status:def",
                                "value": "Math.round(status:def*0.03)"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:talking",
                                "value": "2"
                            },
                            {
                                "type": "hide",
                                "remove": true,
                                "time": 500
                            }
                        ]
                    },
                    {
                        "text": "等会再说",
                        "action": []
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "1,11": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        },
        "1,1": {
            "floorId": ":before",
            "stair": "upFloor",
            "time": 0
        }
    },
    "afterBattle": {
        "6,2": [
            {
                "type": "if",
                "condition": "flag:2",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            5
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            8
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            11
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            5
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            8
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            11
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:2",
                        "value": "1"
                    }
                ]
            }
        ],
        "8,2": [
            {
                "type": "if",
                "condition": "flag:2",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            5
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            8
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            5,
                            11
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            5
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            8
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            11
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ],
                "false": [
                    {
                        "type": "addValue",
                        "name": "flag:2",
                        "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": [

],
    "upFloor": [
        1,
        10
    ],
    "downFloor": [
        1,
        2
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {},
    "underGround": true
}