183 lines
5.2 KiB
JSON
183 lines
5.2 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
],
|
|
"AbilityName": "NangongYu_Talent_01",
|
|
"AbilitySpecials": {
|
|
"AS_AllDamageResist": {
|
|
"Value": -0.1
|
|
},
|
|
"AS_BuffDamageRatio": {
|
|
"Value": 0.1
|
|
},
|
|
"AS_BuffDuration": {
|
|
"Value": 30
|
|
},
|
|
"AS_RecoverEnergyCD": {
|
|
"Value": 180,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverEnergyCD_Cache": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverEnergyCD_Real": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByGameContextType",
|
|
"GameType": "StreamingGame",
|
|
"SubGameType": "All"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverEnergyCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "scenevar(AS_RecoverEnergyCD_Real)",
|
|
"ParamName": "AS_RecoverEnergyCD_Real",
|
|
"Target": "Self",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverEnergyCD_Real",
|
|
"ParamName": "AS_RecoverEnergyCD_Cache",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "LessEqual",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverEnergyCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 100,
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverEnergyCD",
|
|
"ParamName": "AS_RecoverEnergyCD_Real",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverEnergyCD",
|
|
"ParamName": "AS_RecoverEnergyCD_Cache",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnHitOther": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "NangongYu_Talent_01_Buff",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"NangongYu_Attack_Normal_Enhance_01_AttackProperty_01",
|
|
"NangongYu_Attack_Normal_Enhance_01_AttackProperty_02",
|
|
"NangongYu_Attack_Normal_Enhance_02_AttackProperty_01",
|
|
"NangongYu_Attack_Normal_Enhance_02_AttackProperty_02",
|
|
"NangongYu_Attack_Normal_Enhance_03_AttackProperty_01",
|
|
"NangongYu_Attack_Normal_Enhance_03_AttackProperty_02",
|
|
"NangongYu_Attack_Normal_Enhance_03_AttackProperty_03",
|
|
"NangongYu_Attack_Normal_Enhance_03_AttackProperty_04",
|
|
"NangongYu_Attack_Normal_Enhance_03_AttackProperty_04_CoAttack",
|
|
"NangongYu_Attack_Branch_02_AttackProperty_01",
|
|
"NangongYu_Attack_Branch_02_AttackProperty_02",
|
|
"NangongYu_Attack_Branch_02_AttackProperty_03"
|
|
]
|
|
}
|
|
],
|
|
"Target": "Target"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"NangongYu_Talent_01_Buff": {
|
|
"Duration": "%AS_BuffDuration",
|
|
"ModifierStacking": "Replace",
|
|
"Properties": {
|
|
"Actor_AllDamageResist": "%AS_AllDamageResist"
|
|
}
|
|
},
|
|
"SmoothDecreaseCDModifier": {
|
|
"Duration": "%AS_RecoverEnergyCD",
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "SmoothBlendAbilitySpecialMixin",
|
|
"AbilitySpecial": "AS_RecoverEnergyCD_Real",
|
|
"BlendCurve": "Linear",
|
|
"BlendTime": "%AS_RecoverEnergyCD_Cache",
|
|
"TargetValue": 0
|
|
}
|
|
],
|
|
"ModifierStacking": "Unique",
|
|
"OnThinkInterval": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "LessEqual",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverEnergyCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"ThinkInterval": 0.1
|
|
}
|
|
}
|
|
} |