{

	//星见雅天赋4：在进入收刀状态0.5秒后使用ExSp，暴击率额外提升50%

	"AbilityName": "Unagi_Talent_04",

	"AbilityStacking": "Unique",



	"DefaultModifier": 

	{

		"OnAdded": 

		[

			{

				"$type": "MoleMole.SetAnimCtrlerParamAction",

				"ParamType": 2,

				"ParamName": "Bool_Talent_04",

				"Target": "Self",

				"BoolVal": true

			},

			//出生时，默认赋予强化状态标记

            {

                "$type": "MoleMole.SetAbilitySpecialAction",

                "ParamName": "AS_ReadyIndex_Talent_04",

                "ParamType": "int",

                "ModifyFunction": "Replace",

                "Param": 1

            }

		]

	},



	"AbilityMixins":

	[

		{

			"$type": "MoleMole.AttachStateWithModifierMixin",

			"ConfigList": 

			[

				//处于拔刀状态的动作

				//普攻（第一段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 7,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 113,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第二段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 131,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第三段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_03",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,  //刀刃出鞘时

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 24,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第四段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_04",

					"MaxFrameCountLow": false,

					"FrameCountLow": 8,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_04_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 129,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第四段_派生）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_04_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_04_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 138,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第五段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_05",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,  //刀刃出鞘时

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 34,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（第六段）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_06",

					"MaxFrameCountLow": false,

					"FrameCountLow": 12,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_06_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 89,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//普攻（魔刃分支）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_06_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 11,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Normal_06_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 217,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//冲刺攻击

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Rush",

					"MaxFrameCountLow": false,

					"FrameCountLow": 9,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Rush_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 116,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//闪避反击

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Counter",

					"MaxFrameCountLow": false,

					"FrameCountLow": 3,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Counter_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 112,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//特殊技（Sp）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_01_Attack_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 17,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_01_Attack_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 135,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_01_Attack_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 17,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_01_Attack_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 135,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//特殊技（ExSp_点按）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 6,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 65,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 6,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 65,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//特殊技（ExSp_长按）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_03_Attack_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 12,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_03_Attack_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 20,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//连携技

				{

					"LayerIndex": 0,

					"AnimatorStateName": "SwitchIn_Attack",

					"MaxFrameCountLow": false,

					"FrameCountLow": 18,  //刀刃出鞘时

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 68,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//终结技

				{

					"LayerIndex": 0,

					"AnimatorStateName": "SwitchIn_Attack_Ex_Start",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,  //刀刃出鞘时

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "SwitchIn_Attack_Ex",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 114,  //纳刀闪光时

					"IsLoop": false,

					"ModifierNameList":

					[

						"UnagiTalent04Modifier_Attack"

					]

				},

				//===============================

				//暴击率提升影响的Exsp动作

				//特殊技（ExSp_点按）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 12,  //衔接走跑时

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_02",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_02_Attack_02_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 12,  //衔接走跑时

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

				//特殊技（ExSp_长按）

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_03_Attack_01",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": true,

					"FrameCountHigh": 0,

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

				{

					"LayerIndex": 0,

					"AnimatorStateName": "Attack_Branch_03_Attack_01_End",

					"MaxFrameCountLow": false,

					"FrameCountLow": 0,

					"MaxFrameCountHigh": false,

					"FrameCountHigh": 30,  //衔接走跑时

					"IsLoop": false,

					"ModifierNameList": 

					[

						"UnagiTalent04Modifier_Controller",

					]

				},

			]

		}

	],



	"Modifiers":

	{

		//拔刀时清除标记，收刀时延迟添加标记

		"UnagiTalent04Modifier_Attack": 

		{

			"ModifierStacking": "Unique",

			"Duration":-1,

			"IgnoreTimeScale": false,



			"OnAdded": 

			[

				{

					"$type": "MoleMole.SetAbilitySpecialAction",

					"ParamName": "AS_ReadyIndex_Talent_04",

					"ParamType": "int",

					"ModifyFunction": "Replace",

					"Param": 0

				},

				{

					"$type": "MoleMole.RemoveModifier",

					"ModifierName": "UnagiTalent04Modifier_Delay",

					"Target": "Self"

				}

			],



			"OnRemoved": 

			[

				{

					"$type": "MoleMole.ApplyModifier",

					"ModifierName": "UnagiTalent04Modifier_Delay",

					"Target": "Self"

				}

			]

		},



		//延迟添加标记

		"UnagiTalent04Modifier_Delay": 

		{

			"ModifierStacking": "Unique",

			"Duration":5.0, //注意需要大于Delay时间 



			"DelayHandlers":

			[

				{

					"DelayTime": "%AS_DelayTime_Talent_04",

					"TimeUpActions":

					[

						{

							"$type": "MoleMole.SetAbilitySpecialAction",

							"ParamName": "AS_ReadyIndex_Talent_04",

							"ParamType": "int",

							"ModifyFunction": "Replace",

							"Param": 1

						},

						// //临时测试特效

						// {

						// 	"$type" : "MoleMole.FireEffect",

						// 	"EffectPattern" : "Eff_Avatar_LevelUp_01",

						// 	"Target" : "Self",

						// }

					]

				}

            ]

		},



		//暴击率提升（添加移除管理）

		"UnagiTalent04Modifier_Controller": 

		{

			"ModifierStacking": "Unique",

			"Duration":-1, 



			"OnAdded": 

			[

				{

					"$type": "MoleMole.ApplyModifier",

					"ModifierName": "UnagiTalent04Modifier_Effect",

					"Target": "Self",

					"Predicates":

					[

						{

							"$type" : "MoleMole.ByAbilitySpecial",

							"ParamName": "AS_ReadyIndex_Talent_04",

							"CompareType": "Equal",

							"Param" : 1,

							"ParamType": "int",

						},

					]

				},

				// //临时测试特效

				// {

				// 	"$type" : "MoleMole.FireEffect",

				// 	"EffectPattern" : "Eff_Avatar_LevelUp_02",

				// 	"Target" : "Self",

				// 	"Predicates":

				// 	[

				// 		{

				// 			"$type" : "MoleMole.ByAbilitySpecial",

				// 			"ParamName": "AS_ReadyIndex_Talent_04",

				// 			"CompareType": "Equal",

				// 			"Param" : 1,

				// 			"ParamType": "int",

				// 		},

				// 	]

				// }

			],



			"OnRemoved": 

			[

				{

					"$type": "MoleMole.RemoveModifier",

					"ModifierName": "UnagiTalent04Modifier_Effect",

					"Target": "Self",

				}

			],

		},



		//暴击率提升（实际效果）

		"UnagiTalent04Modifier_Effect": 

		{

			"ModifierStacking": "Unique",

			"Duration":-1, 



			"OnHitOther": 

			[

				{

					"$type" : "MoleMole.ModifyAttackDataAction",

					"Target" : "Self",

					"PropertyKey" : "Actor_CriticalDelta",

					"PropertyValue" : "%AS_AddedCritical_Talent_04",

					"Predicates":

					[

						{

							"$type" : "MoleMole.ByAnimatorEventIDs",

							"Target" : "Self",

							"AnimatorEventIDs" : 

							[

								"Unagi_Attack_Branch_02_AttackProperty_01_01",

								"Unagi_Attack_Branch_02_AttackProperty_02_01",

								"Unagi_Attack_Branch_02_AttackProperty_02_02",

								"Unagi_Attack_Branch_02_AttackProperty_02_03",

								"Unagi_Attack_Branch_02_AttackProperty_02_04",

								"Unagi_Attack_Branch_02_AttackProperty_02_05",

								"Unagi_Attack_Branch_02_AttackProperty_02_06",

								"Unagi_Attack_Branch_02_AttackProperty_02_07",

								"Unagi_Attack_Branch_02_AttackProperty_02_08",

								"Unagi_Attack_Branch_03_AttackProperty_01_01",

								"Unagi_Attack_Branch_03_AttackProperty_01_02",

								"Unagi_Attack_Branch_03_AttackProperty_01_03",

								"Unagi_Attack_Branch_03_AttackProperty_02_01",

								"Unagi_Attack_Branch_03_AttackProperty_02_02",

								"Unagi_Attack_Branch_03_AttackProperty_02_03",

								"Unagi_Attack_Branch_03_AttackProperty_02_04",

								"Unagi_Attack_Branch_03_AttackProperty_02_05",

							]

						}

					]

				}

			]

		}

	},



	"AbilitySpecials" : 

    {

    	//强化状态标记，标记为1时发动ExSp，则获得强化效果

		"AS_ReadyIndex_Talent_04" :

        {

            "Value" : 1

        },

        //收刀后效果生效时间

		"AS_DelayTime_Talent_04" :

        {

            "Value" : 0.5

        },

		//暴击提升50%

		"AS_AddedCritical_Talent_04" :

        {

            "Value" : 0.5

        }

    }

}