main.floors.MT49=
{
    "floorId": "MT49",
    "title": "魔塔 第49层",
    "name": "第 49 层",
    "width": 13,
    "height": 13,
    "map": [
    [330,330,330,330,330,330,330,330,330,330,330,330,330],
    [330,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1,  1,330],
    [330,  1,  1,  0,  0,  0,  0,  0,  0,  0,  1,  1,330],
    [330,  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1,330],
    [330,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,330],
    [330,  0,  1,  0,  0,  0,  0,  0,  0,  0,  1,  0,330],
    [330,  0,  1,  0,  0,  0,  0,  0,  0,  0,  1,  0,330],
    [330,  0,  1,  0,  1,  1, 85,  1,  1,  0,  1,  0,330],
    [330,  0,  1,  0,  1,228,  0,228,  1,  0,  1,  0,330],
    [330,  0,  0,  0,  1,  1, 85,  1,  1,  0,  0,  0,330],
    [330,  1,  1,  1,  1,220,  0,220,  1,  1,  1,  1,330],
    [330, 88,  0, 83,  0,  0,  0,  0,  0,  0,  0,  0,330],
    [330,330,330,330,330,330,330,330,330,330,330,330,330]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 5,
    "defaultGround": "ground",
    "bgm": "section5.mp3",
    "firstArrive": [
        {
            "type": "setValue",
            "name": "item:spirit",
            "operator": "+=",
            "value": "5"
        },
        {
            "type": "if",
            "condition": "(core.itemCount('spirit')>=5*core.getFlag('lvl',0)+45)",
            "true": [
                {
                    "type": "setValue",
                    "name": "item:spirit",
                    "value": "5*core.getFlag('lvl',0)+45"
                }
            ]
        }
    ],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,6": [
            {
                "type": "if",
                "condition": "(core.getBlockId(6,7)=='specialDoor')",
                "true": [],
                "false": [
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            6,
                            7
                        ]
                    }
                ]
            },
            {
                "type": "setBlock",
                "number": "redKing",
                "loc": [
                    [
                        6,
                        3
                    ]
                ],
                "time": 500
            },
            "\t[夏亚,redKing]你终于来了。在这个世界的魔法帮助下，沙扎比的整备已经完成了。在上个世界没能酣畅淋漓进行过的决斗，就让我们在这里结束吧。",
            {
                "type": "setBlock",
                "number": "whiteKing",
                "loc": [
                    [
                        5,
                        2
                    ],
                    [
                        6,
                        2
                    ],
                    [
                        7,
                        2
                    ],
                    [
                        5,
                        3
                    ],
                    [
                        7,
                        3
                    ],
                    [
                        5,
                        4
                    ],
                    [
                        6,
                        4
                    ],
                    [
                        7,
                        4
                    ]
                ],
                "time": 500
            },
            "\t[hero]不可能！夏亚那台机动战士的出力怎么会如此强大？",
            {
                "type": "switch",
                "condition": "core.getFlag('1p',0)",
                "caseList": [
                    {
                        "case": "1",
                        "action": [
                            "\t[使魔小黑]正树，注意夏亚身边的那些法师，是他们在向夏亚提供能量。先破坏那个供能的法阵！"
                        ]
                    },
                    {
                        "case": "2",
                        "action": [
                            "\t[hero]我的直觉能感知到，是周围那些法师在向夏亚提供能量。那就先破坏那个供能的法阵！"
                        ]
                    },
                    {
                        "case": "3",
                        "action": [
                            "\t[hero]不管那么多了，就算打不过夏亚，也能先干掉周围的那些法师，然后再想办法！"
                        ]
                    },
                    {
                        "case": "4",
                        "action": [
                            "\t[hero]盖塔线在指引我攻击那些法师……那就上吧！"
                        ]
                    }
                ]
            },
            {
                "type": "playBgm",
                "name": "boss.mp3"
            },
            {
                "type": "hide",
                "remove": true,
                "time": 0
            }
        ]
    },
    "changeFloor": {
        "1,11": {
            "floorId": ":before",
            "stair": "upFloor"
        }
    },
    "afterBattle": {
        "5,10": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            9
                        ]
                    },
                    {
                        "type": "hide",
                        "time": 0
                    }
                ]
            }
        ],
        "7,10": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 10],\n\t[7, 10],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            9
                        ]
                    },
                    {
                        "type": "hide",
                        "time": 0
                    }
                ]
            }
        ],
        "7,8": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            7
                        ]
                    },
                    {
                        "type": "hide",
                        "time": 0
                    }
                ]
            }
        ],
        "6,4": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[6, 4],\n\t[5, 3],\n\t[7, 3],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nvar loc_arr = [\n\t[5, 2],\n\t[7, 2],\n\t[5, 4],\n\t[7, 4],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) != \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "atk",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "def",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "hp",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "update"
                    },
                    "\t[夏亚,redKing]沙扎比的供能被阻断了？有一套。\n但是，就算只有一成的出力也没事。机动战士可不只是好看的而已！"
                ]
            }
        ],
        "5,3": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[6, 4],\n\t[5, 3],\n\t[7, 3],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nvar loc_arr = [\n\t[5, 2],\n\t[7, 2],\n\t[5, 4],\n\t[7, 4],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) != \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "atk",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "def",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "hp",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "update"
                    },
                    "\t[夏亚,redKing]沙扎比的供能被阻断了？有一套。\n但是，就算只有一成的出力也没事。机动战士可不只是好看的而已！"
                ]
            }
        ],
        "6,2": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[6, 4],\n\t[5, 3],\n\t[7, 3],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nvar loc_arr = [\n\t[5, 2],\n\t[7, 2],\n\t[5, 4],\n\t[7, 4],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) != \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "atk",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "def",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "hp",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "update"
                    },
                    "\t[夏亚,redKing]沙扎比的供能被阻断了？有一套。\n但是，就算只有一成的出力也没事。机动战士可不只是好看的而已！"
                ]
            }
        ],
        "7,3": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[6, 4],\n\t[5, 3],\n\t[7, 3],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nvar loc_arr = [\n\t[5, 2],\n\t[7, 2],\n\t[5, 4],\n\t[7, 4],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) != \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "atk",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "def",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "setEnemy",
                        "id": "redKing",
                        "name": "hp",
                        "operator": "/=",
                        "value": "10"
                    },
                    {
                        "type": "update"
                    },
                    "\t[夏亚,redKing]沙扎比的供能被阻断了？有一套。\n但是，就算只有一成的出力也没事。机动战士可不只是好看的而已！"
                ]
            }
        ],
        "5,8": [
            {
                "type": "function",
                "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[5, 8],\n\t[7, 8],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}"
            },
            {
                "type": "if",
                "condition": "flag:open_yes",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            7
                        ]
                    },
                    {
                        "type": "hide",
                        "time": 0
                    }
                ]
            }
        ],
        "6,3": [
            "\t[夏亚,redKing]不可能，你怎么会有如此强大的力量？",
            "\t[hero]都结束了，夏亚！现在告诉我，怎么才能回到原来的世界？",
            "\t[夏亚,redKing]回去？呵呵，没有办法的。我占领了这座魔塔后研究了好多年都一无所获。",
            "\t[hero]怎么会？！库瓦特罗上尉告诉我说，离开的秘密就在塔顶……",
            "\t[夏亚,redKing]你说，谁告诉你的？",
            "\t[hero]地球联邦的库瓦特罗·巴吉那上尉，和我们一起被卷入了次元震——",
            "\t[夏亚,redKing]……哦？哈哈，哈哈哈。原来如此，原来如此，这下都明白了，全都明白了……",
            "\t[hero]什么意思，夏亚？",
            "\t[夏亚,redKing]库瓦特罗·巴吉那——这是我曾经用过的假身份。经历过阿克西斯之战和格里普斯的你，不可能不知道这个名字和身份才对——那么，一定是有人对你的记忆动了手脚。",
            "\t[夏亚,redKing]这么多年，我也经常会有一些违和感，觉得自己似乎忘了什么，忽略了什么。总觉得眼皮底下就有什么不合理的事情，但却毫无头绪。",
            "\t[夏亚,redKing]如果是有这么一个高位存在的话，一切就都说得通了……或许，通过次元震把我们汇聚到这个世界的，也是这个存在。",
            "\t[hero]你是说，神？",
            "\t[夏亚,redKing]你去拜访一下这个魔塔原本的主人吧——我夺取控制权后，就把他软禁在了这座塔的25层。或许，你能从他口中问出些答案来。",
            "\t[夏亚,redKing]对了，最后的最后，告诉我一件事情吧——这座塔的26层，到底有什么？",
            "\t[hero]明知故问，不是你的部下，那个叫拉拉的女机师吗？",
            "\t[夏亚,redKing]是吗……哈哈，哈哈，哈哈哈哈哈哈……",
            "\t[hero]夏亚？",
            "\t[夏亚,redKing]我的新人类感知一直在告诉我，那里有什么重要的东西——可是，每当我用自己的眼睛看过去时，总会看到，【那里什么也没有】。原来如此，是拉拉吗？",
            "\t[夏亚,redKing]拉拉·辛是可以成为我母亲的女人啊……",
            "\t[hero]母亲，拉拉吗？",
            "\t[夏亚,redKing]………",
            {
                "type": "setBlock",
                "number": "23",
                "loc": [
                    [
                        5,
                        1
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "62",
                "loc": [
                    [
                        7,
                        1
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        2,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        3,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        4,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        8,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        9,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        10,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        5,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        6,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        7,
                        5
                    ]
                ]
            },
            {
                "type": "hide",
                "loc": [
                    [
                        5,
                        2
                    ],
                    [
                        5,
                        4
                    ],
                    [
                        7,
                        2
                    ],
                    [
                        7,
                        4
                    ]
                ],
                "remove": true
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    7
                ]
            }
        ]
    },
    "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": [

],
    "downFloor": [
        2,
        11
    ],
    "autoEvent": {
        "6,3": {
            "0": null,
            "1": null
        }
    },
    "beforeBattle": {},
    "cannotMoveIn": {},
    "bg2map": [],
    "fg2map": []
}