{

	//猫又天赋03：场上只有一名敌人时，自身能量回复效率翻倍

	"AbilityName": "Tsubaki_Talent_03",

	"AbilityStacking": "Unique",

	"DefaultModifier": 

	{

		"OnAdded": 

		[

			{

				"$type": "MoleMole.SetAnimCtrlerParamAction",

				"ParamType": 2,

				"ParamName": "Bool_Talent_03",

				"Target": "Self",

				"BoolVal": true

			}

		],

		"OnSwitchInFinish": 

		[

			{

				"$type": "MoleMole.ApplyModifier",

				"ModifierName": "EnermyCountsModifier",

				"Target": "Self"

			}

		],

		"OnSwitchOutBegin": [

			{

				"$type": "MoleMole.RemoveModifier",

				"ModifierName": "EnermyCountsModifier",

				"StackCount": 5,

				"Target": "Self"

			}

		]

	},

	"Modifiers":

	{

		"EnermyCountsModifier":

        {

            "ModifierStacking":"Unique",

            "Duration": -1,

            "ThinkInterval" : 1,

            "OnThinkInterval" :

            [

                {

					"$type": "MoleMole.ApplyModifier",

					"ModifierName": "TsubakiTalent03Modifier",

					"Target": "Self"

				}

            ]

        },

		//modifier添加时，若场上敌人为1人时，为自身添加增益buff

		"TsubakiTalent03Modifier": 

		{

			"ModifierStacking": "Refresh",

			"Duration": 1,

			"IgnoreTimeScale": false,

			"OnAdded":

			[

				{

					"$type": "MoleMole.ApplyModifier",

					"ModifierName": "SpGetModifier",

					"Target": "Self",

					"Predicates": 

					[

						{

							"$type": "MoleMole.ByEnemyCount",

							"FilterType": "ByStrengthType",

							"EnemyStrengthType": 

							[

								"Normal",

								"Elite",

								"Boss"

							],

							"CompareValue": 1,

							"CompareType": "Equal"

						}

					]

				},

				{

					"$type": "MoleMole.RemoveModifier",

					"ModifierName": "SpGetModifier",

					"Target": "Self",

					"Predicates": 

					[

						{

							"$type": "MoleMole.ByEnemyCount",

							"FilterType": "ByStrengthType",

							"EnemyStrengthType": 

							[

								"Normal",

								"Elite",

								"Boss"

							],

							"CompareValue": 1,

							"CompareType": "Greater"

						}

					]

				},

				{

					"$type": "MoleMole.RemoveModifier",

					"ModifierName": "SpGetModifier",

					"Target": "Self",

					"Predicates": 

					[

						{

							"$type": "MoleMole.ByEnemyCount",

							"FilterType": "ByStrengthType",

							"EnemyStrengthType": 

							[

								"Normal",

								"Elite",

								"Boss"

							],

							"CompareValue": 1,

							"CompareType": "Less"

						}

					]

				}

			]

		},

		

		"SpGetModifier": 

		{

			"ModifierStacking": "Unique",

			"Duration": -1,

			"IgnoreTimeScale": false,

			//能量回复效率翻倍

			"Properties": 

			{

				"Actor_SPGetRatio": "%AS_SPGetRatio_Talent_03"

			}

		}

	},

	"AbilitySpecials": 

	{

		//回复效率提升100%

		"AS_SPGetRatio_Talent_03": 

		{

			"Value": 1

		}

	}

	

}