main.floors.MT0=
{
"floorId": "MT0",
"title": "主塔 0 层",
"name": "0",
"canFlyTo": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"defaultGround": "ground",
"images": [],
"item_ratio": 1,
"map": [
    [  1,  1,  1,  1,  1,  1, 87,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1, 34,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1, 30,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,209,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1, 45,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,121,  0,  1,  1,  1,  1,  1]
],
"firstArrive": [
    {
        "type": "setValue",
        "name": "status:hr",
        "value": "80"
    },
    {
        "type": "setValue",
        "name": "status:ar",
        "value": "3"
    },
    {
        "type": "setValue",
        "name": "status:dr",
        "value": "4"
    },
    {
        "type": "setValue",
        "name": "status:mr",
        "value": "12"
    }
],
"events": {
    "6,11": null,
    "6,12": [
        {
            "type": "if",
            "condition": "flag:man_times==0",
            "true": [
                "\t[老人,man]你好！在这座魔塔里，你要通过转化能力来提高你的能力值！",
                "\t[老人,man]W键控制你的能力！\n或者到我这里来转化能力！ \n使用快捷商店图标也行！",
                "\t[老人,man]注意只能从上级能力往下转化！",
                "\t[老人,man]每次转化后，都必须进行一次行动才能下一次转化（开门，吃道具，打怪皆可）",
                "\t[老人,man]转化会消耗经验",
                "\t[老人,man]拿取宝石时不仅增加能力，还会给增加该能力的比例！",
                "\t[老人,man]喝血瓶时不仅加血，还会给增加血量占比！",
                "\t[老人,man]黄宝石增加经验！",
                "\t[老人,man]状态栏最下面一行是转化时\n血量 : 攻击 : 防御 : 魔防！",
                "\t[老人,man]祝你玩的开心！",
                {
                    "type": "setValue",
                    "name": "flag:cbt",
                    "value": "true"
                },
                "（现在已经可以转化了）",
                {
                    "type": "openDoor",
                    "loc": [
                        7,
                        11
                    ]
                }
            ],
            "false": [
                {
                    "type": "if",
                    "condition": "flag:cbt",
                    "true": [
                        {
                            "type": "choices",
                            "choices": [
                                {
                                    "text": "血量→攻击",
                                    "action": [
                                        {
                                            "type": "input",
                                            "text": "请输入你要转化的次数："
                                        },
                                        {
                                            "type": "if",
                                            "condition": "flag:input>0",
                                            "true": [
                                                {
                                                    "type": "if",
                                                    "condition": "flag:input<=status:experience",
                                                    "true": [
                                                        {
                                                            "type": "if",
                                                            "condition": "status:hp>(flag:input)*(status:hr)",
                                                            "true": [
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:hp",
                                                                    "value": "status:hp-(flag:input)*(status:hr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:atk",
                                                                    "value": "status:atk+(flag:input)*(status:ar)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:experience",
                                                                    "value": "status:experience-flag:input"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "flag:cbt",
                                                                    "value": "false"
                                                                }
                                                            ],
                                                            "false": [
                                                                "没那么多血量！"
                                                            ]
                                                        }
                                                    ],
                                                    "false": [
                                                        "经验不足！"
                                                    ]
                                                }
                                            ],
                                            "false": []
                                        }
                                    ]
                                },
                                {
                                    "text": "攻击→防御",
                                    "action": [
                                        {
                                            "type": "input",
                                            "text": "请输入你要转化的次数："
                                        },
                                        {
                                            "type": "if",
                                            "condition": "flag:input>0",
                                            "true": [
                                                {
                                                    "type": "if",
                                                    "condition": "flag:input<=status:experience",
                                                    "true": [
                                                        {
                                                            "type": "if",
                                                            "condition": "status:atk>=(flag:input)*(status:ar)",
                                                            "true": [
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:atk",
                                                                    "value": "status:atk-(flag:input)*(status:ar)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:def",
                                                                    "value": "status:def+(flag:input)*(status:dr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:experience",
                                                                    "value": "status:experience-flag:input"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "flag:cbt",
                                                                    "value": "false"
                                                                }
                                                            ],
                                                            "false": [
                                                                "没那么多攻击！"
                                                            ]
                                                        }
                                                    ],
                                                    "false": [
                                                        "经验不足！"
                                                    ]
                                                }
                                            ],
                                            "false": []
                                        }
                                    ]
                                },
                                {
                                    "text": "防御→魔防",
                                    "action": [
                                        {
                                            "type": "input",
                                            "text": "请输入你要转化的次数："
                                        },
                                        {
                                            "type": "if",
                                            "condition": "flag:input>0",
                                            "true": [
                                                {
                                                    "type": "if",
                                                    "condition": "flag:input<=status:experience",
                                                    "true": [
                                                        {
                                                            "type": "if",
                                                            "condition": "status:hp>=(flag:input)*(flag:dr)",
                                                            "true": [
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:def",
                                                                    "value": "status:def-(flag:input)*(status:dr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:mdef",
                                                                    "value": "status:mdef+(flag:input)*(status:mr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:experience",
                                                                    "value": "status:experience-flag:input"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "flag:cbt",
                                                                    "value": "false"
                                                                }
                                                            ],
                                                            "false": [
                                                                "没那么多防御！"
                                                            ]
                                                        }
                                                    ],
                                                    "false": [
                                                        "经验不足！"
                                                    ]
                                                }
                                            ],
                                            "false": []
                                        }
                                    ]
                                },
                                {
                                    "text": "魔防→血量",
                                    "action": [
                                        {
                                            "type": "input",
                                            "text": "请输入你要转化的次数："
                                        },
                                        {
                                            "type": "if",
                                            "condition": "flag:input>0",
                                            "true": [
                                                {
                                                    "type": "if",
                                                    "condition": "flag:input<=status:experience",
                                                    "true": [
                                                        {
                                                            "type": "if",
                                                            "condition": "status:mdef>=(flag:input)*(status:mr)",
                                                            "true": [
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:mdef",
                                                                    "value": "status:mdef-(flag:input)*(status:mr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:hp",
                                                                    "value": "status:hp+(flag:input)*(status:hr)"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "status:experience",
                                                                    "value": "status:experience-flag:input"
                                                                },
                                                                {
                                                                    "type": "setValue",
                                                                    "name": "flag:cbt",
                                                                    "value": "false"
                                                                }
                                                            ],
                                                            "false": [
                                                                "没那么多魔防！"
                                                            ]
                                                        }
                                                    ],
                                                    "false": [
                                                        "经验不足！"
                                                    ]
                                                }
                                            ],
                                            "false": []
                                        }
                                    ]
                                },
                                {
                                    "text": "退出",
                                    "action": [
                                        {
                                            "type": "exit"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "false": [
                        "现在还不能转化！"
                    ]
                }
            ]
        },
        {
            "type": "setValue",
            "name": "flag:man_times",
            "value": "flag:man_times+1"
        }
    ]
},
"changeFloor": {
    "6,0": {
        "floorId": "MT1",
        "stair": "downFloor"
    }
},
"afterBattle": {
    "6,6": [
        {
            "type": "setValue",
            "name": "flag:cbt",
            "value": "true"
        }
    ]
},
"afterGetItem": {
    "6,8": [
        {
            "type": "setValue",
            "name": "flag:cbt",
            "value": "true"
        }
    ],
    "6,4": [
        {
            "type": "setValue",
            "name": "flag:cbt",
            "value": "true"
        }
    ],
    "6,2": [
        {
            "type": "setValue",
            "name": "status:hr",
            "value": "status:hr+5"
        },
        {
            "type": "setValue",
            "name": "flag:cbt",
            "value": "true"
        }
    ]
},
"afterOpenDoor": {},
"cannotMove": {},
"upFloor": null,
}