main.floors.MT1=
{
    "floorId": "MT1",
    "title": "魔塔 第01层",
    "name": "第 1 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1, 87,  0,201,202,201,  0,  0,  0,  0,  0,  0,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  0,  1],
    [  1, 31,  0,  0, 81,  0,  1, 27, 21,  0,  1,  0,  1],
    [  1,  0,209,  0,  1,  0,  1, 28, 31,  0,  1,  0,  1],
    [  1,  1, 81,  1,  1,  0,  1,  1,  1, 81,  1,  0,  1],
    [  1, 21,  0,  0,  1,  0, 81,205,217,205,  1,  0,  1],
    [  1,  0,210,  0,  1,  0,  1,  1,  1,  1,  1,  0,  1],
    [  1,  1, 81,  1,  1,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  1, 81,  1,  1,  1, 81,  1,  1],
    [  1, 31,  0, 21,  1, 21, 72,127,  1,  0,205,  0,  1],
    [  1, 31,  0, 21,  1, 46,  0, 45,  1,201, 32,201,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [
        {
            "type": "tip",
            "text": "游戏已重启"
        },
        {
            "type": "loadBgm",
            "name": "Ending.mp3"
        },
        {
            "type": "loadBgm",
            "name": "SkeletonA.mp3"
        },
        {
            "type": "loadBgm",
            "name": "Vampire.mp3"
        },
        {
            "type": "loadBgm",
            "name": "GreatMagicMaster.mp3"
        },
        {
            "type": "loadBgm",
            "name": "Knight.mp3"
        },
        {
            "type": "loadBgm",
            "name": "Zeno.mp3"
        },
        "\t[勇士,hero]？？？",
        "\t[勇士,hero]？？？怎么回事？？？",
        "\t[勇士,hero]哪里来那么大的水？",
        "\t[小偷,thief]真是奇怪，这座魔塔里哪里来这么多、这么大的水？简直像发洪水一样。",
        "\t[小偷,thief]积水似乎在缓慢减少，还是先耐心等水面再下降一些，再继续前进吧。",
        {
            "type": "function",
            "function": "function(){\ncore.initMap();\n}"
        }
    ],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "7,10": [
            {
                "type": "if",
                "condition": "(!flags.selected)",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[作者,king]你想了解什么？",
                        "choices": [
                            {
                                "text": "机制介绍",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "1"
                                    }
                                ]
                            },
                            {
                                "text": "魔塔修改",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "2"
                                    }
                                ]
                            },
                            {
                                "text": "道具介绍",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "3"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:page",
                                        "value": "1"
                                    }
                                ]
                            },
                            {
                                "text": "榜单介绍",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "4"
                                    }
                                ]
                            },
                            {
                                "text": "不，谢谢",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "0"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:selected",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "(flags.intro == 1)",
                "true": [
                    "\t[作者,king]所有空地变成水。\n所有墙变成可通行的路。\n宝物默认是在水中。\n怪物默认是在地上。\n门开启后会变成桥，不限通行次数。\n可使用过河拆桥拆除桥，拆除后桥变成水。"
                ]
            },
            {
                "type": "if",
                "condition": "(flags.intro ==2)",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[作者,king]魔塔修改",
                        "choices": [
                            {
                                "text": "样板修改",
                                "action": [
                                    "\t[作者,king]此版本与50层原版相比，有如下改动：\n添加48层圣剑守卫\n42层骑士队长事件需要击败40层骑士队长才能出现\n41层高级巫师直接显露\n40层战斗结束会打开门口的门\n36层添加暗道\n32层骑士队长战斗，若不破防也不会死亡",
                                    "\t[作者,king]开局提供楼层传送器与怪物手册\n打怪不会重叠\n删除了所有不能破坏的墙\n开启了楼梯穿越\n自动寻路时，若路径上有可以打开的门跟可以击败的怪物，则仍然可以自动寻路。注意所有的门、怪物权重相同"
                                ]
                            },
                            {
                                "text": "mod修改",
                                "action": [
                                    "\t[作者,king]\r[gold]1-10层为一区\n11-20层为二区\n31-40层为三区\n41-50层为四区\n21-30层为五区\r[white]\n区域影响宝石、商店、剑盾！\n神圣剑盾的属性为100点。\n50层黄衣魔王的血量为8000。",
                                    "\t[作者,king]部分红门、机关门、特殊道具附近的墙改成了熔岩或者星光。\n3F增加一扇黄门供通行。\n5F记事本改成魔法师，交易任意门。\n12F右上角商人用红钥匙换10个红吸水瓶或者10把蓝钥匙。\n15F打章鱼送红钥匙。\n33F增加一扇红门。\n37F道具需要通过使用绿吸水瓶才能获取。",
                                    "\t[作者,king]40F必须开红门。\n43F取消机关，右上角部分地图稍作变化。\n47F取消阻击红法师，改成领域红法师。\n47F商人卖绿吸水瓶，4000金币2个。\n冰魔法是把熔岩化为水。\n瞬移可以飞到本楼层空地，但有红门的楼层不能使用瞬移。\n楼传是大楼传，可以在任意时候使用。"
                                ]
                            },
                            {
                                "text": "返回",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:intro",
                                        "value": "99"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "if",
                "condition": "(flags.intro ==3)",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flags.page == 1)",
                        "true": [
                            {
                                "type": "choices",
                                "text": "\t[作者,king]道具介绍",
                                "choices": [
                                    {
                                        "text": "红吸水瓶",
                                        "icon": "redPotion",
                                        "action": [
                                            "\t[作者,king]\r[gold]当你对面前的一格水使用红吸水瓶\\i[redPotion]时，不仅能吸掉眼前这处水，还会一并吸收所有与它相连通的其他水体\r[white]。此外，你所吸收的这些水还能被有效地转化为生命值。当你一次性吸取 n 格水时，获得的生命值等于 \r[gold]n(n+1)/2\r[white] 点。这个回血公式与你在哪个楼层、哪个区域吸水无关，完全只取决于单次吸水的格子数量。生命值为0时不能使用。"
                                        ]
                                    },
                                    {
                                        "text": "蓝吸水瓶",
                                        "icon": "bluePotion",
                                        "action": [
                                            "\t[作者,king]获取一个蓝吸水瓶\\i[bluePotion]时会自动兑换成两个红吸水瓶\\i[redPotion]。"
                                        ]
                                    },
                                    {
                                        "text": "绿吸水瓶",
                                        "icon": "greenPotion",
                                        "action": [
                                            "\t[作者,king]绿吸水瓶\\i[greenPotion]是一种强效道具。使用它，你可以\r[gold]强制吸走当前楼层内所有的水\r[white]——无论这些水是否彼此连通，也不管旁边是否有怪物看守，都能一次性全部清除。更棒的是，吸水后回复生命的公式依然照常适用，吸得越多，回血越丰厚。"
                                        ]
                                    },
                                    {
                                        "text": "任意门",
                                        "icon": "random",
                                        "action": [
                                            "\t[作者,king]使用任意门\\i[random]时，你可以将面前的水或空地直接变成一扇黄门。如果水面上漂浮着道具，你也可以用任意门将水连同道具一起变成黄门。不过请注意，这样做之后，你就再也无法拾取到那个被覆盖的道具了。\n在重要事件点（有绿色小花图案的）不能使用任意门。"
                                        ]
                                    },
                                    {
                                        "text": "下一页",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:selected",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:page",
                                                "value": "2"
                                            },
                                            {
                                                "type": "trigger",
                                                "loc": [
                                                    7,
                                                    10
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "text": "返回",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:intro",
                                                "value": "99"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "choices",
                                "text": "\t[作者,king]道具介绍",
                                "choices": [
                                    {
                                        "text": "过河拆桥",
                                        "icon": "skill1",
                                        "action": [
                                            "\t[作者,king]\r[gold]门被开启后会留下一座桥\\i[light]。\r[white]你可以在桥上无限次来回通行。你可以对桥\\i[light]使用道具过河拆桥\\i[skill1]，桥\\i[light]就会重新变成水\\i[blueWater]。过河拆桥\\i[skill1]无使用次数限制，且每次使用没有任何消耗。虽然这样做会挡住你原来的去路，但能让分散的水体连通起来，方便一次性吸水。如何使用过河拆桥，需要你仔细权衡利弊。"
                                        ]
                                    },
                                    {
                                        "text": "瞬移",
                                        "icon": "centerFly",
                                        "action": [
                                            "\t[作者,king]使用瞬移\\i[centerFly]道具时，你可以自由选择本地图上的任意地点作为落脚点，但切记不能落在水中，也不能落在非空地上。"
                                        ]
                                    },
                                    {
                                        "text": "冰魔法",
                                        "icon": "snow",
                                        "action": [
                                            "\t[作者,king]使用冰魔法\\i[snow]可以将当前楼层的全部岩浆瞬间转化为水。而且这个魔法可以无限次重复使用，无需担心消耗。"
                                        ]
                                    },
                                    {
                                        "text": "楼层传送器",
                                        "icon": "fly",
                                        "action": [
                                            "\t[作者,king]\r[gold]本塔的楼传\\i[fly]是大楼传！\r[white]"
                                        ]
                                    },
                                    {
                                        "text": "上一页",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:selected",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:page",
                                                "value": "1"
                                            },
                                            {
                                                "type": "trigger",
                                                "loc": [
                                                    7,
                                                    10
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "text": "返回",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:intro",
                                                "value": "99"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "if",
                "condition": "(flags.intro ==4)",
                "true": [
                    "\t[作者,king]本座魔塔共设有三个榜单，分别根据勇者的生命值、最高攻击力以及最高防御力进行排名。\n此外，完成教程模式虽然也会触发一个专属结局，但该结局的成绩不会被计入榜单之中。"
                ]
            },
            {
                "type": "if",
                "condition": "(flags.intro ==99)",
                "true": [
                    {
                        "type": "trigger",
                        "loc": [
                            7,
                            10
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "1,1": {
            "floorId": ":next",
            "stair": "downFloor",
            "time": 0
        }
    },
    "afterBattle": {},
    "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,322,322,322,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,322,322,322,  0,  0,  0,  0, 17],
    [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17]
],
    "fgmap": [
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15],
    [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15]
],
    "upFloor": [
        2,
        1
    ],
    "downFloor": [
        2,
        1
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}