main.floors.HT2=
{
    "floorId": "HT2",
    "title": "魔塔 第-1层",
    "name": "第 -1 层",
    "width": 13,
    "height": 13,
    "canFlyTo": false,
    "canFlyFrom": false,
    "canUseQuickShop": true,
    "cannotViewMap": true,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,5": [
            {
                "type": "if",
                "condition": "flag:114",
                "true": [
                    {
                        "type": "hide",
                        "time": 500
                    },
                    {
                        "type": "setBlock",
                        "number": "249"
                    },
                    {
                        "type": "show",
                        "time": 500
                    },
                    "\t[redKing]你是怎么过来的？？？",
                    "\t[hero]bug的力量！"
                ],
                "false": [
                    "\t[hero]你怎会在这里！你到底是谁？",
                    "\t[小偷,thief]我在这里只有一个理由，那就是…",
                    {
                        "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[hero]很好，那么外面传说有一个公主被困在魔塔，就是为了把我骗到这里。是这样的吗？",
                    "\t[redKing]是的。现在如果我们能够合作那么闹剧就结束了。现在让我们一起用权杖破坏神圣剑，这样伟大的时代就要降临了。",
                    "\t[hero]我不会让你毁了神圣剑, 让黑暗降临的。",
                    "\t[redKing]哦？是吗？看看我的属性",
                    {
                        "type": "callBook"
                    },
                    "\t[hero]我不该用下楼器来的...这里没有bug没法战胜他！",
                    {
                        "type": "win",
                        "reason": "SpecialEnd"
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "2,4": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "2,5": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "11,10": {
            "floorId": ":next",
            "stair": "downFloor"
        },
        "10,10": {
            "floorId": ":next",
            "stair": "downFloor"
        },
        "10,11": {
            "floorId": ":next",
            "stair": "downFloor"
        }
    },
    "beforeBattle": {
        "6,5": [
            {
                "type": "if",
                "condition": "(core.getDamage(\"swordEmperor\") != null)",
                "true": [
                    "\t[hero]魔头，受死！"
                ],
                "false": [
                    "\t[hero]他太强大了，我打不过！",
                    {
                        "type": "win",
                        "reason": "badEnd2"
                    }
                ]
            }
        ]
    },
    "afterBattle": {
        "6,5": [
            "\t[魔王,redKing]你的bug...更加强大...",
            {
                "type": "setValue",
                "name": "status:atk",
                "value": "100"
            },
            {
                "type": "setValue",
                "name": "status:def",
                "value": "100"
            },
            {
                "type": "for",
                "name": "temp:A",
                "from": "1",
                "to": "11",
                "step": "1",
                "data": [
                    {
                        "type": "for",
                        "name": "temp:B",
                        "from": "1",
                        "to": "11",
                        "step": "1",
                        "data": [
                            {
                                "type": "if",
                                "condition": "((core.getBlockId(temp:A,temp:B)!=null)&&(core.getBlockId(temp:A,temp:B)!=\"yellowWall\"))",
                                "true": [
                                    {
                                        "type": "setBlock",
                                        "number": "4",
                                        "loc": [
                                            "temp:A",
                                            "temp:B"
                                        ],
                                        "time": 20
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "confirm",
                "default": true,
                "text": "是否观看TE剧情？",
                "yes": [
                    {
                        "type": "scrollText",
                        "text": "在bug之源——魔王被击杀后，魔塔的所有bug\n被修复了，勇者的属性也回到了刚进塔时的属性。\n勇者带着洋娃娃找到了被bug隐藏的魔塔大门，\n冲了出去。刚一出门，洋娃娃便活了过来，原来\n她就是公主，只不过是魔王利用bug把她变成了\n洋娃娃。虽然比预期多了两天才完成了任务，但\n是国王在公主的说服下，还是把奖金给了他。与\n其说是奖金，不如说是嫁妆。勇者就此变成了驸\n马。至于魔塔，在修好bug之后，原本狂暴的怪\n物也不狂暴了，它们学习了人类的旅游胜地建造\n方式，把魔塔改造成了一个著名的旅游景点。逐\n渐地，人们开始把怪物视为普通的动物朋友，与\n它们开始和平地交流。只有一个关于魔塔历史的\n传说，被人传颂，但逐渐地，由于怪物变得温和\n，所谓传说也被人唾弃，逐渐隐没于历史之中...",
                        "time": 16000,
                        "lineHeight": 1.4
                    }
                ],
                "no": []
            },
            {
                "type": "win",
                "reason": "True End"
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "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,127,  4,  4,  4,321,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,132,  4,  4],
    [  4,  4, 88,  4,  1,  1,  1,  1,  1,  4,  4,  4,  4],
    [  4,  4, 88,  4,  1,  0,123,  0,  1,  4,  4,317,  4],
    [  4,321,  4,  4,  1,  0,  0,  0,  1,  4,186,  4,  4],
    [  4,  4,  4,  4,  1,  0,  0,  0,  1,  4,  4,  4,  4],
    [  4,  4,188,  4,  1,  1,  1,  1,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,316,  4,  4],
    [  4,  4,316,316,  4,193,  4,  4,  4,  4, 87, 87,  4],
    [  4,  7,  4, 10,  4,  4,317,  4,  4,  4, 87,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4]
],
    "bgmap": [

],
    "fgmap": [

],
    "underGround": false
}