{

	"AbilityName": "OokumaMari_CoAttack",

	"AbilityStacking": "Unique",

	"AbilityMixins": 

	[

		{

			"$type": "MoleMole.AttachStateWithModifierMixin",

			"ConfigList": 

			[

				//连携ExQTE状态管理

				{

					"AnimatorStateName": "CoAttack_SwitchIn_Attack_Ex_Start",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_01",

						"OnCoAttackModifer_LogicMove_Controller"

					]

				},

				{

					"AnimatorStateName": "CoAttack_SwitchIn_Attack_Ex",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_01"

					]

				},

				{

					"AnimatorStateName": "CoAttack_SwitchIn_Attack_Ex_End",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 0.072,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_01"

					]

				},

				//连携Sp状态管理

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Start_03",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_02"

					]

				},

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Start_03_End",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 0.23,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_02"

					]

				},

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Explode_03",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 0.563,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_02"

					]

				},

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Explode_03_Correct",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 0.563,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_02"

					]

				},

				//连携Sp支援者逻辑位移

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Start_03",

					"LayerIndex": 0,

					"Target": "Self",

					"NormalizedTimeLow": 0.0,

					"NormalizedTimeHigh": 1.0,

					"ModifierNameList": 

					[

						"OnCoAttackModifer_LogicMove_Controller"

					]

				},

			]

		},

		{

			"$type": "MoleMole.ActwithStateFrameMixin",

			"ConfigList": //目押后动作切换控制

			[

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Explode_03",

					"LayerIndex": 0,

					"Frame": 0,

					"ForceTriggerOnTransitionOut": false,

					"IsLoop": false,

					"ActionList": 

					[

						{

							"$type" : "MoleMole.SetAnimCtrlerParamAction",

							"ParamType" : 1,

							"ParamName" : "Trigger_CoAttack_Explode",

							"Target" : "TeamAvatars",

							"BoolVal" : true

						}

					]

				},

				{

					"AnimatorStateName": "CoAttack_Attack_Branch_01_Explode_03_Correct",

					"LayerIndex": 0,

					"Frame": 0,

					"ForceTriggerOnTransitionOut": false,

					"IsLoop": false,

					"ActionList": 

					[

						{

							"$type" : "MoleMole.SetAnimCtrlerParamAction",

							"ParamType" : 1,

							"ParamName" : "Trigger_CoAttack_Explode",

							"Target" : "TeamAvatars",

							"BoolVal" : true

						}

					]

				}

			]

		}

	],



	"Modifiers": 

	{

		//连携ExQTE状态管理

		"OnCoAttackModifer_01": 

		{

			"ModifierStacking": "Unique",

			"Duration": -1,

			"IgnoreTimeScale": false,



			"OnAdded": 

			[

				{

					"$type": "MoleMole.CoAttackStartAction", //连携开始，召唤连携目标入场action

					"TargetAvatarID": 1121, //AvatarID与角色一一对应，是一种较为标准且靠谱的识别方式

					"TargetPosRot": //被拉入场队友位置配置

					{

						"CoordsOption": "LocalAvatar",

						"TargetOption": 

						{

							"$type": "MoleMole.ConfigPosRotReferTarget",

							"OffsetReferTarget": "LocalAvatar"

						},

						"Offset": 

						{

							"PositionOffset": {"x": 0.0, "y": 0.0, "z": 0.0},

							"AngleOffset": {"x": 0.0, "y": 0.0, "z": 0.0},

							"IsClampOffsetDistance": false,

						}

					},

					"SwitchInIndex": 40, //将连携入场者的状态机参数设置为配置值，目前qte为10，exqte为20，预设连携攻击入场为40

				}

			],



			"OnRemoved": 

			[

				{

					"$type": "MoleMole.CoAttackFinishAction", //连携结束，对目标执行离场逻辑

					"TargetAvatarID": 1121, //AvatarID与角色一一对应，是一种较为标准且靠谱的识别方式

					"SwitchOutIndex": 3

				}

			]

		},



		//连携Sp状态管理

		"OnCoAttackModifer_02": 

		{

			"ModifierStacking": "Unique",

			"Duration": -1,

			"IgnoreTimeScale": false,

			"OnAdded": 

			[

				{

					"$type": "MoleMole.CoAttackStartAction", //连携开始，召唤连携目标入场action

					"TargetAvatarID": 1121, //AvatarID与角色一一对应，是一种较为标准且靠谱的识别方式

					"TargetPosRot": //被拉入场队友位置配置

					{

						"CoordsOption": "LocalAvatar",

						"TargetOption": 

						{

							"$type": "MoleMole.ConfigPosRotReferTarget",

							"OffsetReferTarget": "LocalAvatar"

						},

						"Offset": 

						{

							"PositionOffset": {"x": 0.0, "y": 0.0, "z": 0.0},

							"AngleOffset": {"x": 0.0, "y": 0.0, "z": 0.0},

							"IsClampOffsetDistance": false,

						}

					},

					"SwitchInIndex": 41, //Sp连携入场

				}

			],



			"OnRemoved": 

			[

				{

					"$type": "MoleMole.CoAttackFinishAction", //连携结束，对目标执行离场逻辑

					"TargetAvatarID": 1121, 

					"SwitchOutIndex": 4   //Sp连携离场

				}

			]

		},



		//连携Sp支援者逻辑位移_管理

		"OnCoAttackModifer_LogicMove_Controller": 

		{

			"ModifierStacking": "Unique",

			"Duration": -1,

			"IgnoreTimeScale": false,



			"OnAdded": 

			[

				{

					"$type":"MoleMole.ApplyModifier",

					"ModifierName":"OnCoAttackModifer_LogicMove_Action",

					"Target":"TeamAvatars",

				}

			],



			"OnRemoved": 

			[

				{

					"$type":"MoleMole.RemoveModifier",

					"ModifierName":"OnCoAttackModifer_LogicMove_Action",

					"Target":"TeamAvatars",

				}

			],

		},



		//连携Sp支援者逻辑位移_执行

		"OnCoAttackModifer_LogicMove_Action": 

		{

			"ModifierStacking": "Unique",

			"Duration": -1,

			"IgnoreTimeScale": false,



			"OnAdded": 

			[

				{

					"$type": "MoleMole.ApplyLogicMoveAction",

					"Target": "Self",

					//位移

					"MovementConfig" :

					{

						"$type" : "MoleMole.ConfigMovementTarget",

						"Duration" : -1,

						"Gravity" : 0.0,

						"HitTangentialRatio" : 1,

						"HitNormalRatio" : 1,

						"TimesUpMoveOption" : "Remain",

						"TargetPosRot" : 

						{

							"CoordsOption" : "ReferTarget",

							"TargetOption" : 

							{

								"$type" : "MoleMole.ConfigPosRotReferTarget",

								"OffsetReferTarget" : "Caster",

							},

							"Offset" : 

							{

								"PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},

								"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

								"IsClampOffsetDistance" : false,

							},

						},

						"DefaultOffset" : {"x":0.0, "y":0.0, "z":0.0},



						//瞬移

						"MoveType":

						{

							"$type" : "MoleMole.MovementTypeInstant",

							"NeedRayCastCheck" : false,  //本次瞬移能够穿墙

						},



						"TargetUpdateMode" : "Always",

						"ReachTargetStop" : false

					},

					//旋转

					"RotationConfig" :

					{   

						"$type" : "MoleMole.ConfigRotationToTarget",

						"Duration" : -1,

						"TargetPosRot" : 

						{

							"CoordsOption" : "ReferTarget",

							"TargetOption" : 

							{

								"$type" : "MoleMole.ConfigPosRotReferTarget",

								"OffsetReferTarget" : "Caster",

							},

							"Offset" : 

							{

								"PositionOffset" : {"x":0.0, "y":0.0, "z":999999.0},

								"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

							}

						},

						"RotateType" : "Instant",

						"RotateSpeed" : 1,

						"TargetUpdateMode" : "Always",

						"ReachTargetStop" : false

					},

					//条件限制

					"Predicates" :

					[

                        {

                            "$type": "MoleMole.ByTags",

                            "Target": "Self",

                            "TagList" : 

                            [

                                "Ben",

                            ],

                        },

					],

				}

			]

		}

	}

}