{

	//比利天赋4：每造成10次伤害，自身攻击力提升10%，最高可提升50%；受到攻击后该增益效果重置。

	"AbilityName": "Billy_Talent_04",

	"AbilityStacking": "Unique",

	"DefaultModifier": 

	{

		"OnAdded": [

			{

				"$type": "MoleMole.SetAnimCtrlerParamAction",

				"ParamType": 2,

				"ParamName": "Bool_Talent_04",

				"Target": "Self",

				"BoolVal": true

			}

		],

		"OnHitOther": [

			{

				"$type": "MoleMole.ModifyProperty",

				"Target": "Self",

				"PropertyType": "Custom",

				"CustomPropertyType": "Talent04Hits",

				"PropertyModifyFunction": "Add",

				"Percentage": 0,

				"Amount": 1

			}

		],

		//受击后移除全部层数增益buff，并重置攻击计数

		"OnBeingHit": [

			{

				"$type": "MoleMole.RemoveModifier",

				"ModifierName": "BillyTalent04Modifier",

				"StackCount": 5,

				"Target": "Self"

			},

			{

				"$type": "MoleMole.ModifyProperty",

				"Target": "Self",

				"PropertyType": "Custom",

				"CustomPropertyType": "Talent04Hits",

				"PropertyModifyFunction": "Replace",

				"Percentage": 0,

				"Amount": 0

			}

		],

		//下场后移除全部层数增益buff，并重置攻击计数

		"OnSwitchOutFinish": [

			{

				"$type": "MoleMole.RemoveModifier",

				"ModifierName": "BillyTalent04Modifier",

				"StackCount": 5,

				"Target": "Self"

			},

			{

				"$type": "MoleMole.ModifyProperty",

				"Target": "Self",

				"PropertyType": "Custom",

				"CustomPropertyType": "Talent04Hits",

				"PropertyModifyFunction": "Replace",

				"Percentage": 0,

				"Amount": 0

			}

		]



	},



	"AbilityMixins": [

		//根据命中数添加modifier层数

		{

			"$type": "MoleMole.ActionsOnPropertyChangeMixin",

			"PropertyActions": [

				{

					"PropertyType": "Custom",

					"CustomPropertyType": "Talent04Hits",

					"IsUsePercentage": false,

					"ValueRangeActions": [

						{

							"Val": 10,

							"LowToValueActions": 

							[

								{

									"$type": "MoleMole.ApplyModifier",

									"ModifierName": "BillyTalent04Modifier",

									"Target": "Self"

								}

							]

						},

						{

							"Val": 20,

							"LowToValueActions": 

							[

								{

									"$type": "MoleMole.ApplyModifier",

									"ModifierName": "BillyTalent04Modifier",

									"Target": "Self"

								}

							]

						},

						{

							"Val": 30,

							"LowToValueActions":

							[

								{

									"$type": "MoleMole.ApplyModifier",

									"ModifierName": "BillyTalent04Modifier",

									"Target": "Self"

								}

							]

						},

						{

							"Val": 40,

							"LowToValueActions": 

							[

								{

									"$type": "MoleMole.ApplyModifier",

									"ModifierName": "BillyTalent04Modifier",

									"Target": "Self"

								}

							]

						},

						{

							"Val": 50,

							"LowToValueActions": 

							[

								{

									"$type": "MoleMole.ApplyModifier",

									"ModifierName": "BillyTalent04Modifier",

									"Target": "Self"

								}

							]

						}

					]

				}

			]

		}

	],



	"Modifiers": {

		//攻击力提升10%

		"BillyTalent04Modifier": {

			"ModifierStacking": "MultipleAllRefresh",

			"MaxStackingNumber" : 5,

			"Duration": -1,

			"IgnoreTimeScale": false,



			"Properties": 

			{

				"Actor_BaseAttackRatio": "%AS_BaseAttackRatio_Talent_04"

			}

		}

	},

	"AbilitySpecials": 

	{

		//每10hit提升攻击值

		"AS_BaseAttackRatio_Talent_04": {

			"Value": 0.1

		}

	}

}