main.floors.main0=
{
    "floorId": "main0",
    "title": "主塔  入口",
    "name": "0",
    "canFlyTo": true,
    "canUseQuickShop": true,
    "defaultGround": "ground",
    "images": null,
    "map": [
    [  3,  3,  3,  3,  3, 17, 17, 17,  3,  3,  3,  3,  3],
    [  3,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  3],
    [  3,  2,  2,123,  2,  2, 87,  2,  0,122,  2,  2,  3],
    [  3,  2,  0,  0,  2,  2,201,  2,  0,  0,  0,  2,  3],
    [  3,  2,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  3],
    [  3,  2,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  3],
    [  3,  2,  0,  0,  0,  0,  0,  0,  0,  0,  0,  2,  3],
    [  3,  2,  2,  2,  2,  2, 68,  2,  2,  2,  2,  2,  3],
    [  3,  2,  5,  2,  5,  2,  0,  2,  5,  2,  5,  2,  3],
    [  3,  5,  5,  5,  5,  2,  0,  2,  5,  5,  5,  5,  3],
    [  3,  5,  5,  5,  5,  2,  0,  2,  5,  5,  5,  5,  3],
    [  3,  5,  5,  5,  5,  2,  0,  2,  5,  5,  5,  5,  3],
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3]
],
    "firstArrive": [
        {
            "type": "setGlobalAttribute",
            "name": "font",
            "value": "布丁体"
        },
        {
            "type": "text",
            "text": "\\c[18]一天，在一个和平的国度里突然出现一群恶魔，他们四处破坏，使得这个国家陷于混乱。不知不觉间，接近一半的地方已被摧毁。更不幸的是，该国的公主被恶魔的首领附身，并逃往一个小岛屿上的一座塔。为了救出公主，国王下令如果有人能救回公主，可获巨额重酬。不久，便有大批人去挑战，可惜没有人能成功……这时，出现了一个异国战士，并当众扬言可在一星期内将公主救出。而他就是我们的主角……………\n\n",
            "pos": [
                32,
                32,
                352
            ]
        },
        {
            "type": "setGlobalAttribute",
            "name": "font",
            "value": "Verdana"
        },
        {
            "type": "setValue",
            "name": "flag:禁止BGM",
            "value": "false"
        },
        {
            "type": "playBgm",
            "name": "mota.mp3"
        }
    ],
    "events": {
        "9,2": [
            {
                "type": "if",
                "condition": "((status:lv>=20)&&(flag:proof_brave===1))",
                "true": [
                    {
                        "type": "choices",
                        "text": "\t[奸商,woman]是勇者之证呢~\n我有它的增幅器，\n这样吧~$500卖给你，\n好吗？",
                        "choices": [
                            {
                                "text": "买！",
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "(status:money>=500)",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "status:money",
                                                "operator": "-=",
                                                "value": "500"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:proof_brave",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:proof_lv",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:atkTimes",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            "${flags.臸娥语==1?'彻':'章'}的等级升为${core.getFlag('proof_brave')}",
                                            {
                                                "type": "playSound",
                                                "name": "商店"
                                            }
                                        ],
                                        "false": [
                                            {
                                                "type": "playSound",
                                                "name": "操作失败"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "text": "不买",
                                "action": [
                                    {
                                        "type": "playSound",
                                        "name": "取消"
                                    },
                                    {
                                        "type": "exit"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "false": [
                    "\t[奸商,woman]又是挑战者吗？\n希望你能活着回去，\n嘻嘻嘻嘻. . . "
                ]
            }
        ],
        "9,3": null,
        "2,2": [
            {
                "type": "if",
                "condition": "core.terrainExists(2,2, 'downFloor')",
                "true": [
                    {
                        "type": "changeFloor",
                        "floorId": "base1",
                        "loc": [
                            2,
                            2
                        ],
                        "time": 500
                    }
                ],
                "false": []
            }
        ],
        "7,6": null,
        "6,10": [
            "\t[勇士,hero]就是这里了……\n攻进去!!",
            {
                "type": "hide",
                "time": 0
            }
        ],
        "3,2": {
            "trigger": null,
            "enable": false,
            "noPass": null,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "openShop",
                    "id": "keyShop",
                    "open": true
                }
            ]
        }
    },
    "changeFloor": {
        "6,2": {
            "floorId": "main1",
            "stair": "downFloor"
        },
        "2,2": null
    },
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {
        "7,6": null
    },
    "cannotMove": {},
    "downFloor": null,
    "upFloor": [
        6,
        2
    ],
    "width": 13,
    "height": 13,
    "autoEvent": {},
    "bgmap": [

],
    "fgmap": [

],
    "bgm": "mota.mp3",
    "canFlyFrom": true,
    "ratio": 1,
    "beforeBattle": {},
    "cannotMoveIn": {}
}