ZenlessData/Data/AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02.json

77 lines
1.7 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "AbyssS2_BurningBloodBuild_Relic_02_Upgrade_02",
"AbilitySpecials": {
"AS_CurHPRatio": {
"Value": 1
},
"AS_RecoverHPAmount": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"BurningBloodBuild_Relic_02_Upgrade_02"
],
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"BurningBloodBuild_Relic_02_Upgrade_02"
]
}
]
}
]
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"BurningBloodBuild_Relic_02_Upgrade_02"
],
"IsAdd": false
}
]
},
"OnAbilityStart": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "property(CurHP)\/property(MaxHP)",
"ParamName": "AS_CurHPRatio",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 0.2,
"ParamName": "AS_CurHPRatio"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "property(MaxHP)*0.2-property(CurHP)",
"ParamName": "AS_RecoverHPAmount",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "RecoverHPAction",
"Amount": "%AS_RecoverHPAmount"
}
]
}
]
}