lcy
2026-01-08 dc27a25b11e788fcc538c055abdd4880e534b0f2
386 跳过按钮

1.移除提示中特权卡内容
2.冒险关卡过30章那个提示,改成x级前原逻辑提示,x级后,没开启永久特权卡玩家,不再弹开特权的提示,只弹剩余x回合的提示
G.功能配置表格 BattleButton 新增数值5:主线boss战场x级后,没开启永久特权卡玩家,不再弹开特权的提示,只弹剩余x回合的提示
2个文件已修改
35 ■■■■■ 已修改文件
Main/System/Battle/BaseBattleWin.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Battle/BattleManager.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Battle/BaseBattleWin.cs
@@ -233,7 +233,7 @@
        if (!FuncOpenLVConfig.HasKey(passFuncId))
            return true;
        int lv = FuncOpenLVConfig.Get(passFuncId).LimitLV;
        SysNotifyMgr.Instance.ShowTip("BattlePass2", lv);
        SysNotifyMgr.Instance.ShowTip("BattlePass4", lv);
        return false;
    }
@@ -292,27 +292,34 @@
        // 主线BOSS战场特殊提示
        if (battleFieldName == BattleConst.StoryBossBattleField)
        {
            if (!hasForeverPrivilege || IsStoryBossChapterLimited())
            int lv = PlayerDatas.Instance.baseData.LV;
            if (lv <= BattleManager.Instance.passLV)
            {
                SysNotifyMgr.Instance.ShowTip("BattlePass3", waitRound, BattleManager.Instance.passChapterID);
                if (!hasForeverPrivilege || IsStoryBossChapterLimited())
                {
                    SysNotifyMgr.Instance.ShowTip("BattlePass3", waitRound, BattleManager.Instance.passChapterID);
                }
                else
                {
                    SysNotifyMgr.Instance.ShowTip("BattlePass", waitRound);
                }
            }
            else
            {
                SysNotifyMgr.Instance.ShowTip("BattlePass", waitRound);
                if (hasForeverPrivilege && IsStoryBossChapterLimited())
                {
                    SysNotifyMgr.Instance.ShowTip("BattlePass3", waitRound, BattleManager.Instance.passChapterID);
                }
                else
                {
                    SysNotifyMgr.Instance.ShowTip("BattlePass", waitRound);
                }
            }
        }
        // 其他战场提示
        else
        {
            if (hasForeverPrivilege)
            {
                SysNotifyMgr.Instance.ShowTip("BattlePass", waitRound);
            }
            else
            {
                SysNotifyMgr.Instance.ShowTip("BattlePass1", waitRound);
            }
            SysNotifyMgr.Instance.ShowTip("BattlePass", waitRound);
        }
    }
Main/System/Battle/BattleManager.cs
@@ -31,6 +31,7 @@
    public Dictionary<int, int> passDict = new Dictionary<int, int>();
    public Dictionary<int, int> foreverPrivilegePassDict = new Dictionary<int, int>();
    public int passChapterID;
    public int passLV;
    public int fightBossGuideID;
    public int fightGuideMainLevelLimit;
@@ -72,6 +73,7 @@
        passDict = ConfigParse.ParseIntDict(config.Numerical2);
        foreverPrivilegePassDict = ConfigParse.ParseIntDict(config.Numerical3);
        passChapterID = int.Parse(config.Numerical4);
        passLV = int.Parse(config.Numerical5);
    }