main.floors.MT112=
{
    "floorId": "MT112",
    "title": "回溯 第12层",
    "name": "112",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": false,
    "images": [],
    "ratio": 5,
    "defaultGround": "ground",
    "firstArrive": null,
    "eachArrive": null,
    "parallelDo": "",
    "events": {
        "11,1": {
            "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:112_Flag_1",
                    "true": [
                        {
                            "type": "choices",
                            "text": "\t[商人,woman]本店有很多黄钥匙，1000金币1把要吗？",
                            "choices": [
                                {
                                    "text": "我太需要了",
                                    "action": [
                                        {
                                            "type": "if",
                                            "condition": "(status:money>=1000)",
                                            "true": [
                                                {
                                                    "type": "addValue",
                                                    "name": "status:money",
                                                    "value": "-1000"
                                                },
                                                {
                                                    "type": "addValue",
                                                    "name": "item:yellowKey",
                                                    "value": "1"
                                                },
                                                {
                                                    "type": "insert",
                                                    "loc": [
                                                        11,
                                                        1
                                                    ]
                                                }
                                            ],
                                            "false": [
                                                {
                                                    "type": "tip",
                                                    "text": "你的金币不足1000枚，无法交易！"
                                                },
                                                {
                                                    "type": "insert",
                                                    "loc": [
                                                        11,
                                                        1
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                },
                                {
                                    "text": "下次再说",
                                    "action": [
                                        {
                                            "type": "exit"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "false": [
                        {
                            "type": "playSound",
                            "name": "door.mp3"
                        },
                        {
                            "type": "openDoor"
                        },
                        {
                            "type": "setBlock",
                            "number": "fairy"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:112_Flag_1",
                            "value": "1"
                        }
                    ]
                }
            ]
        },
        "1,1": [
            {
                "type": "if",
                "condition": "(flag:112_Flag===0)",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[商人,woman]我有一把红钥匙，你出800金币我就卖给你",
                        "choices": [
                            {
                                "text": "我太需要了",
                                "condition": "EvalString_default",
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "(status:money>=800)",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "item:redKey",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:112_Flag",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:money",
                                                "operator": "-=",
                                                "value": "800"
                                            }
                                        ],
                                        "false": [
                                            "\t[商人,woman]金币不足"
                                        ]
                                    }
                                ]
                            },
                            {
                                "text": "下次再说",
                                "condition": "EvalString_default",
                                "action": []
                            }
                        ]
                    }
                ],
                "false": [
                    "\t[hero]本塔有很多暗墙 比如5 9 12 14 16 18层",
                    "\t[商人,woman]原来如此",
                    {
                        "type": "hide",
                        "remove": true,
                        "time": 300
                    }
                ]
            }
        ],
        "6,9": [
            {
                "type": "if",
                "condition": "(flag:timesOld===0)",
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:timesOld",
                        "value": "1"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:moneyOld",
                "value": "20+10*flag:timesOld*(flag:timesOld-1)"
            },
            {
                "type": "choices",
                "text": "\t[祭坛,blueShop]如果供奉${flag:moneyOld}金币, 便可以增加你的力量, 你想要什么呢…",
                "choices": [
                    {
                        "text": "生命+200",
                        "action": [
                            "\t[hero]在这个时空 血量的增加并不会增加剩余魔力 还是算了吧",
                            {
                                "type": "insert",
                                "name": "回溯商店二区"
                            }
                        ]
                    },
                    {
                        "text": "攻击+4",
                        "action": [
                            {
                                "type": "if",
                                "condition": "(status:money>=flag:moneyOld)",
                                "true": [
                                    {
                                        "type": "playSound",
                                        "name": "item.mp3"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "4"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:money",
                                        "operator": "-=",
                                        "value": "flag:moneyOld"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:timesOld",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "insert",
                                        "name": "回溯商店二区"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "tip",
                                        "text": "你的金币不足${flag:moneyOld}枚，无法供奉！"
                                    },
                                    {
                                        "type": "insert",
                                        "name": "回溯商店二区"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "text": "防御+8",
                        "action": [
                            {
                                "type": "if",
                                "condition": "(status:money>=flag:moneyOld)",
                                "true": [
                                    {
                                        "type": "playSound",
                                        "name": "item.mp3"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "8"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:money",
                                        "operator": "-=",
                                        "value": "flag:moneyOld"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:timesOld",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "insert",
                                        "name": "回溯商店二区"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "tip",
                                        "text": "你的金币不足${flag:moneyOld}枚，无法供奉！"
                                    },
                                    {
                                        "type": "insert",
                                        "name": "回溯商店二区"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "text": "离开",
                        "action": []
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "11,11": {
            "floorId": "MT111",
            "loc": [
                11,
                10
            ],
            "time": 0
        },
        "1,11": {
            "floorId": "MT113",
            "loc": [
                2,
                11
            ],
            "time": 0
        }
    },
    "beforeBattle": {},
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,361,  2,  0,  1, 21,353, 21,  1,  0,  2,  2,  1],
    [  1,  1,  1,206,  1,  0,  1,  0,  1,  0,  1,  1,  1],
    [  1,  0,  0,  0,  1,218,  0,218,  1,  0,213,  0,  1],
    [  1, 81,  1,  1,  1,  1, 81,  1,  1,  1,  1,  0,  1],
    [  1,  0,218,  0, 81,  0,213,  0,  1,357,  0,206,  1],
    [  1,  1,  1,  1,  1,  0,  0,218, 81,  0,354,  0,  1],
    [  1, 21, 21,  0,  1,  0,358,  0,  1, 21,  0,203,  1],
    [  1, 21, 22,  0,  1,  1,  1,  1,  1, 82,  1, 81,  1],
    [  1,  0,  0,213,  1,  7,362,  8,  1,203,  0,213,  1],
    [  1,  1,  1, 81,  1,357,  0,357,  1,  1,  0,  1,  1],
    [  1, 87,  0,  0,205,  0,  0,  0,205,  0,  0, 88,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

],
    "upFloor": [
        2,
        11
    ],
    "downFloor": [
        10,
        11
    ],
    "bgm": "end_elf.mp3",
    "cannotViewMap": true
}