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,247,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,226,  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": [
        {
            "type": "if",
            "condition": "(flag:24to50!=1)",
            "true": [
                {
                    "type": "if",
                    "condition": "(flag:bmStatus=='countered')",
                    "true": [
                        {
                            "type": "show",
                            "loc": [
                                [
                                    5,
                                    5
                                ]
                            ],
                            "time": 500
                        },
                        "\t[魔王,redKing]你怎么还活着？",
                        "\t[大法师,blackMagician]你没资格听我的解释",
                        {
                            "type": "setBlock",
                            "number": "249",
                            "loc": [
                                [
                                    6,
                                    5
                                ]
                            ],
                            "time": 500
                        },
                        "\t[魔王,redKing]什么…我居然被封印了…啊…",
                        {
                            "type": "animate",
                            "name": "zone",
                            "loc": [
                                6,
                                5
                            ]
                        },
                        {
                            "type": "setBlock",
                            "number": "redGem",
                            "loc": [
                                [
                                    6,
                                    5
                                ]
                            ],
                            "time": 500
                        },
                        {
                            "type": "sleep",
                            "time": 200
                        },
                        {
                            "type": "switch",
                            "condition": "flag:neMode",
                            "caseList": [
                                {
                                    "case": "'hasty'",
                                    "action": [
                                        {
                                            "type": "comment",
                                            "text": "当判别值是值的场合执行此事件"
                                        },
                                        "\t[红宝石,redGem]你好像被关得太久了啊 构筑的术式确实很精致 也能确实地把我封印掉 可惜智慧权杖在我手里 这样一些本来没问题的地方就成破绽了 例如...",
                                        {
                                            "type": "setBlock",
                                            "number": "249",
                                            "loc": [
                                                [
                                                    6,
                                                    5
                                                ]
                                            ],
                                            "time": 500
                                        },
                                        "\t[魔王,redKing]这里"
                                    ]
                                },
                                {
                                    "case": "'prepared'",
                                    "action": [
                                        {
                                            "type": "comment",
                                            "text": "当判别值是值的场合执行此事件"
                                        },
                                        "\t[红宝石,redGem]不愧是智慧权杖的原主人 构筑的术式确实滴水不漏 也能确实地把我封印掉 可惜...让我事先见过了",
                                        {
                                            "type": "setBlock",
                                            "number": "249",
                                            "loc": [
                                                [
                                                    6,
                                                    5
                                                ]
                                            ],
                                            "time": 500
                                        },
                                        "\t[hero](难道是骑士队长那时候？)"
                                    ]
                                }
                            ]
                        },
                        "\t[大法师,blackMagician]可恶...",
                        {
                            "type": "sleep",
                            "time": 500
                        },
                        {
                            "type": "playSound",
                            "name": "attack.mp3"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.drawImage(\"animate\", core.statusBar.icons.battle, 0, 0, 32, 32, (5 - 1) * 32, (5 - 1) * 32, 32, 32);\nsetTimeout(function () {\n\tcore.clearMap(\"animate\", (5 - 1) * 32, (5 - 1) * 32, 32, 32);\n}, 100);\n}"
                        },
                        {
                            "type": "hide",
                            "loc": [
                                [
                                    5,
                                    5
                                ]
                            ],
                            "remove": true,
                            "time": 500
                        },
                        {
                            "type": "setBlock",
                            "number": "23",
                            "loc": [
                                [
                                    5,
                                    5
                                ]
                            ],
                            "floorId": "MT50"
                        },
                        {
                            "type": "setBlock",
                            "number": "23",
                            "loc": [
                                [
                                    5,
                                    6
                                ]
                            ],
                            "floorId": "MT50"
                        },
                        {
                            "type": "setBlock",
                            "number": "23",
                            "loc": [
                                [
                                    7,
                                    5
                                ]
                            ],
                            "floorId": "MT50"
                        },
                        {
                            "type": "setBlock",
                            "number": "23",
                            "loc": [
                                [
                                    7,
                                    6
                                ]
                            ],
                            "floorId": "MT50"
                        },
                        "\t[魔王,redKing]原来你在啊 还是走个流程吧",
                        {
                            "type": "setBlock",
                            "number": "thief",
                            "loc": [
                                [
                                    6,
                                    5
                                ]
                            ],
                            "time": 500
                        }
                    ]
                }
            ]
        }
    ],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,5": [
            "\t[hero]你怎会在这里！你到底是谁？",
            "\t[小偷,thief]我在这里只有一个理由，那就是…",
            {
                "type": "hide",
                "time": 500
            },
            {
                "type": "if",
                "condition": "(flag:trueEndDialogue==1)",
                "true": [
                    {
                        "type": "setBlock",
                        "number": "blackMagician"
                    },
                    {
                        "type": "show",
                        "time": 500
                    },
                    "\t[hero]你是塔里的人和怪物变成宝石的凶手。你怎么还活着？",
                    "\t[大法师,blackMagician]神圣剑 是你拥有的武器，智慧权杖 是我所拥有的武器。传说中说过无论谁使用它们都必需要有足够的智慧，且剑只能被真正的战士使用。",
                    "\t[hero]如你所说我就是那个战士",
                    "\t[大法师,blackMagician]是的，你是最合适的人选。但你刚到魔塔时，你的能力还不足以支配神圣剑。因此魔王在塔内安排了各类机关，让你通过战斗直到可以控制神圣剑。你再抓紧神圣剑盾感受一下。",
                    "你感受到神圣剑和神圣盾在发挥力量！",
                    {
                        "type": "setValue",
                        "name": "status:atk",
                        "operator": "+=",
                        "value": "90"
                    },
                    {
                        "type": "setValue",
                        "name": "status:def",
                        "operator": "+=",
                        "value": "90"
                    },
                    "\t[hero]很好，那么外面传说有一个公主被困在魔塔，就是为了把我骗到这里。是这样的吗？",
                    "\t[大法师,blackMagician]我想也是。但我可没打算征服世界，我只是想拿回自己的权杖和魔塔而已。我不会与你为敌的。",
                    "\t[hero]但你好像还没提到宝石诅咒的事，还有你怎么还活着的",
                    "\t[大法师,blackMagician]你不是已经猜到了吗？魔王带着一批手下攻进来，抢了我的权杖还把我囚禁在25楼。魔王就算是用神圣剑也杀不死，我为了将他彻底消灭布置了这个魔咒。小偷原本是魔王的投影，为了防止事情败露我把它拦截了下来，然后替换成我的投影。",
                    "\t[？？？,grayWall]原来如此。但是这计划还是有一个漏洞，",
                    {
                        "type": "sleep",
                        "time": 500
                    },
                    {
                        "type": "show",
                        "loc": [
                            [
                                6,
                                7
                            ]
                        ],
                        "time": 500
                    },
                    "\t[骑士队长,yellowKnight]如果魔王亲自带领魔法警卫抓人却发现带了一批蓝宝石那就功亏一篑了。",
                    "\t[大法师,blackMagician]确实 当初在3楼魔王来抓战士的时候差点就结束了。幸好当时术式还没构筑完全，还没开始影响魔法警卫。至于战士你则是拜神圣盾的潜能所赐没有受影响。真不愧是传说中的宝物，就连塔内的贪婪之神们感受到我的魔咒都仓皇逃去了。",
                    "\t[hero]即便如此在49楼还是藏不住了",
                    "\t[大法师,blackMagician]但那时我的术式已经快完成了。事实上我前脚刚检查完构筑你就来了25楼找我，还想跟我说话，生怕魔王没联想到我那里去。我原本以为要交代了，没想到你正好带上了跃进之翼和降临之翼，于是我假装被你打死，利用你的两片羽翼躲进时空的夹缝来偷袭他。",
                    "\t[骑士队长,yellowKnight]这样一切都水落石出了",
                    "\t[hero]你要为你的兄弟们报仇吗？",
                    "\t[骑士队长,yellowKnight]不需要了，我只是想感谢你查明真相而已，这证明你是个智勇双全的真正勇士。但是我还有一个请求，",
                    "\t[骑士队长,yellowKnight]就当是完成可怜的光棍队长的遗愿...",
                    {
                        "type": "setEnemyOnPoint",
                        "loc": [
                            [
                                6,
                                7
                            ]
                        ],
                        "name": "atk",
                        "value": "900"
                    },
                    {
                        "type": "setEnemyOnPoint",
                        "loc": [
                            [
                                6,
                                7
                            ]
                        ],
                        "name": "def",
                        "value": "300"
                    },
                    {
                        "type": "setEnemyOnPoint",
                        "loc": [
                            [
                                6,
                                7
                            ]
                        ],
                        "name": "hp",
                        "value": "10000"
                    },
                    "\t[骑士队长,yellowKnight]我要跟你正式的决斗！",
                    "\t[大法师,blackMagician]那么我该是时候退场了 之后我会把两位送回去的",
                    {
                        "type": "hide",
                        "loc": [
                            [
                                6,
                                5
                            ]
                        ],
                        "remove": true,
                        "time": 500
                    },
                    "\t[骑士队长,yellowKnight]要上了，勇士！"
                ],
                "false": [
                    {
                        "type": "setBlock",
                        "number": "249"
                    },
                    {
                        "type": "show",
                        "time": 500
                    },
                    "\t[hero]啊！你就是魔王！你怎么还活着？",
                    "\t[redKing]我是不会死的。以前我只是对你的能力做测试而已。",
                    "\t[hero]什么？你这是什么意思？你为什么要做这样的事情？",
                    "\t[redKing]神圣剑 是你拥有的武器，智慧权杖 是我所拥有的武器。传说中说过无论谁使用它们都必需要有足够的智慧，且剑只能被真正的战士使用。",
                    "\t[hero]如你所说我就是那个战士",
                    "\t[redKing]是的，你是最合适的人选。但你刚到魔塔时，你的能力还不足以支配神圣剑。因此我在塔内安排了各类机关，让你通过战斗直到可以控制神圣剑。",
                    "\t[hero]很好，那么外面传说有一个公主被困在魔塔，就是为了把我骗到这里。是这样的吗？",
                    "\t[redKing]是的。现在如果我们能够合作那么闹剧就结束了。现在让我们一起用权杖破坏神圣剑，这样伟大的时代就要降临了。",
                    "\t[hero]我不会让你毁了神圣剑, 让黑暗降临的。"
                ]
            }
        ],
        "6,7": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "5,5": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        }
    },
    "changeFloor": {},
    "afterBattle": {
        "6,5": [
            {
                "type": "if",
                "condition": "flag:addhp",
                "true": [
                    {
                        "type": "win",
                        "reason": "通关疯狂加血版魔塔"
                    }
                ],
                "false": [
                    "\t[魔王,redKing]你是如此的强大…居然能打败我…但是你封印不了我…我还会复活的…哈哈哈哈…",
                    {
                        "type": "if",
                        "condition": "(flag:end==1)",
                        "true": [
                            {
                                "type": "win",
                                "reason": "Normal End"
                            }
                        ],
                        "false": [
                            {
                                "type": "win",
                                "reason": "Normal End（不穿墙通关）"
                            }
                        ]
                    }
                ]
            }
        ],
        "6,7": [
            "\t[骑士队长,yellowKnight]谢谢...你...勇...士...",
            {
                "type": "if",
                "condition": "flag:addhp",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:end==1)",
                        "true": [
                            {
                                "type": "win",
                                "reason": "True End"
                            }
                        ],
                        "false": [
                            {
                                "type": "win",
                                "reason": "True End（不穿墙通关）"
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "(flag:end==1)",
                        "true": [
                            {
                                "type": "win",
                                "reason": "True End（不疯狂加血版）"
                            }
                        ],
                        "false": [
                            {
                                "type": "win",
                                "reason": "True End（不疯狂加血版）（不穿墙通关）"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "afterGetItem": {
        "6,6": [
            "\t[hero]啊？"
        ]
    },
    "afterOpenDoor": {},
    "cannotMove": {},
    "bgmap": [

],
    "fgmap": [

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