main.floors.MT40=
{
    "floorId": "MT40",
    "title": "魔塔 40 层",
    "name": "40",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": false,
    "cannotViewMap": false,
    "images": [],
    "ratio": 4,
    "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,7": [
            {
                "type": "pauseBgm"
            },
            {
                "type": "playBgm",
                "name": "A_023XGW.mp3",
                "keep": true
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    8
                ]
            },
            {
                "type": "closeDoor",
                "id": "specialDoor",
                "loc": [
                    6,
                    8
                ]
            },
            {
                "type": "setValue",
                "name": "flag:attackFirst",
                "value": "1"
            },
            {
                "type": "callBook"
            },
            "\t[金骑士,yellowKnight]没想到你能活着走到这里，但我会让你在此止步。你对这塔的羞辱，我会10倍奉还与你。鬼战士们，给我上！",
            {
                "type": "setBlock",
                "number": "ghostSoldier",
                "loc": [
                    [
                        5,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    5,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "down:1",
                    "right:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "ghostSoldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "ghostSoldier",
                "loc": [
                    [
                        4,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    4,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "right:1",
                    "down:1",
                    "right:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "ghostSoldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "ghostSoldier",
                "loc": [
                    [
                        3,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "right:2",
                    "down:1",
                    "right:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "ghostSoldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            "\t[金骑士,yellowKnight]哼，没关系。战士们，上！",
            {
                "type": "setBlock",
                "number": "soldier",
                "loc": [
                    [
                        7,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    7,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "down:1",
                    "left:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "soldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "soldier",
                "loc": [
                    [
                        8,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    8,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "left:1",
                    "down:1",
                    "left:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "soldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "soldier",
                "loc": [
                    [
                        9,
                        4
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    9,
                    4
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "left:2",
                    "down:1",
                    "left:1",
                    "down:1"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "soldier"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            "\t[金骑士,yellowKnight]这才不过是个开始！双手剑士们，给我上！",
            {
                "type": "setBlock",
                "number": "swordsman",
                "loc": [
                    [
                        4,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    4,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "down:1",
                    "right:1",
                    "down:1",
                    "right:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "swordsman"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "swordsman",
                "loc": [
                    [
                        3,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "right:1",
                    "down:1",
                    "right:1",
                    "down:1",
                    "right:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "swordsman"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "swordsman",
                "loc": [
                    [
                        2,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    2,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "right:2",
                    "down:1",
                    "right:1",
                    "down:1",
                    "right:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "swordsman"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            "\t[金骑士,yellowKnight]喝，试试这一手！骑士们，冲锋！",
            {
                "type": "setBlock",
                "number": "redKnight",
                "loc": [
                    [
                        8,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    8,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "down:1",
                    "left:1",
                    "down:1",
                    "left:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "redKnight"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "redKnight",
                "loc": [
                    [
                        9,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    9,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "left:1",
                    "down:1",
                    "left:1",
                    "down:1",
                    "left:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "redKnight"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            {
                "type": "setBlock",
                "number": "redKnight",
                "loc": [
                    [
                        10,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    10,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "left:2",
                    "down:1",
                    "left:1",
                    "down:1",
                    "left:1",
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "redKnight"
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        6
                    ]
                ],
                "remove": true
            },
            "\t[金骑士,yellowKnight]你竟能打败我所有随从？不可原谅！我绝不心慈手软，去死吧！",
            {
                "type": "setBlock",
                "number": "yellowKnight",
                "loc": [
                    [
                        6,
                        2
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    6,
                    2
                ],
                "time": 300,
                "keep": true,
                "steps": [
                    "down:4"
                ]
            },
            {
                "type": "sleep",
                "time": 200
            },
            {
                "type": "battle",
                "id": "yellowKnight"
            },
            "\t[金骑士,yellowKnight]我……勉为其难的原谅你了，下次见面的时候别指望我手软。等着吧！",
            {
                "type": "setValue",
                "name": "flag:attackFirst",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:beaten40F",
                "value": "1"
            },
            {
                "type": "setValue",
                "name": "flag:floor40FscoreA",
                "value": "status:hp"
            },
            {
                "type": "setValue",
                "name": "flag:floor40FscoreB",
                "value": "Math.floor(6000+(core.status.hero.hp-1600)/2+(core.status.hero.atk-152)*100+(core.status.hero.def-198)*50+core.itemCount('yellowKey')*100+core.itemCount('blueKey')*200+core.itemCount('redKey')*300)"
            },
            {
                "type": "show",
                "loc": [
                    [
                        6,
                        1
                    ]
                ]
            },
            {
                "type": "move",
                "loc": [
                    6,
                    6
                ],
                "time": 200,
                "steps": [
                    "up:5"
                ]
            },
            {
                "type": "pauseBgm"
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    8
                ]
            },
            {
                "type": "playSound",
                "name": "item.mp3"
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        4,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        3,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "redGem",
                "loc": [
                    [
                        2,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        8,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        9,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "blueGem",
                "loc": [
                    [
                        10,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        5,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        4,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "bluePotion",
                "loc": [
                    [
                        3,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        7,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        8,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "yellowKey",
                "loc": [
                    [
                        9,
                        4
                    ]
                ]
            },
            {
                "type": "hide",
                "remove": true
            },
            {
                "type": "show",
                "loc": [
                    [
                        5,
                        6
                    ]
                ],
                "time": 250
            },
            {
                "type": "playBgm",
                "name": "section4.mp3"
            },
            {
                "type": "autoSave"
            }
        ],
        "5,6": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                "\t[小妖精,fairy]这里可以查阅通关40层时的成绩。\n——正在查阅中，按回车继续——",
                "\t[小妖精,fairy]您的成绩为：\n生命：${flag:floor40FscoreA}\n分数：${flag:floor40FscoreB}\n（分数计算方式：6000+(生命-1600)/2+(攻击-152)*100+(防御-198)*50+黄钥匙*100+蓝钥匙*200+红钥匙*300）"
            ]
        }
    },
    "changeFloor": {
        "6,1": {
            "floorId": ":next",
            "stair": "downFloor"
        },
        "11,11": {
            "floorId": ":before",
            "stair": "upFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {},
    "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,  0,224,224,224,  0,226,  0,227,227,227,  0,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  3],
    [  3,  0,  0,212,212,212,  0,225,225,225,  0,  0,  3],
    [  3,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  3],
    [  3,  1,  1,  1,  0,124,  0,  0,  0,  1,  1,  1,  3],
    [  3,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1,  1,  3],
    [  3,  1,  1,  1,  1,  1, 83,  1,  1,  1,  1,  1,  3],
    [  3, 28, 21,  0,  1,216,  0,216,  1, 31,224,  0,  3],
    [  3, 32,  0,  0,  1,  0,  0,  0,  1,225,  0,  0,  3],
    [  3, 27,  0,227, 82,  0,  0,  0, 81,  0,  0, 88,  3],
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3]
],
    "bgmap": [

],
    "fgmap": [

],
    "upFloor": [
        5,
        1
    ],
    "downFloor": [
        10,
        11
    ],
    "bgm": "section4.mp3"
}