From a08c5bf246caa43a12025f619ba491c4194ef2fa Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 14 十二月 2025 02:00:38 +0800
Subject: [PATCH] 0312 区分战斗频繁消息提示; 修复盛典任务红点
---
Main/System/Achievement/AchievementManager.cs | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Main/System/Achievement/AchievementManager.cs b/Main/System/Achievement/AchievementManager.cs
index dd399e9..655bbc5 100644
--- a/Main/System/Achievement/AchievementManager.cs
+++ b/Main/System/Achievement/AchievementManager.cs
@@ -163,6 +163,8 @@
};
+ public static int[] galaTypes = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
+
void UpdateRedpoint(List<int> _types)
{
if (_types.IsNullOrEmpty())
@@ -171,6 +173,13 @@
}
bool isGalaRed = false;
+ if (_types.Count == 1)
+ {
+ if (galaTypes.Contains(_types[0]))
+ {
+ _types = galaTypes.ToList();
+ }
+ }
foreach (var type in _types)
{
--
Gitblit v1.8.0