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,330,  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]
],
    "can": false,
    "canFlyFrom": false,
    "canUseQuickShop": false,
    "images": [],
    "ratio": 5,
    "defaultGround": "ground",
    "bgm": null,
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,5": [
            "\t[hero]你怎会在这里！你到底是谁？",
            "\t[小偷,thief]我在这里只有一个理由，那就是…",
            {
                "type": "hide",
                "time": 500
            },
            {
                "type": "function",
                "function": "function(){core.setBlock(core.getFlag('50FBOSSNAME'),6,5);}"
            },
            {
                "type": "show",
                "time": 500
            },
            "\t[hero]啊！你怎么是${flag:50FBOSSCNAME}！你怎么还活着？",
            "\t[魔王,swordEmperor]我是不会死的。以前我只是对你的能力做测试而已。",
            "\t[hero]什么？你这是什么意思？你为什么要做这样的事情？",
            "\t[魔王,swordEmperor]神圣剑 是你拥有的武器，智慧权杖 是我所拥有的武器。传说中说过无论谁使用它们都必需要有足够的智慧，且剑只能被真正的战士使用。",
            "\t[hero]如你所说我就是那个战士",
            "\t[魔王,swordEmperor]是的，你是最合适的人选。但你刚到魔塔时，你的能力还不足以支配神圣剑。因此我在塔内安排了各类机关，让你通过战斗直到可以控制神圣剑。",
            "\t[hero]很好，那么外面传说有一个公主被困在魔塔，就是为了把我骗到这里。是这样的吗？",
            "\t[魔王,swordEmperor]是的。现在如果我们能够合作那么闹剧就结束了。现在让我们一起用权杖破坏神圣剑，这样伟大的时代就要降临了。",
            "\t[hero]我不会让你毁了神圣剑, 让黑暗降临的。",
            {
                "type": "function",
                "function": "function(){core.setEnemy('swordEmperor', 'special', [28]);core.setEnemy('swordEmperor', 'notBomb', true);}",
                "time": 500
            },
            {
                "type": "if",
                "condition": "flag:peFlag == 1",
                "true": [
                    {
                        "type": "sleep",
                        "time": 200
                    },
                    "\t已满足完美结局条件，请击败魔王吧。",
                    {
                        "type": "sleep",
                        "time": 200
                    },
                    "\t[魔王,swordEmperor]哈哈！那就手底下见真章吧！！",
                    {
                        "type": "function",
                        "function": "function(){if(core.hasFlag('peFlag')){core.addFlag('peFlag', 1);}}"
                    }
                ]
            },
            {
                "type": "if",
                "condition": "!core.canBattle('swordEmperor')&&flag:superHard!=1",
                "true": [
                    "\t[魔王,swordEmperor]不堪一击！",
                    {
                        "type": "win",
                        "reason": "生命值 战败 ${flag:gameName} 简单"
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "6,7": {
            "floorId": ":before",
            "stair": "upFloor"
        }
    },
    "afterBattle": {
        "6,5": [
            {
                "type": "if",
                "condition": "flag:peFlag == 2",
                "true": [
                    "\t[魔王,swordEmperor]恭喜你，达成完美结局！",
                    "【积分】<${status:hp}>",
                    {
                        "type": "setValue",
                        "name": "status:hp",
                        "value": "status:hp"
                    },
                    {
                        "type": "win",
                        "reason": "PE 生命值 ${flag:gameName}"
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "item:downFly>=111 && (item:pickaxe>=111 || item:earthquake>=111)",
                        "true": [
                            "\t[魔王,swordEmperor]你是如此的强大…居然能封印我…一切都结束了(呜呜呜呜)…",
                            {
                                "type": "choices",
                                "text": "\r[lime]恭喜勇士通关TE结局！\r\n请选择榜单",
                                "choices": [
                                    {
                                        "text": "【生命值】<${status:hp}>",
                                        "action": [
                                            {
                                                "type": "win",
                                                "reason": "TE 生命值 ${flag:gameName}"
                                            }
                                        ]
                                    },
                                    {
                                        "text": "【攻击】<${status:atk}>",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:atk"
                                            },
                                            {
                                                "type": "win",
                                                "reason": "TE 攻击 ${flag:gameName}"
                                            }
                                        ]
                                    },
                                    {
                                        "text": "【防御】<${status:def}>",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:def"
                                            },
                                            {
                                                "type": "win",
                                                "reason": "TE 防御 ${flag:gameName}"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "false": [
                            "\t[魔王,swordEmperor]你是如此的强大…居然能打败我…但是你封印不了我…作者还会让我继续复活打工的…哈哈哈哈(呜呜呜呜)…",
                            {
                                "type": "choices",
                                "text": "\r[lime]恭喜勇士通关NE结局！\r\n请选择榜单",
                                "choices": [
                                    {
                                        "text": "【生命值】<${status:hp}>",
                                        "action": [
                                            {
                                                "type": "win",
                                                "reason": "生命值 ${flag:gameName} ${flag:superHard==1?'普通':'简单'}"
                                            }
                                        ]
                                    },
                                    {
                                        "text": "【攻防合计：】<${status:atk*2+status:def}>",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:atk*2+status:def"
                                            },
                                            {
                                                "type": "win",
                                                "reason": "攻防合计(攻*2+防)${flag:gameName} ${flag:superHard==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": {},
    "bg2map": [],
    "fg2map": []
}