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": "setValue",
            "name": "flag:Reach",
            "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": {
        "11,9": [
            "\t[福利官,greenMan]本次循環首次到達40/F，送你400金幣",
            {
                "type": "setValue",
                "name": "status:money",
                "operator": "+=",
                "value": "400"
            },
            {
                "type": "hide",
                "remove": true
            }
        ],
        "6,7": [
            {
                "type": "closeDoor",
                "id": "specialDoor",
                "loc": [
                    6,
                    8
                ]
            },
            "\t[骑士队长,yellowKnight]我还在担心你不能来了。我确信这次我一定能杀了你。给我上！"
        ],
        "11,7": [
            {
                "type": "if",
                "condition": "(flag:story40==0)",
                "true": [
                    "\t[公主,princess]我…..我想起來了。那些歌聲，是我對自由的渴望。是你一直在追隨我？",
                    "\t[勇士（虛弱地笑）,N331]只要能看到你笑，我的傷痛又算得了什麼？",
                    "（魔王的聲音從黑暗中響起）",
                    "\t[魔王,blackKing]你們逃不掉的。她屬於這座城堡，屬於我！",
                    "\t[公主,princess]（緊握勇士的手）不，我不屬於任何人！我要和他一起離開！",
                    "公主的淚水滴落在勇士的傷口上，奇蹟般地癒合，黑暗似乎被驅散",
                    {
                        "type": "setValue",
                        "name": "status:hp",
                        "value": "flag:40F生命"
                    },
                    "\t[公主,princess]我不會再逃避了。我們一起面對他！",
                    {
                        "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": "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": "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": "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": "win",
                                                        "reason": "E4:傷痕的縫補 (綜合)"
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "false": [
                    {
                        "type": "setValue",
                        "name": "status:hp",
                        "value": "flag:40F生命"
                    },
                    {
                        "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]就算我死了，都要找你陪葬",
            {
                "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,137,  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"
}