From 26a987c08a205b699b1f6c2b58946ae691bc4be6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Thu, 26 Jun 2025 15:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=97=AE=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=8C=E8=B0=83=E6=95=B4=E6=A3=80=E6=B5=8B=E6=95=B0?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index c3eb4188..d31b4429 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -66,7 +66,10 @@ namespace GameLogic base.OnCreate(); - timerId = GameModule.Timer.AddTimer(TimerHandler, 0.01f, true); + if (timerId == -1) + { + timerId = GameModule.Timer.AddTimer(TimerHandler, 0.1f, true); + } } protected override void OnDestroy() @@ -167,6 +170,7 @@ namespace GameLogic { // 最终结果值 = 初始推力+玩家数量 + 永久增加推力值 m_AddPush = EventConts.InitPower + (m_ListUnitPlayDatas.Count * EventConts.PlayerScale) + m_AllAddPush; + //Log.Debug(EventConts.InitPower + (m_ListUnitPlayDatas.Count * EventConts.PlayerScale)); foreach (var item in m_Buffs) {