ZenlessData/Data/Ability_HealHp.json
2024-09-23 09:11:37 -03:00

139 lines
3.1 KiB
JSON

{
"AbilityName": "Ability_HealHp",
"AbilitySpecials": {
"HealNum_01": {
"Value": 0
},
"HealNum_02": {
"Value": 0
},
"HealNum_03": {
"Value": 0
},
"HealRatio_01": {
"Value": 1
},
"HealRatio_02": {
"Value": 1
},
"HealRatio_03": {
"Value": 1
}
},
"Modifiers": {
"HealHpEffectModifier": {
"Duration": 2,
"ModifierStacking": "GlobalUnique",
"OnAdded": [
{
"$type": "FireEffect",
"EffectPattern": "Buff_Common_Recover",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByInBlackCurtain",
"Target": "Self"
}
],
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByInBlackCurtain",
"Target": "Self"
}
],
"Target": "Self"
}
],
"Tag": "Common_MA_Buff_Recover_RimGlow_01",
"Target": "Self",
"key": "Common_MA_Buff_Recover_RimGlow_01"
},
{
"$type": "FireAudio",
"AudioPattern": "Play_sfx_interact_inlevel_pickup_hp",
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByInBlackCurtain",
"Target": "Self"
}
],
"Target": "Self"
}
]
}
]
},
"HealHpModifier": {
"Duration": 1,
"ModifierStacking": "MultipleRefresh",
"OnAdded": [
{
"$type": "RecoverHPAction",
"Amount": "%HealNum_01",
"Percentage": "%HealRatio_01",
"Predicates": [
{
"$type": "ByAvatarTeamIndex",
"Target": "Self",
"TeamIndex": 1
}
],
"Target": "Self"
},
{
"$type": "RecoverHPAction",
"Amount": "%HealNum_02",
"Percentage": "%HealRatio_02",
"Predicates": [
{
"$type": "ByAvatarTeamIndex",
"Target": "Self",
"TeamIndex": 2
}
],
"Target": "Self"
},
{
"$type": "RecoverHPAction",
"Amount": "%HealNum_03",
"Percentage": "%HealRatio_03",
"Predicates": [
{
"$type": "ByAvatarTeamIndex",
"Target": "Self",
"TeamIndex": 3
}
],
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ApplyModifier",
"ModifierName": "HealHpModifier",
"Target": "TeamAvatars"
},
{
"$type": "ApplyModifier",
"ModifierName": "HealHpEffectModifier",
"Target": "LocalAvatar"
}
]
}