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,347,  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": "finalboss.mp3",
    "firstArrive": [
        {
            "type": "playBgm",
            "name": "finalboss.mp3"
        },
        {
            "type": "setValue",
            "name": "flag:495",
            "value": "0"
        },
        {
            "type": "function",
            "function": "function(){\nif (!core.hasFlag('495')) {\n\tcore.setEnemy('swordEmperor', 'hp', 2200)\n\tcore.setEnemy('swordEmperor', 'atk', 900)\n\tcore.setEnemy('swordEmperor', 'def', 90)\n}\n}"
        }
    ],
    "eachArrive": [
        {
            "type": "playBgm",
            "name": "finalboss.mp3",
            "keep": true
        },
        {
            "type": "if",
            "condition": "flag:495",
            "true": [
                {
                    "type": "function",
                    "function": "function(){\nif (core.hasFlag('495')) {\n\tcore.setEnemy('swordEmperor', 'hp', 800)\n\tcore.setEnemy('swordEmperor', 'atk', 500)\n\tcore.setEnemy('swordEmperor', 'def', 100)\n}\n}"
                },
                {
                    "type": "setCurtain",
                    "time": 500
                },
                "\t[redKing]你怎么打一半就又跑回……",
                "\t[redKing]嗯……五点封印…？",
                "\t[redKing]这样啊…真的对你有些刮目相看了呢。"
            ]
        }
    ],
    "parallelDo": "",
    "events": {
        "6,5": [
            "\t[hero]这里就是塔顶了？",
            "\t[redKing]嗯，对哦。很漂亮吧？",
            {
                "type": "setBlock",
                "number": "249"
            },
            {
                "type": "playBgm",
                "name": "Conversation.mp3",
                "keep": true
            },
            {
                "type": "sleep",
                "time": 500
            },
            "\t[redKing]恭喜你能闯到塔顶…这就是试炼的最后啦。",
            "\t[redKing]魔法警卫们都说你实力差又爱吹牛，但其实我不这么认为哦。",
            "\t[hero]突然说这话干什么…你这是什么意思……？",
            "\t[redKing]意思是说我很喜…欣赏你哦。",
            "\t[redKing]你可是全魔塔里唯一一个有战斗类特殊属性的，甚至是唯一一个有能力给予属下特殊属性的头目。这样的才能，除了你以外谁都没有哦。",
            "\t[hero]……那我的基础属性呢？全骑士团的三围就数我最低了—",
            {
                "type": "playSound",
                "name": "attack.mp3"
            },
            {
                "type": "playSound",
                "name": "kiang.mp3"
            },
            "\t[hero]—呱！",
            "\t[redKing]笨狗，一直在意你那个破数值干什么。",
            "\t[redKing]区区属性而已，数值怪我们要多少有多少，可能辅助的就你一个呀。",
            "\t[hero]诶…那这次的试炼是为了什么……？",
            "\t[redKing]让魔法警卫们可以对你服气点，顺便给你长点自信，何乐而不为呢？",
            "\t[redKing]还有，天天听自己的手下乳我自己选的首领，总还是有点掉面子的嘛。",
            "\t[hero]唔…谢谢您……（///）",
            "\t[redKing]我相信你会得到认可的。毕竟，你可是受大家宠爱的骑士队长啊。",
            "\t[redKing]（进一步的情感……就等到她能够打败用出全力的我再说吧……）",
            "\t[redKing]咳咳……闲话有点说的太多了呢。为这次试炼好好收个尾吧。"
        ]
    },
    "changeFloor": {},
    "afterBattle": {
        "6,5": [
            {
                "type": "if",
                "condition": "flag:495",
                "true": [
                    {
                        "type": "setBlock",
                        "number": "redKingNPC"
                    },
                    {
                        "type": "animate",
                        "name": "zone",
                        "loc": [
                            6,
                            5
                        ]
                    },
                    "\t[redKing]原来如此……是这个思路啊。",
                    "\t[redKing]难怪留下了5区的boss挑战…你的思维，感觉不在大法师老师之下呢……",
                    "\t[redKing]这样啊…这样啊……真的太好了。",
                    "\t[hero]如何呢，魔王！这次算我赢了吧？",
                    {
                        "type": "playSound",
                        "name": "insta.wav"
                    },
                    {
                        "type": "animate",
                        "name": "hand",
                        "loc": [
                            6,
                            6
                        ]
                    },
                    {
                        "type": "pauseBgm"
                    },
                    {
                        "type": "setHeroIcon",
                        "name": "miya.png"
                    },
                    {
                        "type": "playSound",
                        "name": "kiang.mp3"
                    },
                    "\t[hero]呜呀？！突然抱我干什么？！！",
                    {
                        "type": "playBgm",
                        "name": "Conversation.mp3",
                        "keep": true
                    },
                    "\t[redKing]你这次…真的证明了自己呢。",
                    "\t[redKing]…思维敏锐、天赋独特、还这么可爱……呼呼，我知道为什么骑士团这么爱戴你了。",
                    "\t[hero]说说说说什么呢？！我，我明明是会临阵脱逃的，会让部下一拥而上的胆小鬼……",
                    "\t[redKing]对付入侵者，怎么做都是应当的啦。",
                    "\t[redKing]真的对你有点刮目相看了哦。虽然知道你多少有些实力，配得上骑士队长这个位置，但没想到能到这个程度，真让人惊喜啊~",
                    "\t[redKing]……撤回前言，我现在不欣赏你了。",
                    {
                        "type": "pauseBgm"
                    },
                    "\t[hero]…诶？",
                    {
                        "type": "playBgm",
                        "name": "ending.mp3",
                        "keep": true
                    },
                    "\t[redKing]因为啊，现在我很喜欢你哦。最喜欢了！",
                    {
                        "type": "playSound",
                        "name": "cut-hit.wav"
                    },
                    "\t[hero]呜？！",
                    "\t[redKing]虽然借助了封印，但能打败全力以赴的我，有些勇者可都做不到这个程度……呐，想考虑一下5区的首领吗？",
                    {
                        "type": "setCurtain",
                        "color": [
                            0,
                            0,
                            0,
                            1
                        ],
                        "time": 500,
                        "keep": true
                    },
                    "就这样，骑士队长成功打败了完全体的魔王，不仅免遭了被出外勤的命运，最近听说还十分幸运地得到了魔王的亲自指导（意味深），真是可喜可贺，可喜可贺。",
                    "\t[redKing]可喜可贺可喜可贺wwww",
                    {
                        "type": "playSound",
                        "name": "kiang.mp3"
                    },
                    "\t[hero]（//////）——！",
                    {
                        "type": "win",
                        "reason": "GE：封印（？）魔王",
                        "noexit": 1
                    }
                ],
                "false": [
                    {
                        "type": "setBlock",
                        "number": "redKingNPC"
                    },
                    {
                        "type": "animate",
                        "name": "zone",
                        "loc": [
                            6,
                            5
                        ]
                    },
                    "\t[redKing]……喔，很不错呀很不错。我就说你很有天赋！这下魔法师们应该也能安静点了。",
                    "\t[hero]……呃，魔王？",
                    "\t[redKing]……诶，怎么啦？",
                    "\t[hero]你…是不是放水了？",
                    "\t[redKing]（吓我一跳……）…你又没神圣剑，我干嘛要动用全力对付你啊。",
                    "\t[redKing]再说了，只是没用智慧权杖而已，能够击败这个状态的我，你们这次真的做的很好哦。",
                    "\t[redKing]好啦，你已经通过试炼咯，该为你自己而自豪了，对吧，“实力强大又谦虚”的骑士队长？",
                    {
                        "type": "playSound",
                        "name": "cut-hit.wav"
                    },
                    "\t[hero]…咕，别这么说啊。",
                    {
                        "type": "setCurtain",
                        "color": [
                            0,
                            0,
                            0,
                            1
                        ],
                        "time": 500,
                        "keep": true
                    },
                    {
                        "type": "playBgm",
                        "name": "ending.mp3",
                        "keep": true
                    },
                    "就这样，骑士队长成功打败了魔王，免遭了被出外勤的命运，真是可喜可贺，可喜可贺。",
                    {
                        "type": "win",
                        "reason": "NE：打败魔王",
                        "noexit": 1
                    }
                ]
            },
            {
                "type": "changeFloor",
                "floorId": "End",
                "loc": [
                    10,
                    11
                ],
                "direction": "left"
            },
            {
                "type": "setCurtain",
                "time": 500
            }
        ]
    },
    "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": {}
}