From dc7922d80c1d133b6261b8af1d521567d2c0a35d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 30 十月 2025 16:51:39 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroAwakeCell.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/Main/System/HeroUI/HeroAwakeCell.cs b/Main/System/HeroUI/HeroAwakeCell.cs
index 5fcd1b6..d654718 100644
--- a/Main/System/HeroUI/HeroAwakeCell.cs
+++ b/Main/System/HeroUI/HeroAwakeCell.cs
@@ -1,6 +1,7 @@
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
+using DG.Tweening;
public class HeroAwakeCell : MonoBehaviour
{
@@ -29,6 +30,14 @@
selectImg.SetActive(false);
}
+ //鐗规畩鏄剧ず鐏壒鏁堢殑鎯呭喌
+ if (hero.talentAwakeRandomIDList.Count != 0 ||
+ (hero.awakeLevel != 0 && hero.awakeLevel % 6 == 0 && UIManager.Instance.IsOpened<HeroAwakeSuccessWin>()))
+ {
+ fireEffect.Play();
+ }
+
+
//1 澶╄祴 2鎶�鑳� 3灞炴��
int type = config.UnlockTalentSlot != 0 ? 1 : config.SkillID != 0 ? 2 : 3;
attrTypeImg.SetSprite("heroattrtype" + type);
@@ -53,6 +62,12 @@
}
awakeLVText.text = awakeLV.ToString();
lineImg.SetActive(hero.awakeLevel >= awakeLV);
+ if (hero.awakeLevel == awakeLV)
+ {
+ //lineImg.fillAmount閫愭笎浠�0鍒�1
+ lineImg.fillAmount = 0;
+ lineImg.DOFillAmount(1, 0.5f).SetEase(Ease.InQuad);
+ }
}
public void ShowActiveEffect(HeroInfo hero, int awakeLV)
--
Gitblit v1.8.0