1
0
ZenlessData/Data/_unsorted/Aria_CoAttackManager.json
2026-02-14 03:45:14 +01:00

656 lines
19 KiB
JSON

{
"AbilityMixins": [
{
"$type": "WatchEntityMixin",
"EntityTypes": [
"Avatar"
],
"OnEntityAwaked": [
{
"$type": "RemoveModifier",
"ModifierName": "TeamIdolCheckModifier",
"Target": "TeamAvatars"
},
{
"$type": "ApplyModifier",
"ModifierName": "TeamIdolCheckModifier",
"Target": "TeamAvatars"
}
],
"Relationships": [
"Allied"
]
}
],
"AbilityName": "Aria_CoAttackManager",
"AbilitySpecials": {
"AS_NangongInTeam": {
"Value": 0,
"ValueType": "Integer"
},
"AS_SummerInTeam": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "TeamIdolCheckModifier",
"Target": "TeamAvatars"
}
]
},
"Modifiers": {
"Aria_CoAttack_Controller_Modifier": {
"Duration": -1,
"IgnoreTimeScale": true,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "Aria_CoAttack_Modifier"
}
]
},
"Aria_CoAttack_Modifier": {
"Duration": -1,
"IgnoreTimeScale": true,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "CoAttackStartAction",
"SwitchInIndex": 1501,
"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",
"AttachPoint": "CoAttack_Root_1",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
}
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Aria_InCoAttack_Self"
],
"IsAdd": true
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_IsCoAttackActive",
"ParamType": 2
},
{
"$type": "ApplyModifier",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"ModifierName": "TeamMateModifier",
"Target": "Custom"
},
{
"$type": "ApplyModifier",
"ModifierName": "FrameHaltSyncModifier",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "CoAttackFinishAction",
"SwitchOutIndex": 1,
"TargetAvatarID": 1491
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_IsCoAttackActive",
"ParamType": 2
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Aria_InCoAttack_Self"
],
"IsAdd": false
},
{
"$type": "RemoveModifier",
"ModifierName": "FrameHaltSyncModifier",
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "TeamMateModifier",
"Target": "TeamAvatars"
}
],
"OnSwitchTriggerOutInstant": [
{
"$type": "RemoveModifier",
"ModifierName": "FrameHaltSyncModifier",
"Target": "Self"
}
]
},
"Aria_CoAttack_StopFollow_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "TeamMateModifier",
"Target": "TeamAvatars"
}
]
},
"Aria_RobotTag_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnHitOtherPre": [
{
"$type": "ModifyAttackDataTagList",
"AddedAttackPropertyTagList": [
"ExChargeAttack"
],
"IsAdd": true,
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Aria_ChargeAttack_Attack_03_Co_AttackProperty_01"
]
}
]
}
]
},
"FrameHaltSyncModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "FrameHaltSyncMixin",
"CustomTargetKey": "AbilityTarget_Summer_FindSummer",
"SyncTargetting": "Custom"
}
],
"ModifierStacking": "Refresh"
},
"RealCoAttackListenerModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_ChargeAttack_Attack_Robot",
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Aria_RobotTag_Modifier",
"Aria_CoAttack_Controller_Modifier"
],
"Target": "Caster"
},
{
"AnimatorStateName": "Attack_ChargeAttack_Attack_03",
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Aria_CoAttack_Controller_Modifier"
],
"Target": "Caster"
},
{
"AnimatorStateName": "Attack_ChargeAttack_Attack_Robot",
"FrameCountHigh": 56,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Aria_CoAttack_StopFollow_Modifier"
],
"Target": "Caster"
},
{
"AnimatorStateName": "Attack_ChargeAttack_Attack_03",
"FrameCountHigh": 56,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"Aria_CoAttack_StopFollow_Modifier"
],
"Target": "Caster"
}
],
"IsSeam": false
},
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByApplyPredicate",
"PredicateName": "CanRepeatCoAttack"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Aria_CoAttack_Modifier",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "CanCoAttack",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"CustomKey": "AbilityTarget_Summer_FindSummer",
"ParamName": "Trigger_CoAttackRepeat",
"ParamType": 1,
"Target": "Custom"
},
{
"$type": "ApplyModifier",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"ModifierName": "TeamMateModifier",
"Target": "Custom"
}
]
}
],
"AnimatorStateName": "Attack_ChargeAttack_Attack_03",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 0,
"IsLoop": false,
"LayerIndex": 0
},
{
"ActionList": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByApplyPredicate",
"PredicateName": "CanRepeatCoAttack"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Aria_CoAttack_Modifier",
"Predicates": [
{
"$type": "ByApplyPredicate",
"PredicateName": "CanCoAttack",
"Target": "Self"
}
],
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"CustomKey": "AbilityTarget_Summer_FindSummer",
"ParamName": "Trigger_CoAttackRepeat",
"ParamType": 1,
"Target": "Custom"
},
{
"$type": "ApplyModifier",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"ModifierName": "TeamMateModifier",
"Target": "Custom"
}
]
}
],
"AnimatorStateName": "Attack_ChargeAttack_Attack_Robot",
"ForceTriggerOnTransitionIn": false,
"ForceTriggerOnTransitionOut": false,
"Frame": 0,
"IsLoop": false,
"LayerIndex": 0
}
]
}
],
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Aria_CoAttackEnable"
],
"IsAdd": true,
"Target": "Caster"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Aria_CoAttackEnable"
],
"IsAdd": false,
"Target": "Caster"
}
]
},
"TeamIdolCheckModifier": {
"Duration": 1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_SummerInTeam",
"ParamType": "Integer",
"Predicates": [
{
"$type": "ByEntityTemplateID",
"EntityType": "Avatar",
"Target": "Self",
"TemplateID": 1491
}
],
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_NangongInTeam",
"ParamType": "Integer",
"Predicates": [
{
"$type": "ByEntityTemplateID",
"EntityType": "Avatar",
"Target": "Self",
"TemplateID": 1511
}
],
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "RealCoAttackListenerModifier",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_SummerInTeam",
"ParamType": "Integer"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_NangongInTeam",
"ParamType": "Integer"
}
]
}
],
"Target": "Caster"
}
]
},
"TeamMateModifier": {
"Duration": -1,
"ModifierMixins": [
{
"$type": "FrameHaltSyncMixin",
"CustomTargetKey": "AbilityTarget_Aria_FindAria",
"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
},
"IsClampOffsetDistance": false,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "CoAttack_Root_1",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Caster"
}
},
"TargetUpdateMode": "Always",
"TimesUpMoveOption": "Remain"
},
"Predicates": [
{
"$type": "ByEntityTemplateID",
"EntityType": "Avatar",
"Target": "Self",
"TemplateID": 1491
}
],
"RotationConfig": {
"$type": "ConfigRotationToTarget",
"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,
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 999
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "CoAttack_Root_1",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Caster"
}
},
"TargetUpdateMode": "Always"
},
"Target": "Self"
}
],
"OnSwitchTriggerInInstant": [
{
"$type": "RemoveModifier",
"ModifierName": "TeamMateModifier",
"Target": "Self"
}
]
}
},
"Predicates": {
"CanCoAttack": {
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByObstacle",
"CheckShape": "FanCollision",
"FanAngleMax": 20,
"FanAngleMin": 160,
"FanDistanceMax": 1.2,
"FanDistanceMin": 0,
"IsFanSymmetric": false,
"Target": "Self"
},
{
"$type": "ByAnimatorStateNormalizedTime",
"AnimatorStateName": "IdolCoAttack_WithArial",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"FrameCountLow": 0,
"MaxFrameCountHigh": true,
"Target": "Custom"
}
],
"Target": "Self"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_SummerInTeam",
"ParamType": "Integer",
"Target": "Self"
},
{
"$type": "ByIsLocalAvatar",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"IsLocalAvatar": false,
"Target": "Custom"
},
{
"$type": "ByAliveState",
"AliveState": "Alive",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"Target": "Custom"
},
{
"$type": "ByAvatarIsOnStage",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"IsOnStage": false,
"Target": "Custom"
}
]
},
"CanRepeatCoAttack": {
"Predicates": [
{
"$type": "ByAnimatorStateNormalizedTime",
"AnimatorStateName": "IdolCoAttack_WithArial",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"FrameCountLow": 0,
"MaxFrameCountHigh": true,
"Target": "Custom"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_SummerInTeam",
"ParamType": "Integer"
},
{
"$type": "ByIsLocalAvatar",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"IsLocalAvatar": false,
"Target": "Custom"
},
{
"$type": "ByAliveState",
"AliveState": "Alive",
"CustomKey": "AbilityTarget_Summer_FindSummer",
"Target": "Custom"
}
]
}
}
}