main.floors.St01=
{
    "floorId": "St01",
    "title": "准备阶段1",
    "name": "第 40 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  0,  0,  0,  0,  0, 87,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1,  1,  1],
    [  1,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1, 28, 21,  0,  1,333,  0,333,  1, 31,331,  0,  1],
    [  1, 32,  0,  0,  1,  0,  0,  0,  1,332,  0,  0,  1],
    [  1, 27,  0,334, 82,  0,  0,  0,  0,  0,  0, 88,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": false,
    "canFlyFrom": false,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 0,
    "defaultGround": "ground",
    "bgm": "testRoom.mp3",
    "firstArrive": [
        {
            "type": "function",
            "function": "function(){\ncore.switchChara(5)\n}"
        }
    ],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "9,9": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "2,9": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "1,9": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "1,10": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "1,11": {
            "trigger": "action",
            "enable": true,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "6,7": [
            {
                "type": "hide",
                "remove": true
            },
            {
                "type": "choices",
                "text": "\t[hero]（接下来有一段开场剧情，跳过吗？）",
                "choices": [
                    {
                        "text": "好",
                        "action": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "ghostSkeletonNPC",
                                "loc": [
                                    [
                                        2,
                                        3
                                    ]
                                ],
                                "time": 200
                            },
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "soldierNPC",
                                "loc": [
                                    [
                                        4,
                                        3
                                    ]
                                ],
                                "time": 200
                            },
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "KnightNPC",
                                "loc": [
                                    [
                                        8,
                                        3
                                    ]
                                ],
                                "time": 200
                            },
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "swordsManNPC",
                                "loc": [
                                    [
                                        10,
                                        3
                                    ]
                                ],
                                "time": 200
                            },
                            "\t[hero]去把魔王打倒。",
                            "\t[骨架,ghostSkeleton]为啥？",
                            "\t[hero]因为魔王把我的薯片给吃了！",
                            "\t[战士·艾,soldier]那可不能原谅。",
                            "\t[hero]快去。打倒了魔王我就给你们欧比克作为奖赏。",
                            "\t[红骑士,redKnight]把握。",
                            "（以上全是鬼话请不要信。）",
                            "（现在请选择用来挑战1区的角色。）",
                            {
                                "type": "exit"
                            }
                        ]
                    },
                    {
                        "text": "不要，我要看！",
                        "action": []
                    }
                ]
            },
            {
                "type": "hide",
                "remove": true
            },
            {
                "type": "closeDoor",
                "id": "redDoor",
                "loc": [
                    6,
                    8
                ]
            },
            "\t[hero]金骑士团！集合！",
            {
                "type": "playSound",
                "name": "ske_enter.mp3"
            },
            {
                "type": "setBlock",
                "number": "ghostSkeletonNPC",
                "loc": [
                    [
                        2,
                        1
                    ]
                ],
                "time": 200
            },
            {
                "type": "jump",
                "from": [
                    2,
                    1
                ],
                "to": [
                    2,
                    3
                ],
                "time": 500,
                "keep": true
            },
            {
                "type": "vibrate",
                "direction": "vertical",
                "time": 150,
                "speed": 30,
                "power": 5
            },
            {
                "type": "waitAsync",
                "includeSounds": true
            },
            {
                "type": "playSound",
                "name": "ske_region1.mp3"
            },
            "\t[骨架,ghostSkeleton]这副骨架也好 术也好 哼哼……",
            {
                "type": "sleep",
                "time": 500
            },
            {
                "type": "playSound",
                "name": "pickaxe.mp3"
            },
            {
                "type": "vibrate",
                "direction": "horizontal",
                "time": 150,
                "speed": 30,
                "power": 5,
                "async": true
            },
            {
                "type": "jump",
                "from": [
                    10,
                    0
                ],
                "to": [
                    5,
                    12
                ],
                "time": 500
            },
            {
                "type": "setBlock",
                "number": "swordsManNPC",
                "loc": [
                    [
                        10,
                        0
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    10,
                    0
                ],
                "time": 100,
                "keep": true,
                "steps": [
                    "down:3"
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowWall",
                "loc": [
                    [
                        10,
                        0
                    ]
                ]
            },
            {
                "type": "waitAsync"
            },
            {
                "type": "sleep",
                "time": 500
            },
            "\t[双手剑士,swordsman]战斗！爽！",
            {
                "type": "sleep",
                "time": 500
            },
            {
                "type": "setCurtain",
                "color": [
                    255,
                    255,
                    255,
                    1
                ],
                "time": 0,
                "keep": true
            },
            {
                "type": "playSound",
                "name": "sold_elec3.wav"
            },
            {
                "type": "setCurtain",
                "time": 500
            },
            {
                "type": "setCurtain",
                "color": [
                    255,
                    255,
                    255,
                    1
                ],
                "time": 0,
                "keep": true
            },
            {
                "type": "playSound",
                "name": "sold_elec1.wav"
            },
            {
                "type": "setCurtain",
                "time": 500
            },
            {
                "type": "setCurtain",
                "color": [
                    255,
                    255,
                    255,
                    1
                ],
                "time": 0,
                "keep": true
            },
            {
                "type": "setCurtain",
                "time": 500,
                "async": true
            },
            {
                "type": "playSound",
                "name": "sold_elec3.wav"
            },
            {
                "type": "playSound",
                "name": "sold_enter.wav"
            },
            {
                "type": "setBlock",
                "number": "soldierNPC",
                "loc": [
                    [
                        3,
                        3
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    3
                ],
                "time": 100,
                "keep": true,
                "steps": [
                    "right:1"
                ]
            },
            "\t[战士·艾,soldierNPC]别小看战士！！",
            {
                "type": "waitAsync"
            },
            {
                "type": "setBlock",
                "number": "KnightNPC",
                "loc": [
                    [
                        6,
                        2
                    ]
                ],
                "time": 500
            },
            {
                "type": "move",
                "loc": [
                    6,
                    2
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "down:1",
                    "right:2"
                ]
            },
            {
                "type": "sleep",
                "time": 500
            },
            "\t[红骑士,redKnight]？怎么了，我没有入场动画很奇怪吗？",
            {
                "type": "sleep",
                "time": 500
            },
            "\t[hero]……咳咳！大家都来了啊。",
            "\t[hero]那魔王竟欺我无力，联合他的魔法警卫一起说我……和我手下的战士们，实力差又爱吹牛！",
            "\t[hero]大家伙，我们该怎么做？",
            {
                "type": "pauseBgm"
            },
            {
                "type": "sleep",
                "time": 500
            },
            "\t[红骑士,redKnight]……真的是咱被说实力差又爱吹牛吗？",
            "\t[战士·艾,soldierNPC]大概只有咱的这个队长吧。",
            "\t[骨架,ghostSkeleton]毕竟数值是全骑士团最低的了哈哈。",
            {
                "type": "playSound",
                "name": "cut-hit.wav"
            },
            "\t[hero]呜……",
            {
                "type": "sleep",
                "time": 500
            },
            {
                "type": "resumeBgm",
                "resume": true
            },
            "\t[双手剑士,swordsman]那什么时候去战斗？",
            "\t[hero]……好！看到大家这么有精神，我也就放心了！",
            "\t[骨架,ghostSkeleton]也就双手剑士这风姿会一直答应跟队长一起去打架了。",
            "\t[红骑士,redKnight]他真的，我哭死。",
            {
                "type": "playSound",
                "name": "cut-hit.wav"
            },
            "\t[hero]咕呜……要是我这次真的被认定\"实力差又爱吹牛\"的话估计就要被出外勤去了……",
            "\t[hero]哦内该，如果能让兄弟们助我一臂之力的话，我什么都会做的！",
            "\t[战士·艾,soldierNPC]你都叫兄弟了那还说啥了（笑）",
            "\t[红骑士,redKnight]你走了，我们吃什么啊（笑）",
            "\t[骨架,ghostSkeleton]对啊，吃什么啊（笑）",
            "\t[双手剑士,swordsman]战斗！",
            "\t[hero]哦哦哦……感激不禁！",
            "\t[骨架,ghostSkeleton]……所以，你这次又得证明啥了？",
            "\t[hero]嗯……是这样的。",
            "\t[hero]魔王提出的最低标准是……我们得通过她的试炼，证明咱所有人聚在一起至少拥有不输于一个勇士的才能。",
            "\t[hero]也就是说，我们得从第一层开始，藉由塔内的各类道具攻上五十层。",
            "\t[hero]但是不准打群架，也不能打一半摇人……只能轮流进入各个区域作战，不准回头。",
            "\t[hero]我“贵为”区域首领，对于前往5、3区以外的区域作战，竟然不许！其他三个区只能交给你们了。",
            "\t[战士·艾,soldierNPC]看不起我吗，搞得咱自己没装备似的（笑）",
            "\t[骨架,ghostSkeleton]呵……我有我的须佐能乎在，就等于有100个人的力量！",
            "\t[红骑士,redKnight]别怕孩子们，我的战斗经验很丰富。（",
            "\t[双手剑士,swordsman]战斗！战斗！",
            "\t[hero]（真有精神呐……但在正式出动之前，得先想一下，一区该由谁来攻克才比较好呢？）"
        ],
        "7,11": [
            {
                "type": "closeDoor",
                "id": "yellowDoor",
                "loc": [
                    8,
                    11
                ]
            }
        ],
        "6,1": [
            {
                "type": "if",
                "condition": "flag:selected",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[骑士队长,magician]准备好了就开始吧。",
                        "choices": [
                            {
                                "text": "我准备好了",
                                "action": [
                                    {
                                        "type": "setCurtain",
                                        "color": [
                                            0,
                                            0,
                                            0,
                                            1
                                        ],
                                        "time": 500,
                                        "keep": true
                                    },
                                    {
                                        "type": "for",
                                        "name": "temp:A",
                                        "from": "40",
                                        "to": "1",
                                        "step": "-1",
                                        "data": [
                                            {
                                                "type": "function",
                                                "function": "function(){\ncore.ui.statusBar._update_props(core.floors[\"MT\" + core.calValue(\"temp:A\")].title)\n}"
                                            },
                                            {
                                                "type": "sleep",
                                                "time": 80
                                            }
                                        ]
                                    },
                                    {
                                        "type": "changeFloor",
                                        "floorId": "MT1",
                                        "loc": [
                                            6,
                                            11
                                        ],
                                        "direction": "down"
                                    },
                                    {
                                        "type": "setCurtain",
                                        "time": 500
                                    }
                                ]
                            },
                            {
                                "text": "先等一下",
                                "action": []
                            }
                        ]
                    }
                ],
                "false": [
                    "\t[hero]（还没想好去1区的人选……）"
                ]
            }
        ],
        "2,3": [
            {
                "type": "if",
                "condition": "(!flag:selected)",
                "true": [
                    {
                        "type": "playSound",
                        "name": "ske_susano.wav"
                    },
                    "\t[骨架,ghostSkeletonNPC]须佐能乎！",
                    "\t[hero]（骨架吗……他可以为自己提供格挡敌人攻击的外骨骼，但是因为是骷髅比较脆所以受伤比别人要大。）",
                    {
                        "type": "choices",
                        "text": "\t[hero]要选择骨架吗？",
                        "choices": [
                            {
                                "text": "就决定是你了！",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "220"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "value": "180"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "value": "30"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "获得道具"
                                    },
                                    {
                                        "type": "setBlock",
                                        "number": "magician",
                                        "loc": [
                                            "core.getHeroLoc('x')",
                                            "core.getHeroLoc('y')"
                                        ]
                                    },
                                    {
                                        "type": "function",
                                        "function": "function(){\ncore.switchChara(1)\n}"
                                    },
                                    {
                                        "type": "changePos",
                                        "loc": [
                                            2,
                                            3
                                        ],
                                        "direction": "down"
                                    },
                                    "\t[骨架,ghostSkeletonNPC]交给我吧。",
                                    {
                                        "type": "hide",
                                        "remove": true
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(status:hard !== 'Easy')",
                                        "true": [
                                            {
                                                "type": "insert",
                                                "name": "隐藏"
                                            }
                                        ]
                                    },
                                    {
                                        "type": "function",
                                        "function": "function(){\nif (!core.hasFlag('skeTuto')) {\n\tcore.setFlag(\"skeTuto\", true);\n\tcore.insertCommonEvent('骨架教学')\n}\n}"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:selected",
                                        "value": "true"
                                    }
                                ]
                            },
                            {
                                "text": "我再想想",
                                "action": []
                            }
                        ]
                    }
                ]
            }
        ],
        "4,3": [
            {
                "type": "if",
                "condition": "(!flag:selected)",
                "true": [
                    {
                        "type": "playSound",
                        "name": "sold_enter.wav"
                    },
                    "\t[战士·艾,soldier]别小看我！",
                    "\t[hero]（艾啊…他拥有非常优秀的防御能力，但恢复能力较弱。）",
                    {
                        "type": "choices",
                        "text": "\t[hero]要选择战士·艾吗？",
                        "choices": [
                            {
                                "text": "就决定是你了！",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "210"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "value": "200"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "value": "65"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "sold_select.wav"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "item.mp3"
                                    },
                                    {
                                        "type": "setBlock",
                                        "number": "magician",
                                        "loc": [
                                            "core.getHeroLoc('x')",
                                            "core.getHeroLoc('y')"
                                        ]
                                    },
                                    {
                                        "type": "function",
                                        "function": "function(){\ncore.switchChara(2)\n}"
                                    },
                                    {
                                        "type": "changePos",
                                        "loc": [
                                            4,
                                            3
                                        ],
                                        "direction": "down"
                                    },
                                    "\t[战士·艾,soldier]我来！！",
                                    {
                                        "type": "hide",
                                        "remove": true
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(status:hard !== 'Easy')",
                                        "true": [
                                            {
                                                "type": "hide",
                                                "floorId": "St02",
                                                "remove": true
                                            },
                                            {
                                                "type": "hide",
                                                "floorId": "St03",
                                                "remove": true
                                            },
                                            {
                                                "type": "hide",
                                                "floorId": "St04",
                                                "remove": true
                                            },
                                            {
                                                "type": "hide",
                                                "floorId": "St05",
                                                "remove": true
                                            }
                                        ]
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:selected",
                                        "value": "true"
                                    }
                                ]
                            },
                            {
                                "text": "我再想想",
                                "action": []
                            }
                        ]
                    }
                ]
            }
        ],
        "8,3": [
            {
                "type": "if",
                "condition": "(!flag:selected)",
                "true": [
                    {
                        "type": "playSound",
                        "name": "equip.mp3"
                    },
                    "\t[红骑士,redKnight]*整理装备声",
                    "\t[hero]（红骑士……没有特别大的缺点，是靠整体数值发展的角色。）",
                    {
                        "type": "choices",
                        "text": "\t[hero]要选择红骑士吗？",
                        "choices": [
                            {
                                "text": "就决定是你了！",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "160"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "value": "230"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "value": "105"
                                    },
                                    {
                                        "type": "function",
                                        "function": "function(){\ncore.switchChara(3)\n}"
                                    },
                                    {
                                        "type": "update"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "item.mp3"
                                    },
                                    {
                                        "type": "setBlock",
                                        "number": "magician",
                                        "loc": [
                                            "core.getHeroLoc('x')",
                                            "core.getHeroLoc('y')"
                                        ]
                                    },
                                    {
                                        "type": "changePos",
                                        "loc": [
                                            8,
                                            3
                                        ],
                                        "direction": "down"
                                    },
                                    "\t[红骑士,redKnight]我明白了。",
                                    {
                                        "type": "hide",
                                        "remove": true
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(status:hard !== 'Easy')",
                                        "true": [
                                            {
                                                "type": "insert",
                                                "name": "隐藏"
                                            }
                                        ]
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:selected",
                                        "value": "true"
                                    }
                                ]
                            },
                            {
                                "text": "我再想想",
                                "action": []
                            }
                        ]
                    }
                ]
            }
        ],
        "10,3": [
            {
                "type": "if",
                "condition": "(!flag:selected)",
                "true": [
                    {
                        "type": "playSound",
                        "name": "battleshuang.mp3"
                    },
                    "\t[双手剑士,swordsManNPC]战斗，爽！",
                    "\t[hero]（双手剑士……非常擅长撕咬，攻击频率快的角色。但是实在是脆皮。）",
                    {
                        "type": "choices",
                        "text": "\t[hero]要选择双手剑士吗？",
                        "choices": [
                            {
                                "text": "就决定是你了！",
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "value": "100"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "value": "680"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "value": "50"
                                    },
                                    {
                                        "type": "function",
                                        "function": "function(){\ncore.switchChara(4)\n}"
                                    },
                                    {
                                        "type": "update"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "item.mp3"
                                    },
                                    {
                                        "type": "playSound",
                                        "name": "battleshuang2.mp3"
                                    },
                                    {
                                        "type": "setBlock",
                                        "number": "magician",
                                        "loc": [
                                            "core.getHeroLoc('x')",
                                            "core.getHeroLoc('y')"
                                        ]
                                    },
                                    {
                                        "type": "changePos",
                                        "loc": [
                                            10,
                                            3
                                        ],
                                        "direction": "down"
                                    },
                                    "\t[双手剑士,swordsManNPC]战斗，爽！！！",
                                    {
                                        "type": "hide",
                                        "remove": true
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(status:hard !== 'Easy')",
                                        "true": [
                                            {
                                                "type": "insert",
                                                "name": "隐藏"
                                            }
                                        ]
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:selected",
                                        "value": "true"
                                    }
                                ]
                            },
                            {
                                "text": "我再想想",
                                "action": []
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "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,  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": [

],
    "upFloor": [
        6,
        2
    ],
    "downFloor": [
        10,
        11
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {},
    "cannotViewMap": false
}