From 0630103ce25d4f329fc14b4de8f16b583bae0aff Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Tue, 27 May 2025 20:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=93=9D=E4=BB=99=E5=A5=B3=E6=A3=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HotFix/GameLogic/Actor/ActorHItem.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index 02f48ab6..ff3df166 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -262,6 +262,25 @@ namespace GameLogic // 龙卷风特效特殊处理 } + else if (buff.m_Id == 4) + { + // 蓝仙女棒的额外特殊处理 + var eGo = GameModule.Resource.LoadGameObject("NWS"); + eGo.transform.SetParent(m_rectCar.transform); + eGo.transform.localPosition = new Vector3(-1500, 0, 0); + eGo.transform.localScale = Vector3.one; + eGo.gameObject.SetActive(true); + + eGo.transform.DOLocalMoveX(0, 4f).OnComplete(() => + { + // 特效播放完毕后销毁 + GameObject.Destroy(eGo); + }); + + + // 加载常规特效 + LoadEffectGo(giftConfig, buff); + } else if (buff.m_Id == 7) { // 全屏特效特殊处理