210 lines
5.6 KiB
JSON
210 lines
5.6 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "ListenAbilityMixin",
|
|
"AbilityName": "Zhenzhen_UniqueSkill",
|
|
"OnListenAbilityAdded": [
|
|
{
|
|
"$type": "SetTargetAbilitySpecialAction",
|
|
"Params": [
|
|
{
|
|
"AbilityName": "Zhenzhen_UniqueSkill",
|
|
"AbilitySpecials": [
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_AddDamageRatio_Extra",
|
|
"ParamName": "AS_AddDamageRatio_Extra",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_IgnoreDefenceRatio_Talent01",
|
|
"ParamName": "AS_IgnoreDefenceRatio_Talent01",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_RefreshAddedDamageRatio"
|
|
}
|
|
],
|
|
"Targetting": "Self"
|
|
}
|
|
],
|
|
"AbilityName": "Zhenzhen_Talent_01",
|
|
"AbilitySpecials": {
|
|
"AS_AddDamageRatio_Extra": {
|
|
"Value": 0.1,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_IgnoreDefenceRatio_Talent01": {
|
|
"Value": -0.1,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverCD": {
|
|
"Value": 180,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverCD_Cache": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverCD_Real": {
|
|
"Value": 0,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_RecoverEnhanceCount": {
|
|
"Value": 6,
|
|
"ValueType": "Integer"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByGameContextType",
|
|
"GameType": "StreamingGame",
|
|
"SubGameType": "All"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "scenevar(AS_RecoverCD_Real)",
|
|
"ParamName": "AS_RecoverCD_Real",
|
|
"Target": "Self",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverCD_Real",
|
|
"ParamName": "AS_RecoverCD_Cache",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "LessEqual",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_RecoverEnhanceCount",
|
|
"CustomPropertyType": "EnhanceCount",
|
|
"IsUsePercentage": true,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverCD",
|
|
"ParamName": "AS_RecoverCD_Real",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_RecoverCD",
|
|
"ParamName": "AS_RecoverCD_Cache",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "SetTargetAbilitySpecialAction",
|
|
"Params": [
|
|
{
|
|
"AbilityName": "Zhenzhen_UniqueSkill",
|
|
"AbilitySpecials": [
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_AddDamageRatio_Extra",
|
|
"ParamName": "AS_AddDamageRatio_Extra",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"ModifyFunction": "Replace",
|
|
"Param": "%AS_IgnoreDefenceRatio_Talent01",
|
|
"ParamName": "AS_IgnoreDefenceRatio_Talent01",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"EventKey": "Zhenzhen_RefreshAddedDamageRatio"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"SmoothDecreaseCDModifier": {
|
|
"Duration": "%AS_RecoverCD",
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "SmoothBlendAbilitySpecialMixin",
|
|
"AbilitySpecial": "AS_RecoverCD_Real",
|
|
"BlendCurve": "Linear",
|
|
"BlendTime": "%AS_RecoverCD_Cache",
|
|
"TargetValue": 0
|
|
}
|
|
],
|
|
"ModifierStacking": "Unique",
|
|
"OnThinkInterval": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "SmoothDecreaseCDModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "LessEqual",
|
|
"Param": 0,
|
|
"ParamName": "AS_RecoverCD_Real",
|
|
"ParamType": "Float"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"ThinkInterval": 0.1
|
|
}
|
|
}
|
|
} |