From 14a9dc8c9b83dd7627f8ed99a163ebc41c1f9b8e Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期一, 08 九月 2025 00:53:45 +0800 Subject: [PATCH] 117 【武将】武将系统 - 觉醒 --- Main/System/HeroUI/HeroUIManager.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/Main/System/HeroUI/HeroUIManager.cs b/Main/System/HeroUI/HeroUIManager.cs index 429d79e..f68c4f4 100644 --- a/Main/System/HeroUI/HeroUIManager.cs +++ b/Main/System/HeroUI/HeroUIManager.cs @@ -84,6 +84,18 @@ { UIManager.Instance.OpenWindow<HeroGiftEatSuccessWin>(); } + else if (waitResponse.type == HeroFuncType.Awake) + { + var config = HeroAwakeConfig.GetHeroAwakeConfig(hero.heroId, hero.awakeLevel); + if (hero.talentAwakeRandomIDList.Count > 0) + { + UIManager.Instance.OpenWindow<HeroAwakeSelectGiftWin>(); + } + else if (config.SkillID != 0 || config.UnlockTalentSlot != 0) + { + UIManager.Instance.OpenWindow<HeroAwakeSuccessWin>(); + } + } waitResponse = default; } @@ -304,6 +316,7 @@ } +#region 绛夊緟鏈嶅姟绔搷搴� public struct WaitHeroFuncResponse { public HeroFuncType type; @@ -317,5 +330,6 @@ None = 0, //鏃犲姛鑳� Break = 1, //绐佺牬 Gift = 2, //澶╄祴鍚炲櫖 - + Awake = 3, //瑙夐啋 } +#endregion \ No newline at end of file -- Gitblit v1.8.0