main.floors.MT0=
{
    "floorId": "MT0",
    "title": "老虎机",
    "name": "T",
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "defaultGround": "grass",
    "images": [],
    "ratio": 1,
    "map": [
    [152,152,152,152,152,  7,131,  8,152,152,152,152,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,201,  0,205,  0,209,  0,213,  0,217,  0,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,204,  0,206,  0,212,  0,214,  0,218,  0,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,215,  0,226,  0,221,  0,219,  0,246,  0,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,236,  0,227,  0,223,  0,220,  0,245,  0,152],
    [152,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,152],
    [152,  0,  0,  0,  0,  0, 45,  0,  0,  0,  0,  0,152],
    [152,152,152,152,152,152,  0,152,152,152,152,152,152]
],
    "firstArrive": [],
    "parallelDo": "",
    "events": {
        "6,0": [
            {
                "type": "choices",
                "text": "\t[老虎机,moneyShop]欢迎体验魔塔老虎机！",
                "choices": [
                    {
                        "text": "花费100金币抽奖一次",
                        "need": "status:money>=100",
                        "_disabled": true,
                        "action": [
                            {
                                "type": "playSound",
                                "name": "shop.mp3"
                            },
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "100"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:roll",
                                "value": "core.rand(100)"
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=0)&&(flag:roll<10))",
                                "true": [
                                    "你获得了\r[yellow]普通奖\r[white]！\n生命值+600",
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "operator": "+=",
                                        "value": "600"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=10)&&(flag:roll<20))",
                                "true": [
                                    "你获得了\r[yellow]普通奖\r[white]！\n攻击力+3",
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "3"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=20)&&(flag:roll<30))",
                                "true": [
                                    "你获得了\r[yellow]普通奖\r[white]！\n防御力+3",
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "3"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=30)&&(flag:roll<40))",
                                "true": [
                                    "你获得了\r[yellow]普通奖\r[white]！\n护盾+6",
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "6"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=40)&&(flag:roll<50))",
                                "true": [
                                    "你获得了\r[yellow]普通奖\r[white]！\n攻击+1，防御+1，护盾+2",
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "2"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=50)&&(flag:roll<55))",
                                "true": [
                                    "你获得了\r[aqua]高级奖\r[white]！\n生命值+1200",
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "operator": "+=",
                                        "value": "1200"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=55)&&(flag:roll<60))",
                                "true": [
                                    "你获得了\r[aqua]高级奖\r[white]！\n攻击力+6",
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "6"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=60)&&(flag:roll<65))",
                                "true": [
                                    "你获得了\r[aqua]高级奖\r[white]！\n防御力+6",
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "6"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=65)&&(flag:roll<70))",
                                "true": [
                                    "你获得了\r[aqua]高级奖\r[white]！\n护盾+12",
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "12"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=70)&&(flag:roll<75))",
                                "true": [
                                    "你获得了\r[aqua]高级奖\r[white]！\n攻击+2，防御+2，护盾+4",
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "2"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "2"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "4"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=75)&&(flag:roll<80))",
                                "true": [
                                    "你获得了\r[red]大奖\r[white]！\n攻击+6，防御+6",
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "6"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "6"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=80)&&(flag:roll<85))",
                                "true": [
                                    "你获得了\r[red]大奖\r[white]！\n生命值+2400",
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "operator": "+=",
                                        "value": "2400"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=85)&&(flag:roll<90))",
                                "true": [
                                    "你获得了\r[red]大奖\r[white]！\n生命+600，攻击+3，防御+3，护盾+6",
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "operator": "+=",
                                        "value": "600"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "3"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "3"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "6"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=90)&&(flag:roll<92))",
                                "true": [
                                    "你获得了\r[lime]更大奖\r[white]！\n生命+1200，攻击+6，防御+6，护盾+12",
                                    {
                                        "type": "setValue",
                                        "name": "status:hp",
                                        "operator": "+=",
                                        "value": "1200"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:atk",
                                        "operator": "+=",
                                        "value": "6"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:def",
                                        "operator": "+=",
                                        "value": "6"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "status:mdef",
                                        "operator": "+=",
                                        "value": "12"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=92)&&(flag:roll<94))",
                                "true": [
                                    "\r[gold]太幸运了！\r[white]\n金币+100",
                                    {
                                        "type": "setValue",
                                        "name": "status:money",
                                        "operator": "+=",
                                        "value": "100"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=94)&&(flag:roll<96))",
                                "true": [
                                    "\r[gold]太幸运了！\r[white]\n金币+150",
                                    {
                                        "type": "setValue",
                                        "name": "status:money",
                                        "operator": "+=",
                                        "value": "150"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=96)&&(flag:roll<98))",
                                "true": [
                                    "\r[gold]太幸运了！\r[white]\n神秘的法杖+1",
                                    {
                                        "type": "setValue",
                                        "name": "item:wand",
                                        "operator": "+=",
                                        "value": "1"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "((flag:roll>=98)&&(flag:roll<99))",
                                "true": [
                                    "\r[gold]太幸运了！\r[white]\n金币+200",
                                    {
                                        "type": "setValue",
                                        "name": "status:money",
                                        "operator": "+=",
                                        "value": "200"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "(flag:roll>=99)",
                                "true": [
                                    "\r[gold]太幸运了！\r[white]\n神秘的法杖+2",
                                    {
                                        "type": "setValue",
                                        "name": "item:wand",
                                        "operator": "+=",
                                        "value": "2"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "text": "抽奖一次（花费100金币）",
                        "need": "status:money>=100",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "100"
                            },
                            {
                                "type": "insert",
                                "name": "抽奖事件"
                            }
                        ]
                    },
                    {
                        "text": "十连抽！！！",
                        "color": [
                            255,
                            215,
                            0,
                            1
                        ],
                        "need": "status:money>=1000",
                        "action": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "-=",
                                "value": "1000"
                            },
                            {
                                "type": "for",
                                "name": "temp:A",
                                "from": "0",
                                "to": "9",
                                "step": "1",
                                "data": [
                                    {
                                        "type": "insert",
                                        "name": "抽奖事件"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "text": "奖池一览",
                        "action": [
                            "\r[yellow]普通奖\r[white]\n10% 生命值+600\n10% 攻击力+3\n10% 防御力+3\n10% 护盾+6\n10% 攻击+1，防御+1，护盾+2",
                            "\r[aqua]高级奖\r[white]\n5% 生命值+1200\n5% 攻击力+6\n5% 防御力+6\n5% 护盾+12\n5% 攻击+2，防御+2，护盾+4",
                            "\r[red]大奖\r[white]\n5% 攻击+6，防御+6\n5% 生命+2400\n5% 生命+600，攻击+3，防御+3，护盾+6\n\r[lime]更大奖\r[white]\n2% 生命+1200，攻击+6，防御+6，护盾+12",
                            "\r[gold]特别奖\r[white]\n2% 金币+100\n（低情商：无事发生；高情商：再抽一次！）\n2% 金币+150\n2% 获得安慰法杖（可额外计分）\n1% 金币+300\n1% 获得安慰法杖×2"
                        ]
                    },
                    {
                        "text": "结束游戏",
                        "action": [
                            {
                                "type": "confirm",
                                "text": "确认要结束游戏吗?",
                                "yes": [
                                    {
                                        "type": "choices",
                                        "text": "\t[老虎机,moneyShop]请选择分数结算方式",
                                        "choices": [
                                            {
                                                "text": "生命结算（安慰法杖10000分/个）",
                                                "action": [
                                                    {
                                                        "type": "win",
                                                        "reason": "生命结算"
                                                    }
                                                ]
                                            },
                                            {
                                                "text": "金币结算（安慰法杖1000分/个）",
                                                "action": [
                                                    {
                                                        "type": "win",
                                                        "reason": "金币结算"
                                                    }
                                                ]
                                            },
                                            {
                                                "text": "等级结算（安慰法杖1分/个）",
                                                "action": [
                                                    {
                                                        "type": "win",
                                                        "reason": "等级结算"
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ],
                                "no": []
                            }
                        ]
                    }
                ]
            }
        ],
        "7,0": [
            {
                "type": "if",
                "condition": "(status:exp>=20)",
                "true": [
                    {
                        "type": "autoSave",
                        "removeLast": true
                    },
                    "等级提升！",
                    {
                        "type": "setValue",
                        "name": "status:exp",
                        "value": "0"
                    },
                    {
                        "type": "setValue",
                        "name": "status:lv",
                        "operator": "+=",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "status:lv>50",
                        "true": [
                            "楼层即将重置！重置后怪物能力提升！\n所有怪物攻击+30，防御+20，生命+50"
                        ],
                        "false": [
                            "楼层即将重置！重置后怪物能力提升！\n所有怪物攻击+25，防御+15，生命+40"
                        ]
                    },
                    "已经自动存档；读档后，请触摸老虎机\r[gold]右侧翅膀\r[gold]以继续游戏！",
                    {
                        "type": "changeFloor",
                        "floorId": "MT0",
                        "loc": [
                            6,
                            12
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "cannotMove": {},
    "bgmap": [

],
    "fgmap": [

],
    "width": 13,
    "height": 13,
    "autoEvent": {
        "5,0": {
            "0": {
                "condition": "status:exp>=20",
                "currentFloor": true,
                "priority": 0,
                "delayExecute": false,
                "multiExecute": true,
                "data": [
                    {
                        "type": "autoSave",
                        "removeLast": true
                    },
                    "等级提升！",
                    {
                        "type": "setValue",
                        "name": "status:exp",
                        "value": "0"
                    },
                    {
                        "type": "setValue",
                        "name": "status:lv",
                        "operator": "+=",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(status:lv>50)",
                        "true": [
                            "楼层即将重置！重置后怪物能力提升！\n所有怪物攻击+30，防御+20，生命+50"
                        ],
                        "false": [
                            "楼层即将重置！重置后怪物能力提升！\n所有怪物攻击+25，防御+15，生命+40"
                        ]
                    },
                    "已经自动存档；读档后，请触摸老虎机\r[gold]右侧翅膀\r[gold]以继续游戏！",
                    {
                        "type": "changeFloor",
                        "floorId": "MT0",
                        "loc": [
                            6,
                            12
                        ]
                    }
                ]
            },
            "1": null
        }
    },
    "beforeBattle": {},
    "cannotMoveIn": {},
    "eachArrive": [
        {
            "type": "forbidSave",
            "forbid": true
        }
    ],
    "bgm": "lawnbgm.mp3"
}