From 4b169e9286cc62c2dff0b2cb2bc21e49c2b52596 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 06 二月 2026 17:09:48 +0800
Subject: [PATCH] 475 时机礼包-客户端 接入触发时机,山寨界面,记录在本地
---
Main/System/HeroUI/HeroTrainWin.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index 07fd7f1..b9f6212 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -308,7 +308,7 @@
deleteTip.SetActive(false);
if (hero != null && hero.Quality == 1 && HeroUIManager.Instance.IsTheSameHeroFullStar(hero.heroId))
{
-
+
deleteTip.SetActive(true);
}
}
@@ -578,7 +578,14 @@
});
HeroUIManager.Instance.lastFightPower = new KeyValuePair<string, long>(hero.itemHero.guid, hero.CalculateFightPower(false));
+ // 濡傛灉姝eソ娑堣�楀畬锛屼笉瑙﹀彂鍥哄畾姒傜巼鐨勫垽瀹�
+ if (!TimingGiftManager.Instance.TryAddWhenExactConsumption(3, PackType.Item,itemID, needCount))
+ {
+ TimingGiftManager.Instance.TryAddWithFixedProbabilityWhenSufficient(3, PackType.Item,itemID, needCount);
+ }
+ return;
}
+ TimingGiftManager.Instance.TryAddWhenInsufficient(3, itemID, needCount);
}
@@ -925,7 +932,7 @@
}
}
-
+
#region 绐佺牬鍔熻兘
void DisplayTrainOrBreak(HeroInfo hero)
--
Gitblit v1.8.0