diff --git a/Assets/SkillEditor/Runtime/Effect/BuffEffectSpec.cs b/Assets/SkillEditor/Runtime/Effect/BuffEffectSpec.cs index afdf42c..f816861 100644 --- a/Assets/SkillEditor/Runtime/Effect/BuffEffectSpec.cs +++ b/Assets/SkillEditor/Runtime/Effect/BuffEffectSpec.cs @@ -13,7 +13,7 @@ public class BuffEffectSpec : GameplayEffectSpec protected override SpecExecutionContext GetExecutionContext() { // Buff 的目标就是 Target(Buff 持有者) - var currentTarget = Target ?? Context?.GetTarget(NodeData?.targetType ?? Data.TargetType.ParentInput); + var currentTarget = Target ?? Context?.GetTarget(BuffNodeData?.targetType ?? Data.TargetType.ParentInput); return new SpecExecutionContext {