ZenlessData/Data/Bangboo_Avocaboo_MathSkill.json

138 lines
3.3 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "Bangboo_Avocaboo_MathSkill",
"AbilitySpecials": {
"AS_ExHealingLimit_Max": {
"Value": 10
},
"AS_ExRecoverRatio": {
"Value": 0.1
},
"AS_PairACount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnTeamAvatarConstructed": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_PairACount",
"ParamType": "Float"
},
{
"$type": "RemoveModifier",
"ModifierName": "PairCheckModifier",
"Target": "TeamAvatars"
},
{
"$type": "ApplyModifier",
"ModifierName": "PairCheckModifier",
"Target": "TeamAvatars"
}
]
},
"Modifiers": {
"MathSkillModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetTargetAbilitySpecialAction",
"Params": [
{
"AbilityName": "Bangboo_Avocaboo_Cure",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ExRecoverRatio",
"ParamName": "AS_ExtraRecoverRatio",
"ParamType": "Float"
}
]
}
]
},
{
"$type": "ModifyProperty",
"Amount": "%AS_ExHealingLimit_Max",
"CustomPropertyType": "HealingLimit_Max",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "Self"
}
]
},
"PairAModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "MultipleRefresh",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_PairACount",
"ParamType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "MathSkillModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_PairACount",
"ParamType": "Float",
"Target": "Self"
},
{
"$type": "ByBuddyTeamType",
"CheckBuddyTeam": "Fighting",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"PairCheckModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "PairAModifier",
"Predicates": [
{
"$type": "ByAvatarProfessionType",
"ProfessionType": "Support",
"Target": "Self"
}
],
"Target": "Caster"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "RecoverHPAction",
"Amount": "%AS_ExRecoverValue",
"Percentage": 0,
"Predicates": [
{
"$type": "ByHasModifier",
"ModifierNameList": [
"MathSkillModifier"
],
"Target": "Self"
}
],
"Target": "Self"
}
]
}