{ //幽灵跟随测试脚本 "AbilityName" : "TestPlayer_Ability_Tianheng_34", "AbilityStacking": "Unique", "DefaultModifier" : { //幽灵特效 "OnAdded" : [ { "$type": "MoleMole.AttachEffect", "EffectPattern": "Eff_Monster_DeathXIII_Body_Head", "Target": "Self", "AttachEffectPosRot" : { "CoordsOption" : "ReferTarget", "TargetOption" : { "$type" : "MoleMole.ConfigPosRotReferTarget", "OffsetReferTarget" : "Self", "AttachPoint" : "GhostTestPoint", "IsUseAttachPointPos" : true, "IsUseAttachPointRotation" : true, }, "Offset" : { "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, "IsUseRotationY" : true, "IsUseRotationXZ" : false, } }, }, //AttachPoint跟随 // { // "$type": "MoleMole.ApplyAbilityAction", // "AbilityName": "TestPlayer_Ability_Tianheng_31", // "IsAutoTrigger": false, // "Target" : "Self" // }, ], }, // "Modifiers" : // { // "AttachPointFollowModifier" : // { // "ModifierStacking" : "Unique", // "Duration" : -1, // "IgnoreTimeScale" : false, // "ModifierMixins": // [ // { // "$type" : "MoleMole.AttachPointFollowMixin", // "AttachPointName" : "GhostTestPoint", // //目标位置 // "FollowPosRot" : // { // "CoordsOption" : "ReferTarget", // "TargetOption" : // { // "$type" : "MoleMole.ConfigPosRotReferTarget", // "OffsetReferTarget" : "Self", // "AttachPoint" : "GhostTestPoint", // "IsUseAttachPointPos" : true, // "IsUseAttachPointRotation" : false, // }, // "Offset" : // { // "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0}, // "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0}, // "IsUseRotationY" : true, // "IsUseRotationXZ" : false, // } // }, // //位移 // "PosType" : "PolarLerp", // "PolarRadiusRatio" : 1.0, // "PolarAngleRatio" : 1.0, // "PolarHeightRatio" : 1.0, // //旋转 // "RotType" : "Lerp", // "RotRatio" : 1.0, // } // ] // }, // } }