{ "AbilityName": "Zhenzhen_SpawnSword", "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCustomEvent", "EventKey": "SpawnSwordOnEnemy" } ], "SuccessActions": [ { "$type": "ProcessAttachPointAction", "AttachPointName": "SpawnSwordPoint", "HierarchyType": "World", "PosRot": { "CoordsOption": "Relative", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 10 }, "IsClampOffsetDistance": false, "IsUseRotationXZ": true, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 1 }, "RandomPositionRange": { "x": 1, "y": 0, "z": 1 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "AttachPoint": "MiddlePoint", "BackupOffsetReferTarget": "Self", "FeaturePointFirst": true, "IsUseAttachPointPos": true, "IsUseAttachPointRotation": false, "OffsetReferTarget": "SelfAttackTarget" } }, "ProcessType": "Create", "Target": "Self" }, { "$type": "CallGraphEvent", "AbilityName": "Zhenzhen_SpawnSword_Graph", "EventName": "SpawnSword_AttachPoint" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCustomEvent", "EventKey": "SpawnSwordOnSelf" } ], "SuccessActions": [ { "$type": "ProcessAttachPointAction", "AttachPointName": "SpawnSwordPoint", "HierarchyType": "World", "PosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "IsUseRotationXZ": true, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "AttachPoint": "Bip001 Spine1", "IsUseAttachPointPos": true, "IsUseAttachPointRotation": false, "OffsetReferTarget": "Self" } }, "ProcessType": "Create", "Target": "Self" }, { "$type": "CallGraphEvent", "AbilityName": "Zhenzhen_SpawnSword_Graph", "EventName": "SpawnSword_AttachPoint" } ] } ] } }