main.floors.MT50=
{
    "floorId": "MT50",
    "title": "魔塔 第50层",
    "name": "第 50 层",
    "width": 13,
    "height": 13,
    "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,  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,  1,  1,  1,  1,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0,123,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0,  0,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0,  0,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  1,  1,  1,  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,  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]
],
    "canFlyTo": false,
    "canFlyFrom": false,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 5,
    "defaultGround": "ground",
    "bgm": null,
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,5": [
            "\t[hero]你怎会在这里！你到底是谁？",
            "\t[小偷,thief]你打败了前${(flag:骷髅队长+flag:吸血鬼+flag:骑士队长+flag:假魔王+flag:黑暗大法师)}个区域的头目 这表明你是个勇士 但现在游戏结束了 我将在这里亲手杀死你",
            {
                "type": "hide",
                "time": 500
            },
            {
                "type": "setBlock",
                "number": "249"
            },
            {
                "type": "show",
                "time": 500
            },
            "\t[hero]啊！你就是魔王！你怎么还活着？",
            "\t[redKing]我是不会死的。以前我只是对你的能力做测试而已。",
            "\t[hero]什么？你这是什么意思？你为什么要做这样的事情？",
            "\t[redKing]神圣剑 是你拥有的武器，智慧权杖 是我所拥有的武器。传说中说过无论谁使用它们都必需要有足够的智慧，且剑只能被真正的战士使用。",
            "\t[hero]如你所说我就是那个战士",
            "\t[redKing]是的，你是最合适的人选。但你刚到魔塔时，你的能力还不足以支配神圣剑。因此我在塔内安排了各类机关，让你通过战斗直到可以控制神圣剑。",
            "\t[redKing]可你却没有通过战斗学会控制神圣剑，它在你手里发挥的力量还不如你刚进塔的时候。",
            "\t[redKing]你到底是怎么获得这么强的力量的？",
            "\t[hero]很好，那么外面传说有一个公主被困在魔塔，就是为了把我骗到这里。是这样的吗？",
            "\t[redKing]是的。现在你的闹剧结束了，赶快把神圣剑给我。",
            "\t[hero]想要就自己来拿啊，你早就知道的。"
        ],
        "11,1": [
            {
                "type": "setValue",
                "name": "flag:Ending",
                "value": "true"
            },
            {
                "type": "setValue",
                "name": "flag:结局名",
                "value": "''"
            },
            {
                "type": "if",
                "condition": "flag:随机模式",
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:结局名",
                        "operator": "+=",
                        "value": "'【随机】'"
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "flag:宝箱",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:结局名",
                                "operator": "+=",
                                "value": "'【经典】'"
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:结局名",
                                "operator": "+=",
                                "value": "'【无随机】'"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "if",
                "condition": "flag:史莱姆桶",
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:结局名",
                        "operator": "+=",
                        "value": "'温馨小窝'"
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:结局名",
                        "operator": "+=",
                        "value": "'战胜魔王'"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:天数",
                "value": "flag:休息次数+1"
            },
            {
                "type": "setValue",
                "name": "flag:结局天数",
                "value": "((Math.ceil(flag:天数/5))*5)"
            },
            {
                "type": "if",
                "condition": "(flag:天数>40)",
                "true": [
                    {
                        "type": "choices",
                        "text": "由于你的天数过多，成绩不会计入排行榜。",
                        "choices": [
                            {
                                "text": "天数榜（最少）",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "40-flag:天数",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "lose",
                                        "reason": "天数榜${flag:结局名}"
                                    }
                                ]
                            },
                            {
                                "text": "生命榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，生命榜'",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "金币榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，金币榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:money",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "攻击榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，攻击榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:atk",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "防御榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，防御榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:def",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "护盾榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，护盾榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:mdef",
                                        "norefresh": true
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "lose",
                        "reason": "${'【'+flag:结局天数+'天】'+flag:结局名}"
                    }
                ],
                "false": [
                    {
                        "type": "choices",
                        "text": "请选择排行榜。\n除了天数以外的排行榜会以每5天为一组分别排序。\n天数榜的分数为40-当前天数。",
                        "choices": [
                            {
                                "text": "天数榜（最少）",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "40-flag:天数",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "win",
                                        "reason": "天数榜${flag:结局名}"
                                    }
                                ]
                            },
                            {
                                "text": "生命榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，生命榜'",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "金币榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，金币榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:money",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "攻击榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，攻击榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:atk",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "防御榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，防御榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:def",
                                        "norefresh": true
                                    }
                                ]
                            },
                            {
                                "text": "护盾榜",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:结局名",
                                        "value": "flag:结局名+'，护盾榜'",
                                        "norefresh": true
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "status:mdef",
                                        "norefresh": true
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "win",
                        "reason": "${flag:结局名+'，'+flag:结局天数+'天'}"
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "afterBattle": {
        "6,5": [
            "\t[魔王,redKing]你是如此的强大…居然能打败我…但是你封印不了我…我还会复活的…哈哈哈哈…",
            {
                "type": "if",
                "condition": "flag:史莱姆桶",
                "true": [
                    {
                        "type": "insert",
                        "loc": [
                            0,
                            0
                        ],
                        "floorId": "EX"
                    }
                ],
                "false": [
                    "\t[hero]打完这场我就回新家结婚了！",
                    "\t[hero]不对，公主是假的，情报有问题。",
                    {
                        "type": "screenFlash",
                        "color": [
                            0,
                            0,
                            0,
                            1
                        ],
                        "time": 100,
                        "times": 2,
                        "moveMode": "random"
                    },
                    {
                        "type": "setCurtain",
                        "color": [
                            0,
                            0,
                            0,
                            0.4
                        ],
                        "time": 0,
                        "keep": true
                    },
                    {
                        "type": "pauseBgm"
                    },
                    {
                        "type": "playSound",
                        "name": "Thunder1.m4a"
                    },
                    {
                        "type": "playBgm",
                        "name": "storm.m4a",
                        "keep": true
                    },
                    {
                        "type": "setWeather",
                        "name": "rain",
                        "level": 5,
                        "keep": true
                    },
                    {
                        "type": "sleep",
                        "time": 1000
                    },
                    {
                        "type": "vibrate",
                        "direction": "horizontal",
                        "time": 10,
                        "speed": 10,
                        "power": 10,
                        "async": true
                    },
                    {
                        "type": "function",
                        "function": "function(){\ncore.status.textAttribute.time = 20\n}"
                    },
                    "\t[hero]\\c[20]当勇者好难啊——",
                    {
                        "type": "waitAsync"
                    }
                ]
            },
            {
                "type": "insert",
                "loc": [
                    11,
                    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": [

],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}