From 62188b271cce5e3aec5ca40d58c30f08643e2f60 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 04 九月 2025 23:20:17 +0800
Subject: [PATCH] 117 【武将】武将系统 - 天赋部分,优化自动战斗
---
Main/System/HeroUI/HeroGiftLineCell.cs | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/Main/System/HeroUI/HeroGiftLineCell.cs b/Main/System/HeroUI/HeroGiftLineCell.cs
index b4702fa..d4237d4 100644
--- a/Main/System/HeroUI/HeroGiftLineCell.cs
+++ b/Main/System/HeroUI/HeroGiftLineCell.cs
@@ -14,14 +14,7 @@
var giftID = configList[index];
var giftLV = HeroUIManager.Instance.maxGiftLevel;
cardList[i].SetActive(true);
- cardList[i].Init(giftID, giftLV, () =>
- {
- var giftConfig = HeroTalentConfig.Get(giftID);
- SmallTipWin.showText = Language.Get("SmallTipFomat", giftConfig.Name + " " + Language.Get("L1113", giftLV),
- Language.Get("HeroGift5", PlayerPropertyConfig.Get(giftConfig.AttrID).Name, PlayerPropertyConfig.GetValueDescription(giftConfig.AttrID, giftConfig.AttrValue)));
- SmallTipWin.worldPos = CameraManager.uiCamera.ScreenToWorldPoint(Input.mousePosition);
- UIManager.Instance.OpenWindow<SmallTipWin>();
- });
+ cardList[i].Init(giftID, giftLV);
}
else
{
--
Gitblit v1.8.0