hch
2026-04-07 8a665785b11c94bb49dc88aa89dbf507cb5d20c7
593 【装备品质补充】追加4档供祝福树之用 - 祝福等级,官职 颜色
2个文件已修改
65 ■■■■■ 已修改文件
Main/System/OfficialRank/OfficialRankManager.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Utility/UIHelper.cs 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/OfficialRank/OfficialRankManager.cs
@@ -270,6 +270,15 @@
            case 13:
                // ffd0f7
                return new Color32(255, 208, 247, 255);
            case 14:
                // ffefcl
                return new Color32(255, 239, 203, 255);
            case 15:
                // ffc096
                return new Color32(255, 192, 150, 255);
            case 16:
                // fe9896
                return new Color32(254, 152, 150, 255);
        }
        return Color.white;
    }
Main/Utility/UIHelper.cs
@@ -549,6 +549,25 @@
            case 28:
            case 29:
                return GetUIColor(TextColType.itemyonghen, bright);
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
                return GetUIColor(TextColType.itemanjin, bright);
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
                return GetUIColor(TextColType.itemchuanqi, bright);
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
                return GetUIColor(TextColType.itemshenhua, bright);
        }
@@ -667,6 +686,25 @@
            case 28:
            case 29:
                return GetUIOutlineColor(QualityTextColType.itemyonghen);
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
                return GetUIOutlineColor(QualityTextColType.itemanjin);
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
                return GetUIOutlineColor(QualityTextColType.itemchuanqi);
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
                return GetUIOutlineColor(QualityTextColType.itemshenhua);
        }
        return GetUIOutlineColor(QualityTextColType.itemputong);
    }
@@ -980,6 +1018,24 @@
            case 28:
            case 29:
                return AppendColor(TextColType.itemyonghen, msg, bright);
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
                return AppendColor(TextColType.itemanjin, msg, bright);
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
                return AppendColor(TextColType.itemchuanqi, msg, bright);
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
                return AppendColor(TextColType.itemshenhua, msg, bright);
        }
        return msg;