完善盾卫技能

This commit is contained in:
huadexuan committed 2026-10-11 22:56:46 +08:00
1 parent 195a459c76
commit 9572db06ad
41 files changed
+25241 -351

No files matched your search

@@ -16,6 +16,9 @@ public class StatusEffectController : MonoBehaviour
public bool IsStunned => stunnedRemaining > 0f;
public float StunnedRemaining => Mathf.Max(0f, stunnedRemaining);
/// <summary>是否处于眩晕免疫/霸体状态</summary>
public bool isStunImmune = false;
private void Awake()
{
animator = GetComponent<Animator>();
@@ -23,7 +26,7 @@ public class StatusEffectController : MonoBehaviour
public void ApplyStun(float duration)
{
if (duration <= 0f)
if (duration <= 0f || isStunImmune)
{
return;
}