main.floors.MT8=
{
"floorId": "MT8",
"title": "主塔 8 层",
"name": "8",
"width": 13,
"height": 13,
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"item_ratio": 1,
"defaultGround": "ground",
"firstArrive": [],
"events": {
    "3,3": [
        "\t[染血厕纸,woman]哇哈哈哈！\n你是不是钥匙爆棚，没地方用？\n或者有钱没钥匙？\n来买卖钥匙！",
        {
            "type": "choices",
            "choices": [
                {
                    "text": "购买",
                    "action": [
                        {
                            "type": "while",
                            "condition": "1==1",
                            "data": [
                                {
                                    "type": "choices",
                                    "choices": [
                                        {
                                            "text": "黄钥匙20金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=20",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-20"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:yellowKey",
                                                            "value": "item:yellowKey+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "蓝钥匙40金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=40",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-40"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:blueKey",
                                                            "value": "item:blueKey+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "红钥匙100金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=100",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-100"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:redKey",
                                                            "value": "item:redKey+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "绿钥匙200金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=200",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-200"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:greenKey",
                                                            "value": "item:greenKey+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "幸运金币168金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=168",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-168"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:coin",
                                                            "value": "item:coin+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "铁门钥匙255金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=255",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-255"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:steelKey",
                                                            "value": "item:steelKey+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "破墙镐360金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "status:money>=360",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money-360"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:pickaxe",
                                                            "value": "item:pickaxe+1"
                                                        }
                                                    ],
                                                    "false": [
                                                        "金钱不足！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "返回",
                                            "action": [
                                                {
                                                    "type": "break"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "text": "卖出",
                    "action": [
                        {
                            "type": "while",
                            "condition": "1==1",
                            "data": [
                                {
                                    "type": "choices",
                                    "choices": [
                                        {
                                            "text": "黄钥匙10金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:yellowKey>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:yellowKey",
                                                            "value": "item:yellowKey-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+10"
                                                        }
                                                    ],
                                                    "false": [
                                                        "钥匙不够！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "蓝钥匙20金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:blueKey>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:blueKey",
                                                            "value": "item:blueKey-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+20"
                                                        }
                                                    ],
                                                    "false": [
                                                        "钥匙不够！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "红钥匙50金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:redKey>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:redKey",
                                                            "value": "item:redKey-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+50"
                                                        }
                                                    ],
                                                    "false": [
                                                        "钥匙不够！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "绿钥匙100金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:greenKey>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:greenKey",
                                                            "value": "item:greenKey-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+100"
                                                        }
                                                    ],
                                                    "false": [
                                                        "钥匙不够！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "幸运金币84金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:coin>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:coin",
                                                            "value": "item:coin-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+84"
                                                        }
                                                    ],
                                                    "false": [
                                                        "没有幸运金币！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "铁门钥匙127金币",
                                            "action": [
                                                {
                                                    "type": "if",
                                                    "condition": "item:steelKey>=1",
                                                    "true": [
                                                        {
                                                            "type": "setValue",
                                                            "name": "item:steelKey",
                                                            "value": "item:steelKey-1"
                                                        },
                                                        {
                                                            "type": "setValue",
                                                            "name": "status:money",
                                                            "value": "status:money+127"
                                                        }
                                                    ],
                                                    "false": [
                                                        "钥匙不够！"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "text": "返回",
                                            "action": [
                                                {
                                                    "type": "break"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "text": "离开",
                    "action": []
                }
            ]
        }
    ]
},
"changeFloor": {
    "8,2": {
        "floorId": "MT7",
        "stair": "upFloor",
        "direction": "left"
    },
    "2,10": {
        "floorId": "MT9",
        "stair": "downFloor",
        "direction": "right"
    }
},
"afterBattle": {
    "7,9": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "8,9": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "9,9": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "7,10": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "8,10": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "9,10": [
        {
            "type": "if",
            "condition": "(core.status.hero.atk<8)",
            "true": [
                {
                    "type": "lose",
                    "reason": "勇士攻击太低，虚弱死了"
                }
            ],
            "false": []
        }
    ],
    "7,6": [
        {
            "type": "setValue",
            "name": "status:money",
            "value": "0.8 * (status:money + 1)"
        }
    ]
},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"map": [
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4, 33,214, 81, 34,244, 81, 88, 81,221,  4,  4],
    [  4,  4, 34,122,  1, 34,246,  1, 24,  1, 34,  4,  4],
    [  4,  4, 29,308,308,308, 40,308, 86,308, 34,  4,  4],
    [  4,  4,308, 55,219, 34,308,  1,214, 34,308,  4,  4],
    [  4,  4,308,220,  2,207, 55,204,  2,224,308,  4,  4],
    [  4,  4,308, 34,246,  1,308, 34,227, 55,308,  4,  4],
    [  4,  4,  1,308, 86,308,  1,308, 81,308,  1,  4,  4],
    [  4,  4,  1,  1,231,  1,  1,216,216,216,  1,  4,  4],
    [  4,  4, 87,236,209,  1, 84,216,216,216,  1,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4]
],
}