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

110 lines
2.6 KiB
JSON

{
"AbilityName": "Bangboo_Butler_MathSkill",
"AbilitySpecials": {
"AS_ExSpRecoverRadio": {
"Value": 0
},
"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_Butler_Skill",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_ExSpRecoverRadio",
"ParamName": "AS_ExtraSpRecoverRatio",
"ParamType": "Float"
}
]
}
]
}
]
},
"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": 2,
"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": "ByAvatarCamp",
"Camp": 2,
"Target": "Self"
}
],
"Target": "Caster"
}
]
}
}
}