main.floors.MT20=
{
    "floorId": "MT20",
    "title": "魔塔 20 层",
    "name": "20",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": false,
    "cannotViewMap": false,
    "images": [],
    "ratio": 2,
    "defaultGround": "ground",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,1": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "6,8": [
            {
                "type": "pauseBgm"
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    9
                ]
            },
            {
                "type": "closeDoor",
                "id": "specialDoor",
                "loc": [
                    6,
                    9
                ]
            },
            {
                "type": "playSound",
                "name": "20F.mp3"
            },
            {
                "type": "move",
                "loc": [
                    5,
                    5
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "rightdown:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    6,
                    5
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "down:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    7,
                    5
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "leftdown:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    5,
                    6
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "right:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    7,
                    6
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "left:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    5,
                    7
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "rightup:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    6,
                    7
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "up:1"
                ]
            },
            {
                "type": "move",
                "loc": [
                    7,
                    7
                ],
                "time": 1000,
                "async": true,
                "steps": [
                    "leftup:1"
                ]
            },
            {
                "type": "waitAsync"
            },
            {
                "type": "setBlock",
                "number": "vampire",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "time": 1000,
                "async": true
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "waitAsync"
            },
            "\t[吸血鬼,vampire]嘿，就你是那个打败骷髅入侵我领地的勇者啊？你可别以为我会像他们那样杂鱼。\n我将向你展现不死族的超神战力。喝，来吧！",
            {
                "type": "playBgm",
                "name": "A_007XGW.mp3",
                "keep": true
            }
        ],
        "4,4": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                "\t[小妖精,fairy]这里可以查阅通关20层时的成绩。\n——正在查阅中，按回车继续——",
                "\t[小妖精,fairy]您的成绩为：\n生命：${flag:floor20FscoreA}\n分数：${flag:floor20FscoreB}\n（分数计算方式：6000+(生命-800)+(攻击-74)*200+(防御-80)*100+黄钥匙*100+蓝钥匙*200+红钥匙*300）"
            ]
        }
    },
    "changeFloor": {
        "6,11": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "6,1": {
            "floorId": ":next",
            "stair": "downFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {
        "6,6": [
            "\t[吸血鬼,vampire]呃……我从没想过自己会落败！你的确有两下子，但也不可能是大魔导师大人的对手。你也就只在此刻能庆幸一下你的短暂胜利了。",
            {
                "type": "pauseBgm"
            },
            {
                "type": "setValue",
                "name": "flag:beaten20F",
                "value": "1"
            },
            {
                "type": "setValue",
                "name": "flag:floor20FscoreA",
                "value": "status:hp"
            },
            {
                "type": "setValue",
                "name": "flag:floor20FscoreB",
                "value": "Math.floor(6000+(core.status.hero.hp-800)+(core.status.hero.atk-74)*200+(core.status.hero.def-80)*100+core.itemCount('yellowKey')*100+core.itemCount('blueKey')*200+core.itemCount('redKey')*300)"
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    3
                ]
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    9
                ]
            },
            {
                "type": "playSound",
                "name": "item.mp3"
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        4,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        4,
                        6
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        4,
                        7
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        8,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        8,
                        6
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        8,
                        7
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        5,
                        8
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        6,
                        8
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        7,
                        8
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        5,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        6,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        7,
                        4
                    ]
                ]
            },
            {
                "type": "show",
                "loc": [
                    [
                        6,
                        1
                    ]
                ]
            },
            {
                "type": "show",
                "loc": [
                    [
                        4,
                        4
                    ]
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "section2.mp3"
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3],
    [  3,  0,  0,  0,  0,  0, 87,  0,  0,  0,  0,  0,  3],
    [  3,  1,  1,  1,  1,  0,  0,  0,  1,  1,  1,  1,  3],
    [  3,  1,  1,  1,  1,  1, 85,  1,  1,  1,  1,  1,  3],
    [  3, 28, 27,  1,124,  0,  0,  0,  0,  1, 31, 32,  3],
    [  3, 21,  0,  1,  0,206,206,206,  0,  1,  0, 21,  3],
    [  3,  1, 82,  1,  0,206,  0,206,  0,  1, 82,  1,  3],
    [  3,205,  0,  1,  0,206,206,206,  0,  1,  0,205,  3],
    [  3,  0,205,  1,  0,  0,  0,  0,  0,  1,205,  0,  3],
    [  3, 81,  1,  1,  1,  1, 83,  1,  1,  1,  1, 81,  3],
    [  3,  0,215,  0,  1,  0,  0,  0,  1,  0,215,  0,  3],
    [  3, 31,  0,  0,218,  0, 88,  0,218,  0,  0, 31,  3],
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3]
],
    "bgmap": [

],
    "fgmap": [

],
    "downFloor": [
        6,
        10
    ],
    "upFloor": [
        6,
        2
    ],
    "bgm": "section2.mp3"
}