main.floors.MOTA8=
{
    "floorId": "MOTA8",
    "title": "魔塔  8F",
    "name": "0",
    "canFlyTo": false,
    "canUseQuickShop": false,
    "defaultGround": "ground",
    "images": null,
    "map": [
    [  3,  3,  3,  3,  3, 17, 17, 17,  3,  3,  3,  3,  3],
    [  3,  0,  3,  0,  3,  3,128,  3,  3,  0,  3,  0,  3],
    [  3,  3,  0,  3,  0,  3, 19,  3,  0,  3,  0,  3,  3],
    [  3,  0,  3,  0,  3,  3, 19,  3,  3,  0,  3,  0,  3],
    [  3,  3,  0,  3,  0,  3, 19,  3,  0,  3,  0,  3,  3],
    [  3,  0,  3,  0,  3,  3,339,  3,  3,  0,  3,  0,  3],
    [  3,  3,  0,  3,  0,  3,338,  3,  0,  3,  0,  3,  3],
    [  3,  0,  3,  0,  3,  3,204,  3,  3,  0,  3,  0,  3],
    [  3,  3,  0,  3,  0,  3,203,  3,  0,  3,  0,  3,  3],
    [  3,  0,  3,  0,  3,  3,202,  3,  3,  0,  3,  0,  3],
    [  3,  3,  0,  3,  0,  3,201,  3,  0,  3,  0,  3,  3],
    [  3,  0,  3,  0,  3,  4,  0,  4,  3,  0,  3,  0,  3],
    [  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3]
],
    "firstArrive": null,
    "events": {
        "6,1": [
            "\t[${flags.臸娥语==1?'そ' : '公主'},princess]太好了~....\n终于有人来到了.......\n这个星期过得很辛苦呢....",
            "\t[${flags.臸娥语==1?'玦'  : '勇士'},hero]不用怕！\n我是来救你的！",
            "\t[${flags.臸娥语==1?'そ' : '公主'},princess](昏倒)",
            "\t[${flags.臸娥语==1?'玦'  : '勇士'},hero]看来一切都结束了......\n${flags.臸娥语==1?'そ':'公主'}的身体似乎很虚弱\n还是先逃出这里吧。",
            {
                "type": "setCurtain",
                "color": [
                    0,
                    0,
                    0,
                    1
                ],
                "time": 2000
            },
            {
                "type": "scrollText",
                "text": "\\c[15]\\g[HuaKangKanTing]这位勇士终于成功将${flags.臸娥语==1?'そ':'公主'}救了出来…${flags.臸娥语==1?'臸娥':'魔塔'}也被毁灭了…\n剩下的只是一堆石头而已…\n虽然，却比他预想中花多了两天才完成任务\n不过国王在${flags.臸娥语==1?'そ':'公主'}的说服下，奖金仍然是给了他\n接过奖金，这位勇士就离开这个国家了\n自此之后，再没有人见过他的踪影…\n究竟他是谁？究竟为何而来？至今依然是个谜\n总之，任务完成了，这个国家也回复一片和平的景象……",
                "time": 5000,
                "lineHeight": 1.4
            },
            {
                "type": "setValue",
                "name": "flag:jieju",
                "value": "1"
            },
            {
                "type": "function",
                "function": "function(){\ncore.triggerDebuff('remove', 'weak');\n}"
            },
            {
                "type": "if",
                "condition": "flags.useBattleAnimate",
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:jiejuming",
                        "value": "'最高血量'"
                    }
                ],
                "false": [
                    {
                        "type": "dowhile",
                        "condition": "true",
                        "data": [
                            {
                                "type": "choices",
                                "text": "选择榜单",
                                "choices": [
                                    {
                                        "text": "上一页",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jieju",
                                                "operator": "-=",
                                                "value": "1"
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最高血量",
                                        "condition": "core.getFlag('jieju')===1",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最高血量'"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最高攻防和",
                                        "condition": "core.getFlag('jieju')===1",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最高攻防和'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "(status:atk+status:def)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最高攻击",
                                        "condition": "core.getFlag('jieju')===1",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最高攻击'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:atk",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最高防御",
                                        "condition": "core.getFlag('jieju')===1",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最高防御'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:def",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多金币",
                                        "condition": "core.getFlag('jieju')===1",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多金币'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:money",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多经验",
                                        "condition": "core.getFlag('jieju')===2",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多经验'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:exp",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多留存怪物",
                                        "condition": "core.getFlag('jieju')===2",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多留存怪物'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "flag:t",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "function",
                                                "function": "function(){\nlet n = 0;\nfor (const f of core.floorIds) {\n\tn += core.searchBlockWithFilter(b => b.event.cls === 'enemys' || b.event.cls === 'enemy48', f).length;\n}\nflags.t = n\n}"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多金币商店加点次数",
                                        "condition": "core.getFlag('jieju')===2",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多金币商店加点次数'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "(flag:moneyShop3F_times+flag:moneyShopB5F_times)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多经验商店加点次数",
                                        "condition": "core.getFlag('jieju')===2",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多经验商店加点次数'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "(flag:expShop7F_times+flag:expShopB7F_times)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最低攻防和",
                                        "condition": "core.getFlag('jieju')===2",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最低攻防和'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "(status:atk + status:def) + (1000000000 - 100000*(status:atk + status:def))",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最低攻击",
                                        "condition": "core.getFlag('jieju')===3",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最低攻击'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:atk + (1000000000 - 100000*status:atk)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最低防御",
                                        "condition": "core.getFlag('jieju')===3",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最低防御'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "status:def + (1000000000 - 100000*status:def)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最少金币商店加点次数",
                                        "condition": "core.getFlag('jieju')===3",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最少金币商店加点次数'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "100000-1000*(flag:moneyShop3F_times+flag:moneyShopB5F_times)+ (flag:moneyShop3F_times+flag:moneyShopB5F_times)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最少经验商店加点次数",
                                        "condition": "core.getFlag('jieju')===3",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最少经验商店加点次数'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "100000-1000*(flag:expShop7F_times+flag:expShopB7F_times)+ (flag:expShop7F_times+flag:expShopB7F_times)",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "最多红钥匙数量",
                                        "condition": "core.getFlag('jieju')===3",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jiejuming",
                                                "value": "'最多红钥匙数量'"
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "status:hp",
                                                "value": "item:redKey",
                                                "norefresh": true
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "text": "下一页",
                                        "action": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:jieju",
                                                "operator": "+=",
                                                "value": "1"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "(flag:jieju>3)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:jieju",
                                        "value": "1"
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "(flag:jieju<1)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:jieju",
                                        "value": "3"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "if",
                "condition": "flags.useBattleAnimate",
                "true": [
                    {
                        "type": "win",
                        "reason": "回味经典(不计榜)",
                        "norank": 1
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "(flag:proof_brave>0)",
                        "true": [
                            {
                                "type": "win",
                                "reason": "勇者之证（${flags.jiejuming}）"
                            }
                        ],
                        "false": [
                            {
                                "type": "if",
                                "condition": "(flag:proof_sage>0)",
                                "true": [
                                    {
                                        "type": "win",
                                        "reason": "贤者之证（${flags.jiejuming}）"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "if",
                                        "condition": "(flag:proof_tyrant>0)",
                                        "true": [
                                            {
                                                "type": "win",
                                                "reason": "霸者之证（${flags.jiejuming}）"
                                            }
                                        ],
                                        "false": [
                                            {
                                                "type": "win",
                                                "reason": "无章通关（${flags.jiejuming}）"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "cannotMove": {},
    "width": 13,
    "height": 13,
    "autoEvent": {},
    "bgmap": [

],
    "fgmap": [

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