ZenlessData/Data/Bangboo_Brawlerboo_MathSkill.json
2024-12-17 20:43:14 -03:00

265 lines
7.1 KiB
JSON

{
"AbilityName": "Bangboo_Brawlerboo_MathSkill",
"AbilitySpecials": {
"AS_AddedDamageRatio": {
"Value": 1
},
"AS_MathSkillTriggered": {
"Value": 0,
"ValueType": "Integer"
},
"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,
"ModifierMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "SwitchIn_AttackPre",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
},
{
"AnimatorStateName": "SwitchOut_AttackPre",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
},
{
"AnimatorStateName": "Attack_AttackMove_Start",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
},
{
"AnimatorStateName": "Attack_AttackMove",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
},
{
"AnimatorStateName": "Attack_AttackMove_Loop",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
},
{
"AnimatorStateName": "Attack_AttackLaunch",
"FrameCountHigh": 99,
"FrameCountLow": 0,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"MathSkillTriggeredModifier"
]
}
]
}
],
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_MathSkill",
"ParamType": 2,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 0,
"ParamName": "AS_MathSkillTriggered",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": true,
"ParamName": "Bool_MathSkill",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 0,
"ParamName": "AS_MathSkillTriggered",
"ParamType": "Integer",
"Target": "Self"
}
],
"Target": "Self"
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimTagList",
"TagList": [
"BangbooAttack"
]
},
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 0,
"ParamName": "AS_MathSkillTriggered",
"ParamType": "Integer",
"Target": "Self"
}
],
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AS_AddedDamageRatio",
"Target": "Self"
}
]
},
"MathSkillTriggeredModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_MathSkill",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "WriteAIParamAction",
"BoolParamValue": false,
"ParamName": "Bool_MathSkill",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_MathSkillTriggered",
"ParamType": "Integer",
"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": "ByOr",
"Predicates": [
{
"$type": "ByAvatarProfessionType",
"ProfessionType": "Attack",
"Target": "Self"
},
{
"$type": "ByAvatarProfessionType",
"ProfessionType": "Anomaly",
"Target": "Self"
}
]
}
],
"Target": "Caster"
}
]
}
}
}