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) {