1
0
ZenlessData/Data/JsonBytes/NewAbility/AvatarAbility/EvelynAbility/Evelyn_Talent_01.json

225 lines
6.1 KiB
JSON

{
"AbilityName": "Evelyn_Talent_01",
"AbilitySpecials": {
"AS_Duration": {
"Value": 0
},
"AS_FeverAmount": {
"Value": 0
},
"AS_IgnoreDefenceRatio_Talent_01": {
"Value": 0
},
"AS_RecoverFeverCD": {
"Value": 180,
"ValueType": "Float"
},
"AS_RecoverFeverCD_Cache": {
"Value": 0,
"ValueType": "Float"
},
"AS_RecoverFeverCD_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_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "scenevar(AS_RecoverFeverCD_Real)",
"ParamName": "AS_RecoverFeverCD_Real",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD_Real",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "RecoverIndividualFeverAction",
"Amount": "%AS_FeverAmount",
"IgnoreRatio": false,
"Percentage": 0,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
]
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"BeRopeHit"
],
"Target": "Other"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"Evelyn_Talent_01"
],
"Target": "Other"
}
],
"Target": "Other"
}
],
"PropertyKey": "Actor_DefenceRatio",
"PropertyValue": "%AS_IgnoreDefenceRatio_Talent_01",
"Target": "Other"
}
],
"OnHitOtherPre": [
{
"$type": "ApplyModifier",
"ModifierName": "EvelynTalent01Modifier",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Evelyn_Attack_ExSpecial_01_AttackProperty_01_Target",
"Evelyn_Attack_ExSpecial_01_AttackProperty_01",
"Evelyn_Attack_ExSpecial_01_AttackProperty_02_Target",
"Evelyn_Attack_ExSpecial_01_AttackProperty_02",
"Evelyn_Attack_ExSpecial_01_AttackProperty_03_Target",
"Evelyn_Attack_ExSpecial_01_AttackProperty_03",
"Evelyn_Attack_ExSpecial_01_AttackProperty_04",
"Evelyn_Attack_Special_02_AttackProperty_01_Target",
"Evelyn_Attack_Special_02_AttackProperty_01",
"Evelyn_Attack_Special_02_AttackProperty_02_Target",
"Evelyn_Attack_Special_02_AttackProperty_02",
"Evelyn_Attack_Special_02_AttackProperty_03"
]
}
],
"Target": "Other"
}
]
},
"Modifiers": {
"EvelynTalent01Modifier": {
"Duration": "%AS_Duration",
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Evelyn_Talent_01"
],
"IsAdd": true,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Evelyn_Talent_01"
],
"IsAdd": false,
"Target": "Self"
}
]
},
"SmoothDecreaseCDModifier": {
"Duration": "%AS_RecoverFeverCD",
"ModifierMixins": [
{
"$type": "SmoothBlendAbilitySpecialMixin",
"AbilitySpecial": "AS_RecoverFeverCD_Real",
"BlendCurve": "Linear",
"BlendTime": "%AS_RecoverFeverCD_Cache",
"TargetValue": 0
}
],
"ModifierStacking": "Unique",
"OnThinkInterval": [
{
"$type": "RemoveModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"Target": "Self"
}
],
"ThinkInterval": 0.1
}
}
}