hch
2026-01-29 91e6f05fcce9820be10d22993ebce2418f08bbcc
63 【命格】命格问题
2个文件已修改
38 ■■■■■ 已修改文件
Main/System/FuncPreset/FuncPresetChooseCells.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Mingge/MinggeWin.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/FuncPreset/FuncPresetChooseCells.cs
@@ -44,6 +44,11 @@
        curFuncType = funcType;
        var selectID = FuncPresetManager.Instance.GetFuncPresetIDByBattleType(battleType, funcType);
        if (unFoldID != 0 && selectID != unFoldID)
        {
            //其他地方切换了方案,需要验证当前展开是不是同一个
            unFoldID = 0;
        }
        var showCount = FuncPresetManager.Instance.GetShowFuncPresetCount(funcType);
        unFoldBtn.SetActive(showCount > 4);
        unFoldBtn.AddListener(() =>
Main/System/Mingge/MinggeWin.cs
@@ -49,7 +49,7 @@
            }
            AttributeManager.Instance.OpenMinggeSimpleAttributeWin(MinggeManager.Instance.minggeAttrDict, skillDict);
        });
        tyBtn.AddListener(SendTuiyan);
        tyBtn.AddListener(CheckTuiyan);
        for (int i = 0; i < suiteNameTexts.Length; i++)
        {
            int index = i;
@@ -241,6 +241,37 @@
        moneyMoveByPathCell.PlayAnimation(MinggeManager.Instance.deitemID, 8, 2);
    }
    void CheckTuiyan()
    {
        if (!MinggeManager.Instance.qlNotNotify && PackManager.Instance.GetItemCountByID(PackType.Item, MinggeManager.Instance.qlItemID) > 0)
        {
            ConfirmCancel.ToggleConfirmCancel(
                Language.Get("L1003"),
                Language.Get("Mingge31"),
                Language.Get("TianziBillborad08"),
                Language.Get("Mingge35"),
                Language.Get("Mingge34"),
                (bool isOK, bool isToggle) =>
                {
                    if (isOK)
                    {
                        UIManager.Instance.OpenWindow<MinggePrayWin>();
                    }
                    else
                    {
                        SendTuiyan();
                    }
                    MinggeManager.Instance.qlNotNotify = isToggle;
                },
                false
            );
            return;
        }
        SendTuiyan();
    }
    void SendTuiyan()
    {
        if (MinggeManager.Instance.isStartAuto)