main.floors.MB17=
{
    "floorId": "MB17",
    "title": "魔塔 第17层",
    "name": "第 17 层",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 4,
    "defaultGround": "ground",
    "bgm": "section4.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "9,11": [
            {
                "type": "setValue",
                "name": "flag:开过商店",
                "value": "1"
            },
            {
                "type": "setValue",
                "name": "flag:ratio",
                "value": "4"
            },
            {
                "type": "setValue",
                "name": "flag:shopratio",
                "value": "Math.max(core.getFlag('shopratio', 1), core.getFlag('ratio', 1))"
            },
            {
                "type": "insert",
                "name": "商店"
            }
        ],
        "10,1": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        },
        "6,4": [
            {
                "type": "hide",
                "remove": true,
                "time": 0
            },
            {
                "type": "setEnemy",
                "id": "yellowKnight",
                "name": "special",
                "value": "[1]"
            },
            {
                "type": "setValue",
                "name": "flag:战后删除怪物",
                "value": "1"
            },
            {
                "type": "show",
                "loc": [
                    [
                        10,
                        1
                    ]
                ],
                "time": 500
            },
            {
                "type": "move",
                "loc": [
                    10,
                    1
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "left:4"
                ]
            },
            "\t[骑士队长,yellowKnight]你打败了前2个区域的头目 这表明你是个勇士 但现在游戏结束了 我将在这里亲手杀死你",
            {
                "type": "move",
                "loc": [
                    6,
                    1
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "down:2"
                ]
            },
            {
                "type": "sleep",
                "time": 1000
            },
            {
                "type": "move",
                "loc": [
                    6,
                    3
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "up:2",
                    "left:3"
                ]
            },
            {
                "type": "openDoor",
                "loc": [
                    3,
                    2
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    2,
                    3
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    4,
                    3
                ],
                "async": true
            },
            {
                "type": "waitAsync"
            },
            {
                "type": "if",
                "condition": "(flag:选择技能==='曼波')",
                "true": [
                    {
                        "type": "if",
                        "condition": "flag:获得骑士剑",
                        "true": [
                            "\t[骑士队长,yellowKnight]？我盾呢"
                        ],
                        "false": [
                            {
                                "type": "move",
                                "loc": [
                                    3,
                                    1
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "down:2"
                                ]
                            },
                            {
                                "type": "playSound",
                                "name": "item.mp3"
                            },
                            {
                                "type": "setEnemy",
                                "id": "yellowKnight",
                                "name": "def",
                                "operator": "+=",
                                "value": "40"
                            },
                            {
                                "type": "move",
                                "loc": [
                                    3,
                                    3
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "up:2"
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:骑士队长拿了盾",
                                "value": "1"
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "flag:获得骑士剑",
                        "true": [
                            "\t[骑士队长,yellowKnight]？我剑呢"
                        ],
                        "false": [
                            {
                                "type": "move",
                                "loc": [
                                    3,
                                    1
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "down:2"
                                ]
                            },
                            {
                                "type": "playSound",
                                "name": "item.mp3"
                            },
                            {
                                "type": "setEnemy",
                                "id": "yellowKnight",
                                "name": "atk",
                                "operator": "+=",
                                "value": "40"
                            },
                            {
                                "type": "move",
                                "loc": [
                                    3,
                                    3
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "up:2"
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:骑士队长拿了剑",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "move",
                "loc": [
                    3,
                    1
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "right:6"
                ]
            },
            {
                "type": "openDoor",
                "loc": [
                    9,
                    2
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    8,
                    3
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    10,
                    3
                ],
                "async": true
            },
            {
                "type": "waitAsync"
            },
            {
                "type": "if",
                "condition": "(flag:选择技能==='曼波')",
                "true": [
                    {
                        "type": "if",
                        "condition": "flag:获得骑士盾",
                        "true": [
                            "\t[骑士队长,yellowKnight]？我剑呢"
                        ],
                        "false": [
                            {
                                "type": "move",
                                "loc": [
                                    9,
                                    1
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "down:2"
                                ]
                            },
                            {
                                "type": "playSound",
                                "name": "item.mp3"
                            },
                            {
                                "type": "setEnemy",
                                "id": "yellowKnight",
                                "name": "atk",
                                "operator": "+=",
                                "value": "40"
                            },
                            {
                                "type": "move",
                                "loc": [
                                    9,
                                    3
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "up:2"
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:骑士队长拿了剑",
                                "value": "1"
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "flag:获得骑士盾",
                        "true": [
                            "\t[骑士队长,yellowKnight]？我盾呢"
                        ],
                        "false": [
                            {
                                "type": "move",
                                "loc": [
                                    9,
                                    1
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "down:2"
                                ]
                            },
                            {
                                "type": "playSound",
                                "name": "item.mp3"
                            },
                            {
                                "type": "setEnemy",
                                "id": "yellowKnight",
                                "name": "def",
                                "operator": "+=",
                                "value": "40"
                            },
                            {
                                "type": "move",
                                "loc": [
                                    9,
                                    3
                                ],
                                "time": 200,
                                "keep": true,
                                "steps": [
                                    "up:2"
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:骑士队长拿了盾",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "move",
                "loc": [
                    9,
                    1
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "left:3"
                ]
            },
            {
                "type": "callBook"
            },
            {
                "type": "move",
                "loc": [
                    6,
                    1
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "down:2"
                ]
            },
            {
                "type": "battle",
                "loc": [
                    6,
                    3
                ]
            },
            {
                "type": "if",
                "condition": "flag:骑士队长拿了剑",
                "true": [
                    {
                        "type": "tip",
                        "text": "骑士队长爆装备了"
                    },
                    {
                        "type": "playSound",
                        "name": "item.mp3"
                    },
                    {
                        "type": "setEnemy",
                        "id": "yellowKnight",
                        "name": "atk",
                        "operator": "-=",
                        "value": "40"
                    },
                    {
                        "type": "setValue",
                        "name": "status:atk",
                        "operator": "+=",
                        "value": "40"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:nowWeapon",
                        "value": "'sword3'"
                    }
                ],
                "false": []
            },
            {
                "type": "if",
                "condition": "flag:骑士队长拿了盾",
                "true": [
                    {
                        "type": "tip",
                        "text": "骑士队长爆装备了"
                    },
                    {
                        "type": "playSound",
                        "name": "item.mp3"
                    },
                    {
                        "type": "setEnemy",
                        "id": "yellowKnight",
                        "name": "def",
                        "operator": "-=",
                        "value": "40"
                    },
                    {
                        "type": "setValue",
                        "name": "status:def",
                        "operator": "+=",
                        "value": "40"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:nowShield",
                        "value": "'shield3'"
                    }
                ],
                "false": []
            },
            {
                "type": "move",
                "loc": [
                    6,
                    3
                ],
                "time": 200,
                "keep": true,
                "steps": [
                    "up:2"
                ]
            },
            "\t[骑士队长,yellowKnight]你以为你已非常强大了吗 嘿嘿错了 只是我今天状态不佳而已 我走了 有本事到20楼与我再打一次",
            {
                "type": "move",
                "loc": [
                    6,
                    1
                ],
                "time": 200,
                "steps": [
                    "right:5"
                ]
            },
            {
                "type": "setEnemy",
                "id": "yellowKnight",
                "name": "special",
                "value": "[]"
            },
            {
                "type": "setValue",
                "name": "flag:战后删除怪物",
                "value": "0"
            }
        ]
    },
    "changeFloor": {
        "6,11": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "11,1": {
            "floorId": ":next",
            "stair": "downFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {
        "4,4": [
            {
                "type": "if",
                "condition": "(flag:B17===3)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            3,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ],
        "2,5": [
            {
                "type": "if",
                "condition": "(flag:B17===3)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            3,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ],
        "4,5": [
            {
                "type": "if",
                "condition": "(flag:B17===3)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            3,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ],
        "2,4": [
            {
                "type": "if",
                "condition": "(flag:B17===3)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            3,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ],
        "8,5": [
            {
                "type": "if",
                "condition": "flag:B17_2",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17_2",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ],
        "10,5": [
            {
                "type": "if",
                "condition": "flag:B17_2",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            9,
                            4
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:B17_2",
                        "operator": "+=",
                        "value": "1"
                    }
                ]
            }
        ]
    },
    "afterGetItem": {
        "3,3": [
            {
                "type": "setValue",
                "name": "flag:获得骑士剑",
                "value": "1"
            }
        ],
        "9,3": [
            {
                "type": "setValue",
                "name": "flag:获得骑士盾",
                "value": "1"
            }
        ]
    },
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4, 22,227,  0,  0,  0,  0,  0,  0,  0,226, 87,  4],
    [  4,  1,  1, 86,  1,  1,  0,  1,  1, 86,  1,  1,  4],
    [  4,  1, 86, 39, 86,  1,  0,  1, 86, 40, 86,  1,  4],
    [  4,  1,225, 85,225,  1,168,  1,  0, 85,  0,  1,  4],
    [  4,  0,212,  0,212,  0,  0, 81,222,  0,222,  0,  4],
    [  4,  1,  1, 81,  1,  1,216,  1,  1,  0,  1,  1,  4],
    [  4, 31,  1,  0,  1, 28, 81, 27,  1,  0,  1, 31,  4],
    [  4, 31,  1,  0,  1,212, 82,225,  1, 82,  1, 27,  4],
    [  4, 21,225,  0,214,  0,  0,  0,  0,212, 81, 21,  4],
    [  4,  1,  1,212,  1,  1,  0,  1,  1,121,  1,  1,  4],
    [  4,  1, 21, 21, 27,  1, 88,  1,  7,131,  8,  1,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4]
],
    "bgmap": [

],
    "fgmap": [

]
}