{ "AbilityMixins": [ { "$type": "WatchEntityMixin", "EntityTypes": [ "Avatar" ], "OnEntityAwaked": [ { "$type": "RemoveModifier", "ModifierName": "TeamIdolCheckModifier", "Target": "TeamAvatars" }, { "$type": "ApplyModifier", "ModifierName": "TeamIdolCheckModifier", "Target": "TeamAvatars" } ], "Relationships": [ "Allied" ] } ], "AbilityName": "NangongYu_CoAttackManager", "AbilitySpecials": { "AS_ArialInTeam": { "Value": 0, "ValueType": "Integer" }, "AS_SummerInTeam": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "TeamIdolCheckModifier", "Target": "TeamAvatars" } ] }, "Modifiers": { "FrameHaltSyncModifier_Aria": { "Duration": -1, "ModifierMixins": [ { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_Aria_FindAria", "SyncTargetting": "Custom" } ], "ModifierStacking": "Refresh" }, "FrameHaltSyncModifier_Summer": { "Duration": -1, "ModifierMixins": [ { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_Summer_FindSummer", "SyncTargetting": "Custom" } ], "ModifierStacking": "Refresh" }, "NangongYu_CoAttack_Modifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_ArialInTeam", "ParamType": "Integer" }, { "$type": "ByAvatarIsOnStage", "CustomKey": "AbilityTarget_Aria_FindAria", "IsOnStage": false, "Target": "Custom" }, { "$type": "ByIsLocalAvatar", "CustomKey": "AbilityTarget_Aria_FindAria", "IsLocalAvatar": false, "Target": "Custom" }, { "$type": "ByAliveState", "AliveState": "Alive", "CustomKey": "AbilityTarget_Aria_FindAria", "Target": "Custom" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByObstacle", "CheckShape": "FanCollision", "FanAngleMax": 20, "FanAngleMin": 160, "FanDistanceMax": 2.2, "FanDistanceMin": 0, "IsFanSymmetric": false, "Target": "Self" } ] } ], "SuccessActions": [ { "$type": "CoAttackStartAction", "SwitchInIndex": 1511, "TargetAvatarID": 1501, "TargetPosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Self" } } }, { "$type": "ApplyModifier", "CustomKey": "AbilityTarget_Aria_FindAria", "ModifierName": "TeamMateModifier_Aria", "Target": "Custom" }, { "$type": "ApplyModifier", "ModifierName": "FrameHaltSyncModifier_Aria", "Target": "Self" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_SummerInTeam", "ParamType": "Integer" }, { "$type": "ByAvatarIsOnStage", "CustomKey": "AbilityTarget_Summer_FindSummer", "IsOnStage": false, "Target": "Custom" }, { "$type": "ByIsLocalAvatar", "CustomKey": "AbilityTarget_Summer_FindSummer", "IsLocalAvatar": false, "Target": "Custom" }, { "$type": "ByAliveState", "AliveState": "Alive", "CustomKey": "AbilityTarget_Summer_FindSummer", "Target": "Custom" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByObstacle", "CheckShape": "FanCollision", "FanAngleMax": 20, "FanAngleMin": 160, "FanDistanceMax": 2.2, "FanDistanceMin": 0, "IsFanSymmetric": false, "Target": "Self" } ] } ], "SuccessActions": [ { "$type": "CoAttackStartAction", "SwitchInIndex": 1511, "TargetAvatarID": 1491, "TargetPosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Self" } } }, { "$type": "ApplyModifier", "CustomKey": "AbilityTarget_Summer_FindSummer", "ModifierName": "TeamMateModifier_Summer", "Target": "Custom" }, { "$type": "ApplyModifier", "ModifierName": "FrameHaltSyncModifier_Summer", "Target": "Self" } ] } ], "OnRemoved": [ { "$type": "RemoveModifier", "CustomKey": "AbilityTarget_Summer_FindSummer", "ModifierName": "TeamMateModifier_Summer", "Target": "Custom" }, { "$type": "RemoveModifier", "CustomKey": "AbilityTarget_Aria_FindAria", "ModifierName": "TeamMateModifier_Aria", "Target": "Custom" }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 1, "TargetAvatarID": 1501 }, { "$type": "CoAttackFinishAction", "SwitchOutIndex": 1, "TargetAvatarID": 1491 }, { "$type": "RemoveModifier", "ModifierName": "FrameHaltSyncModifier_Aria", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FrameHaltSyncModifier_Summer", "Target": "Self" } ], "OnSwitchTriggerOutInstant": [ { "$type": "RemoveModifier", "ModifierName": "FrameHaltSyncModifier_Aria", "Target": "Self" }, { "$type": "RemoveModifier", "ModifierName": "FrameHaltSyncModifier_Summer", "Target": "Self" } ] }, "Nangongyu_CoAttack_StopFollowWithAria_Modifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierStacking": "Unique", "OnRemoved": [ { "$type": "RemoveModifier", "CustomKey": "AbilityTarget_Aria_FindAria", "ModifierName": "TeamMateModifier_Aria", "Target": "Custom" } ] }, "Nangongyu_CoAttack_StopFollowWithSummer_Modifier": { "Duration": -1, "IgnoreTimeScale": true, "ModifierStacking": "Unique", "OnRemoved": [ { "$type": "RemoveModifier", "CustomKey": "AbilityTarget_Summer_FindSummer", "ModifierName": "TeamMateModifier_Summer", "Target": "Custom" } ] }, "RealCoAttackListenerModifier": { "Duration": -1, "ModifierMixins": [ { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Attack_Normal_Enhance_03_Release", "FrameCountLow": 18, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "NangongYu_CoAttack_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Attack_Normal_Enhance_03_Release", "FrameCountHigh": 55, "FrameCountLow": 0, "IsLoop": true, "LayerIndex": 0, "MaxFrameCountHigh": false, "MaxFrameCountLow": false, "ModifierNameList": [ "Nangongyu_CoAttack_StopFollowWithSummer_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Attack_Normal_Enhance_03_Release", "FrameCountHigh": 55, "FrameCountLow": 0, "IsLoop": true, "LayerIndex": 0, "MaxFrameCountHigh": false, "MaxFrameCountLow": false, "ModifierNameList": [ "Nangongyu_CoAttack_StopFollowWithAria_Modifier" ], "Target": "Caster" }, { "AnimatorStateName": "Attack_Normal_Enhance_03_Release_End", "FrameCountLow": 0, "IsLoop": false, "LayerIndex": 0, "MaxFrameCountHigh": true, "MaxFrameCountLow": false, "ModifierNameList": [ "NangongYu_CoAttack_Modifier" ], "Target": "Caster" } ], "IsSeam": false } ], "ModifierStacking": "Replace", "OnAdded": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "NangongYu_CoAttackEnable" ], "IsAdd": true, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "NangongYu_InCoAttack_Self" ], "IsAdd": true, "Target": "Caster" } ], "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "NangongYu_CoAttackEnable" ], "IsAdd": false, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "NangongYu_InCoAttack_Self" ], "IsAdd": false, "Target": "Caster" } ] }, "TeamIdolCheckModifier": { "Duration": 1, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_ArialInTeam", "ParamType": "Integer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1501 } ], "Target": "Caster" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_SummerInTeam", "ParamType": "Integer", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1491 } ], "Target": "Caster" }, { "$type": "ApplyModifier", "ModifierName": "RealCoAttackListenerModifier", "Predicates": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_ArialInTeam", "ParamType": "Integer", "Target": "Caster" }, { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_SummerInTeam", "ParamType": "Integer", "Target": "Caster" } ] } ], "Target": "Caster" } ] }, "TeamMateModifier_Aria": { "Duration": -1, "ModifierMixins": [ { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_NangongYu", "SyncTargetting": "Custom" } ], "ModifierStacking": "Replace", "OnAdded": [ { "$type": "ApplyLogicMoveAction", "MovementConfig": { "$type": "ConfigMovementTarget", "Duration": -1, "Gravity": 0, "HitNormalRatio": 1, "HitTangentialRatio": 1, "MoveType": { "$type": "MovementTypeInstantAttach" }, "ReachTargetStop": false, "TargetPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Caster" } }, "TargetUpdateMode": "Always", "TimesUpMoveOption": "Remain" }, "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1501 } ], "RotationConfig": { "$type": "ConfigRotationToTargetRotation", "Duration": -1, "ReachTargetStop": false, "RotateType": "Instant", "TargetPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Caster" } }, "TargetUpdateMode": "Always" }, "Target": "Self" } ], "OnSwitchTriggerInInstant": [ { "$type": "RemoveModifier", "ModifierName": "TeamMateModifier_Aria", "Target": "Self" } ] }, "TeamMateModifier_Summer": { "Duration": -1, "ModifierMixins": [ { "$type": "FrameHaltSyncMixin", "CustomTargetKey": "AbilityTarget_NangongYu", "SyncTargetting": "Custom" } ], "ModifierStacking": "Replace", "OnAdded": [ { "$type": "ApplyLogicMoveAction", "MovementConfig": { "$type": "ConfigMovementTarget", "Duration": -1, "Gravity": 0, "HitNormalRatio": 1, "HitTangentialRatio": 1, "MoveType": { "$type": "MovementTypeInstantAttach" }, "ReachTargetStop": false, "TargetPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Caster" } }, "TargetUpdateMode": "Always", "TimesUpMoveOption": "Remain" }, "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Avatar", "Target": "Self", "TemplateID": 1491 } ], "RotationConfig": { "$type": "ConfigRotationToTargetRotation", "Duration": -1, "ReachTargetStop": false, "RotateType": "Instant", "TargetPosRot": { "CoordsOption": "ReferTarget", "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupAngleOffset": { "x": 0, "y": 0, "z": 0 }, "BackupPositionOffset": { "x": 0, "y": 0, "z": 0 }, "IsClampOffsetDistance": false, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Caster" } }, "TargetUpdateMode": "Always" }, "Target": "Self" } ], "OnSwitchTriggerInInstant": [ { "$type": "RemoveModifier", "ModifierName": "TeamMateModifier_Summer", "Target": "Self" } ] } } }