main.floors.MT20=
{
    "floorId": "MT20",
    "title": "主塔 20 层",
    "name": "20",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": false,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "images": [],
    "ratio": 2,
    "defaultGround": "ground",
    "firstArrive": [
        {
            "type": "if",
            "condition": "(flag:Mreach20==0)",
            "true": [
                {
                    "type": "setValue",
                    "name": "flag:Reach",
                    "operator": "+=",
                    "value": "1"
                },
                {
                    "type": "setValue",
                    "name": "flag:Mreach20",
                    "operator": "+=",
                    "value": "1"
                }
            ]
        }
    ],
    "eachArrive": [
        {
            "type": "if",
            "condition": "(flag:A10===1)",
            "true": [
                {
                    "type": "setValue",
                    "name": "item:I368",
                    "value": "1"
                }
            ],
            "false": [
                {
                    "type": "if",
                    "condition": "(flag:A8===1)",
                    "true": [
                        {
                            "type": "setValue",
                            "name": "item:earthquake",
                            "value": "1"
                        },
                        {
                            "type": "setValue",
                            "name": "item:I351",
                            "value": "0"
                        }
                    ],
                    "false": [
                        {
                            "type": "if",
                            "condition": "(flag:A6===1)",
                            "true": [
                                {
                                    "type": "setValue",
                                    "name": "item:I351",
                                    "value": "0"
                                }
                            ],
                            "false": []
                        }
                    ]
                }
            ]
        }
    ],
    "parallelDo": "",
    "events": {
        "6,8": [
            {
                "type": "if",
                "condition": "(flag:20==0)",
                "true": [
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            6,
                            9
                        ]
                    },
                    {
                        "type": "playSound",
                        "name": "20F.mp3"
                    },
                    {
                        "type": "hide",
                        "loc": [
                            [
                                5,
                                5
                            ],
                            [
                                6,
                                5
                            ],
                            [
                                7,
                                5
                            ],
                            [
                                5,
                                6
                            ],
                            [
                                7,
                                6
                            ],
                            [
                                5,
                                7
                            ],
                            [
                                6,
                                7
                            ],
                            [
                                7,
                                7
                            ]
                        ],
                        "time": 500
                    },
                    {
                        "type": "show",
                        "loc": [
                            [
                                6,
                                6
                            ]
                        ],
                        "time": 500
                    },
                    "\t[吸血鬼,vampire]很好 你打败了骷髅族 但别想象藐视骷髅人那样藐视我 我对于你就像是神一样 是不可战胜的 来吧",
                    {
                        "type": "setValue",
                        "name": "flag:20",
                        "value": "1"
                    }
                ],
                "false": []
            }
        ],
        "6,6": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": []
        }
    },
    "changeFloor": {
        "6,11": {
            "floorId": ":before",
            "stair": "upFloor"
        },
        "11,1": {
            "floorId": ":next",
            "stair": "downFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {
        "6,6": [
            {
                "type": "playSound",
                "name": "door.mp3",
                "stop": true
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        5,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        6,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        7,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        4,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        4,
                        6
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        4,
                        7
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        8,
                        5
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        8,
                        6
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        8,
                        7
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        5,
                        8
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        6,
                        8
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        7,
                        8
                    ]
                ]
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    3
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    6,
                    9
                ],
                "async": true
            },
            {
                "type": "waitAsync"
            },
            {
                "type": "if",
                "condition": "(flag:story20==0)",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[村民,youngMan]一路闖到這裡，你早已身心俱疲，何必再苦苦支撐。把紅燭交給我吧，讓我替你繼續這場追隨，免去你一身傷痛。",
                        "choices": [
                            {
                                "text": "不，我要繼續旅程",
                                "color": [
                                    245,
                                    68,
                                    217,
                                    1
                                ],
                                "action": [
                                    "\t[勇士,N331](雙手緊緊握著紅燭，指節泛白，望著燭光低聲自語，滿是執著)",
                                    "\t[勇士,N331]紅燭的光芒雖然微弱渺小，但它會一直陪伴著我，守著我的初心，直到我成功拯救你為止，絕不反悔。",
                                    "\t[公主（微弱聲音）,princess](隔著層層高牆，傳來微弱卻清晰的聲音，藏著心底的期盼)\n如果有人願意為我點燃這盞燭光，哪怕那光芒只有螢火般微弱，我也願意窮盡一生，緊緊追隨。",
                                    "\t[勇士,N331](內心獨白)我想做你的歸途，與你掌燈為你讀，無謂情詩，或是一本淚目",
                                    {
                                        "type": "setValue",
                                        "name": "item:I364",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:story20",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "openDoor",
                                        "loc": [
                                            10,
                                            1
                                        ]
                                    }
                                ]
                            },
                            {
                                "text": "我想離開",
                                "color": [
                                    177,
                                    121,
                                    243,
                                    1
                                ],
                                "action": [
                                    "\t[勇士,N331]好啊，那我就交給你了",
                                    {
                                        "type": "if",
                                        "condition": "(flag:Easy3==1)",
                                        "true": [
                                            {
                                                "type": "choices",
                                                "text": "\t[村民,youngMan]想用什麼方式計分",
                                                "choices": [
                                                    {
                                                        "text": "生命值",
                                                        "action": [
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "+=",
                                                                "value": "item:greenKey*1e7"
                                                            },
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E2:燃燭的誓言 (生命)"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "text": "攻擊值",
                                                        "action": [
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "value": "1"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "+=",
                                                                "value": "status:atk"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "+=",
                                                                "value": "item:greenKey*1e7"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "-=",
                                                                "value": "1"
                                                            },
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E2:燃燭的誓言 (攻擊)"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "text": "防禦值",
                                                        "action": [
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "value": "1"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "+=",
                                                                "value": "status:def"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "+=",
                                                                "value": "item:greenKey*1e7"
                                                            },
                                                            {
                                                                "type": "setValue",
                                                                "name": "status:hp",
                                                                "operator": "-=",
                                                                "value": "1"
                                                            },
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E2:燃燭的誓言 (防禦)"
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ],
                                        "false": [
                                            {
                                                "type": "if",
                                                "condition": "(flag:Easy2==1)",
                                                "true": [
                                                    {
                                                        "type": "choices",
                                                        "text": "\t[村民,youngMan]想用什麼方式計分",
                                                        "choices": [
                                                            {
                                                                "text": "生命值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E2:燃燭的誓言 (生命)"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "text": "攻擊值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "status:atk"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "-=",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E2:燃燭的誓言 (攻擊)"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "text": "防禦值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "status:def"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "-=",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E2:燃燭的誓言 (防禦)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "choices",
                                                        "text": "\t[村民,youngMan]想用什麼方式計分",
                                                        "choices": [
                                                            {
                                                                "text": "生命值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E2:燃燭的誓言 (生命)"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "text": "攻擊值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "status:atk"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "-=",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E2:燃燭的誓言 (攻擊)"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "text": "防禦值",
                                                                "action": [
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "status:def"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "+=",
                                                                        "value": "item:greenKey*1e7"
                                                                    },
                                                                    {
                                                                        "type": "setValue",
                                                                        "name": "status:hp",
                                                                        "operator": "-=",
                                                                        "value": "1"
                                                                    },
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E2:燃燭的誓言 (防禦)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "openDoor",
                        "loc": [
                            10,
                            1
                        ]
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0, 85, 87,  1],
    [  1,  1,  1,  1,  1,  0,  0,  0,  1,  1,  1,  1,  1],
    [  1,  1,  1,  1,  1,  1, 85,  1,  1,  1,  1,  1,  1],
    [  1, 28, 27,  1,  0,  0,  0,  0,  0,  1, 31, 32,  1],
    [  1, 21,  0,  1,  0,206,206,206,  0,  1,  0, 21,  1],
    [  1,  1, 82,  1,  0,206,208,206,  0,  1, 82,  1,  1],
    [  1,205,  0,  1,  0,206,206,206,  0,  1,  0,205,  1],
    [  1,  0,205,  1,  0,  0,  0,  0,  0,  1,205,  0,  1],
    [  1, 81,  1,  1,  1,  1, 83,  1,  1,  1,  1, 81,  1],
    [  1,  0,215,  0,  1,454,  0,  0,  1,  0,215,  0,  1],
    [  1, 31,  0,  0,218,  0, 88,  0,218,  0,  0, 31,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

],
    "bgm": "song3.mp3"
}