main.floors.MT40=
{
    "floorId": "MT40",
    "title": "主塔 40 层",
    "name": "40",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": false,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "images": [],
    "ratio": 3,
    "defaultGround": "ground",
    "firstArrive": [
        {
            "type": "if",
            "condition": "(flag:Mreach40==0)",
            "true": [
                {
                    "type": "setValue",
                    "name": "flag:Reach",
                    "operator": "+=",
                    "value": "1"
                },
                {
                    "type": "setValue",
                    "name": "flag:Mreach40",
                    "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": {
        "6,7": [
            {
                "type": "closeDoor",
                "id": "specialDoor",
                "loc": [
                    6,
                    8
                ]
            },
            "\t[骑士队长,yellowKnight]我还在担心你不能来了。我确信这次我一定能杀了你。给我上！"
        ],
        "11,7": [
            {
                "type": "if",
                "condition": "(flag:story40==0)",
                "true": [
                    "勇士奮力迎戰，身負重傷，氣息虛弱，此時公主眼神動搖，破碎的記憶碎片湧入腦海",
                    "\t[公主,princess]我…..我想起來了！那些纏綿的歌聲，是我對自由的渴望，是我藏在心底的呼喚……是你，一直不離不棄，一直在追隨我、拯救我？",
                    "\t[勇士（虛弱地笑）,N331](虛弱卻溫柔地笑，滿眼都是公主)\n只要能喚回你的記憶，只要能看到你重獲自由後的笑容，我身上所有的傷痛，又算得了什麼？",
                    "魔王的聲音從黑暗深處驟然響起，滿是憤怒與執著",
                    "\t[魔王,blackKing]你們別想逃離這裡！她是我的囚籠，永遠屬於這座城堡，屬於我！誰也別想帶走她！",
                    "\t[公主,princess](快步上前，緊緊握住勇士沾滿血蹟的手，眼神堅定，不再有半分退縮)\n不，我從來不屬於任何人，我只屬於我自己！我要和他一起離開，遠離這黑暗之地！",
                    "(公主的淚水滴落在勇士的傷口上，溫柔的光暈驟然綻開，傷口奇蹟般癒合，周圍的黑暗也被慢慢驅散)",
                    {
                        "type": "setValue",
                        "name": "status:hp",
                        "value": "flag:40F生命"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:40reset",
                        "operator": "+=",
                        "value": "1"
                    },
                    "\t[公主,princess]我不會再逃避，不會再懦弱。這一次，我們一起面對他，一起爭取屬於我們的自由！",
                    "\t[勇士,N331]心意堅定：願我青春皮膚，回憶遺骨，落魄也投入，不負這場奔赴",
                    {
                        "type": "choices",
                        "text": "\t[旁白,youngMan]想繼續旅程嗎",
                        "choices": [
                            {
                                "text": "我要繼續旅程",
                                "color": [
                                    245,
                                    68,
                                    217,
                                    1
                                ],
                                "action": [
                                    "公主已加入隊伍",
                                    {
                                        "type": "setValue",
                                        "name": "item:I364",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:story0",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:story40",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "follow",
                                        "name": "GongZhu.png"
                                    },
                                    {
                                        "type": "openDoor",
                                        "loc": [
                                            6,
                                            8
                                        ]
                                    },
                                    {
                                        "type": "changeFloor",
                                        "floorId": "MT41",
                                        "loc": [
                                            6,
                                            1
                                        ]
                                    }
                                ]
                            },
                            {
                                "text": "我想離開",
                                "color": [
                                    177,
                                    121,
                                    243,
                                    1
                                ],
                                "action": [
                                    {
                                        "type": "choices",
                                        "text": "\t[旁白,youngMan]想用什麼方式計分",
                                        "choices": [
                                            {
                                                "text": "生命值",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "item:greenKey*1e8"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E4:傷痕的縫補 (生命)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E4:傷痕的縫補 (生命)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E4:傷痕的縫補 (生命)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "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*1e8"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "-=",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E4:傷痕的縫補 (攻擊)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E4:傷痕的縫補 (攻擊)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E4:傷痕的縫補 (攻擊)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "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*1e8"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "-=",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E4:傷痕的縫補 (防禦)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E4:傷痕的縫補 (防禦)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E4:傷痕的縫補 (防禦)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "text": "綜合值",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "item:greenKey*1e8"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "status:def*200"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "status:hp",
                                                        "operator": "+=",
                                                        "value": "status:atk*200"
                                                    },
                                                    {
                                                        "type": "if",
                                                        "condition": "(flag:Easy3==1)",
                                                        "true": [
                                                            {
                                                                "type": "win",
                                                                "reason": "無敵E4:傷痕的縫補 (綜合)"
                                                            }
                                                        ],
                                                        "false": [
                                                            {
                                                                "type": "if",
                                                                "condition": "(flag:Easy2==1)",
                                                                "true": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "簡單E4:傷痕的縫補 (綜合)"
                                                                    }
                                                                ],
                                                                "false": [
                                                                    {
                                                                        "type": "win",
                                                                        "reason": "E4:傷痕的縫補 (綜合)"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "(flag:40reset==0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "status:hp",
                                "value": "flag:40F生命"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:40reset",
                                "operator": "+=",
                                "value": "1"
                            }
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            8
                        ]
                    },
                    {
                        "type": "changeFloor",
                        "floorId": "MT41",
                        "loc": [
                            6,
                            1
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {
        "11,11": {
            "floorId": ":before",
            "stair": "upFloor"
        }
    },
    "beforeBattle": {},
    "afterBattle": {
        "9,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "8,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "7,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "5,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "4,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "3,4": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "10,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "9,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "8,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "4,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "3,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "2,2": [
            {
                "type": "setValue",
                "name": "flag:40floor",
                "operator": "+=",
                "value": "1"
            },
            {
                "type": "if",
                "condition": "(flag:40floor==12)",
                "true": [
                    {
                        "type": "openDoor",
                        "loc": [
                            6,
                            2
                        ]
                    }
                ]
            }
        ],
        "6,1": [
            "\t[骑士队长,yellowKnight](目露兇光，嘶吼著撲向勇士)\n闖入者，我就算是死，也要拉著你一起陪葬，別想再前進半步！",
            {
                "type": "playSound",
                "name": "door.mp3"
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        2,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        3,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "21",
                "loc": [
                    [
                        4,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        8,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        9,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "27",
                "loc": [
                    [
                        10,
                        2
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        3,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        4,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "32",
                "loc": [
                    [
                        5,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        7,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        8,
                        4
                    ]
                ]
            },
            {
                "type": "setBlock",
                "number": "28",
                "loc": [
                    [
                        9,
                        4
                    ]
                ]
            },
            {
                "type": "hide",
                "loc": [
                    [
                        6,
                        7
                    ]
                ],
                "time": 0
            },
            {
                "type": "openDoor",
                "loc": [
                    11,
                    6
                ]
            },
            {
                "type": "setValue",
                "name": "flag:40F生命",
                "value": "status:hp"
            },
            {
                "type": "setValue",
                "name": "status:hp",
                "value": "1"
            },
            {
                "type": "setValue",
                "name": "flag:40F",
                "value": "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,  1,226,  1,  0,  0,  0,  0,  1],
    [  1,  0,224,224,224,  1, 85,  1,227,227,227,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,212,212,212,  0,225,225,225,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1, 85,  1],
    [  1,  1,  1,  1,  0,  0,  0,  0,  0,  1,  1,132,  1],
    [  1,  1,  1,  1,  1,  1, 83,  1,  1,  1,  1,  1,  1],
    [  1, 28, 21,  0,  1,216,  0,216,  1, 31,224,456,  1],
    [  1, 32,  0,  0,  1,  0,  0,  0,  1,225,  0,  0,  1],
    [  1, 27,  0,227, 82,  0,  0,  0, 81,  0,  0, 88,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

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