main.floors.MT50=
{
    "floorId": "MT50",
    "title": "主塔 50 层",
    "name": "50",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "images": [],
    "ratio": 2,
    "defaultGround": "ground",
    "firstArrive": [
        {
            "type": "if",
            "condition": "(flag:Mreach50==0)",
            "true": [
                {
                    "type": "setValue",
                    "name": "flag:Reach",
                    "operator": "+=",
                    "value": "1"
                },
                {
                    "type": "setValue",
                    "name": "flag:Mreach50",
                    "operator": "+=",
                    "value": "1"
                }
            ]
        }
    ],
    "eachArrive": [
        {
            "type": "setValue",
            "name": "item:earthquake",
            "value": "0"
        },
        {
            "type": "setValue",
            "name": "item:I351",
            "value": "0"
        },
        {
            "type": "setValue",
            "name": "item:I368",
            "value": "0"
        }
    ],
    "parallelDo": "",
    "events": {},
    "changeFloor": {
        "6,7": {
            "floorId": "MT29",
            "loc": [
                11,
                11
            ]
        }
    },
    "beforeBattle": {},
    "afterBattle": {
        "6,5": [
            {
                "type": "if",
                "condition": "(flag:story50==0)",
                "true": [
                    "\t[魔王,blackKing](神色蒼涼，語氣滿是執念與痛苦)\n愛是一場註定痛苦的追逐，是佔有，是束縛，是墜入深淵也不肯放手。",
                    "\t[魔王,blackKing]我曾經也是一名和你一樣的勇士，可我太過貪婪，為了永遠佔有公主，放棄了光明，墮入無盡黑暗。執迷不悟的你，終將走上和我一樣的路！",
                    "\t[魔王,blackKing]「承蒙你的傾慕，最後如最初，執迷不悟」",
                    "\t[勇士,N331](撐著傷痛的身軀，緩緩站起，語氣堅定而溫柔)\n不，你徹底錯了。真正的愛，從來不是強行佔有與束縛，而是默默守護與傾心付出，是成全對方的自由與快樂。",
                    "\t[公主,princess]愛是彼此救贖，是讓我們變得更加完整，即使這條路充滿痛苦與磨難，只要是和對方一起，就一切都值得。",
                    "(魔王沉默良久，看著彼此緊握雙手、眼底有光的兩人，滿身黑暗氣息漸漸消散，最終化作點點光點)",
                    "\t[魔王,blackKing]或許...從一開始，就是我錯了。錯把佔有當成愛，錯把束縛當成守護。願你們珍惜這份得來不易的緣分，永遠相守。(魔王徹底消散，魔塔的黑暗隨之褪去，重現光明)",
                    {
                        "type": "choices",
                        "text": "\t[旁白,youngMan]想繼續旅程嗎",
                        "choices": [
                            {
                                "text": "我要繼續旅程",
                                "color": [
                                    245,
                                    68,
                                    217,
                                    1
                                ],
                                "action": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:story50",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    "\t[公主,princess]勇士，多謝你不離不棄的救贖，謝謝你不顧一切的奔赴。就讓我帶你去看看，我藏在心底很久的秘密後花園。",
                                    "\t[公主,princess]那座後花園，從來不在塔內，而是在塔外，在我們嚮往的自由天地裡。",
                                    "\t[旁白,youngMan]恭喜勇士成功擊破黑暗、擊敗魔王，用執著與守護喚回公主，請帶公主離開魔塔，奔赴屬於你們的光明與未來。\n(回到1樓，結束本次循環)",
                                    {
                                        "type": "openDoor",
                                        "loc": [
                                            2,
                                            9
                                        ],
                                        "floorId": "MT0"
                                    }
                                ]
                            },
                            {
                                "text": "我想離開",
                                "color": [
                                    177,
                                    121,
                                    243,
                                    1
                                ],
                                "action": [
                                    {
                                        "type": "choices",
                                        "text": "\t[旁白,youngMan]想用什麼方式計分",
                                        "choices": [
                                            {
                                                "text": "生命值",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "item:greenKey*1e9"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E5:最後如最初 (生命)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E5:最後如最初 (生命)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E5:最後如最初 (生命)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "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*1e9"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "-=",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E5:最後如最初 (攻擊)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E5:最後如最初 (攻擊)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E5:最後如最初 (攻擊)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "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*1e9"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "-=",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E5:最後如最初 (防禦)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E5:最後如最初 (防禦)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E5:最後如最初 (防禦)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "text": "綜合值",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "item:greenKey*1e9"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "status:def*500"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "status:atk*500"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E5:最後如最初 (綜合)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E5:最後如最初 (綜合)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E5:最後如最初 (綜合)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "openDoor",
                        "loc": [
                            2,
                            9
                        ],
                        "floorId": "MT0"
                    },
                    "\t[旁白,youngMan]恭喜勇士成功擊殺魔王，請帶公主離開魔塔\n(回到1樓，結束本次循環)"
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  1,  1,  1,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0,229,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0,  0,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  0, 88,  0,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  1,  1,  1,  1,  1,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4],
    [  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4]
],
    "bgmap": [

],
    "fgmap": [

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