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

127 lines
3.1 KiB
JSON

{
"AbilityName": "Bangboo_Luckyboo_MathSkill",
"AbilitySpecials": {
"AS_AddedElementAccumulationRatio": {
"Value": 1
},
"AS_ExAttackDuration": {
"Value": 5
},
"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_Luckyboo_Attack",
"AbilitySpecials": [
{
"ModifyFunction": "Add",
"Param": "AS_ExAttackDuration",
"ParamName": "AS_AttackDuration",
"ParamType": "Float"
}
]
}
]
},
{
"$type": "WriteAIParamAction",
"FloatParamValue": "%AS_ExAttackDuration",
"ParamName": "Float_ExSkillDurationTime",
"Target": "Self"
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_AddedElementAccumulationRatio",
"PropertyValue": "%AS_AddedElementAccumulationRatio",
"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": 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": "ByAvatarElementType",
"ElementType": 200,
"Target": "Self"
}
],
"Target": "Caster"
}
]
}
}
}