From ed4312ff529fd56bad20ef15eeeb1a7e45051ae3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 04 六月 2026 18:04:26 +0800
Subject: [PATCH] 花鬘复活卡死问题修复
---
Main/System/Battle/Skill/SkillBase.Finish.cs | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Main/System/Battle/Skill/SkillBase.Finish.cs b/Main/System/Battle/Skill/SkillBase.Finish.cs
index b8758c4..c73f850 100644
--- a/Main/System/Battle/Skill/SkillBase.Finish.cs
+++ b/Main/System/Battle/Skill/SkillBase.Finish.cs
@@ -131,7 +131,7 @@
/// </summary>
private void ReportStuckIfNeeded(string reason)
{
-#if UNITY_EDITOR
+#if false && UNITY_EDITOR
_stuckCheckCount++;
// 闃诲鍘熷洜鍒囨崲浜� 鈫� 绔嬪埢鎵撲竴娆★紝骞堕噸缃鏁�
@@ -210,19 +210,19 @@
string skinInfo = $" skillSkinConfig.SkillMotionName={(skillSkinConfig == null ? "null" : (string.IsNullOrEmpty(skillSkinConfig.SkillMotionName) ? "(绌�)" : skillSkinConfig.SkillMotionName))}";
string skillEffectDump = skillEffect == null ? " skillEffect=null" : $" skillEffect: {skillEffect.DumpState()}";
- BattleDebug.LogError(
- "SkillBase.IsFinished 鐤戜技鍗℃ (鎸佺画 " + _stuckCheckCount + " 娆℃湭瀹屾垚)\n" +
- $" skillId={skillId} caster={casterId} 鍘熷洜: {reason}\n" +
- $" StateFlags={_stateFlags}\n" +
- $"{skillEffectDump}\n" +
- $"{skinInfo}\n" +
- $"{casterAnim}\n" +
- $" currentWaitingSkill.Count={currentWaitingSkill.Count}\n{subSkillDump}\n" +
- $" packList.Count={(packList?.Count ?? 0)}\n{packListDump}\n" +
- $" innerRecordPlayer.IsPlaying={innerPlaying}\n" +
- $"{innerPlayerDump}\n" +
- $" tempDeadPackList.Count={tempDeadPackList.Count}\n" +
- $" buffPackCollections.Count={buffPackCollections.Count}");
+ // BattleDebug.LogError(
+ // "SkillBase.IsFinished 鐤戜技鍗℃ (鎸佺画 " + _stuckCheckCount + " 娆℃湭瀹屾垚)\n" +
+ // $" skillId={skillId} caster={casterId} 鍘熷洜: {reason}\n" +
+ // $" StateFlags={_stateFlags}\n" +
+ // $"{skillEffectDump}\n" +
+ // $"{skinInfo}\n" +
+ // $"{casterAnim}\n" +
+ // $" currentWaitingSkill.Count={currentWaitingSkill.Count}\n{subSkillDump}\n" +
+ // $" packList.Count={(packList?.Count ?? 0)}\n{packListDump}\n" +
+ // $" innerRecordPlayer.IsPlaying={innerPlaying}\n" +
+ // $"{innerPlayerDump}\n" +
+ // $" tempDeadPackList.Count={tempDeadPackList.Count}\n" +
+ // $" buffPackCollections.Count={buffPackCollections.Count}");
#endif
}
--
Gitblit v1.8.0