ZenlessData/Data/Bangboo_Safety_KeepAttackCheck.json

69 lines
1.6 KiB
JSON
Raw Permalink Normal View History

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Pre",
"FrameCountHigh": 190,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": false,
"MaxFrameCountLow": false,
"ModifierNameList": [
"ClearTriggerModifier"
]
}
]
}
],
"AbilityName": "Bangboo_Safety_KeepAttackCheck",
"AbilityStacking": "Unique",
"DefaultModifier": {
"ModifierStacking": "Unique",
"OnHitOther": [
{
"$type": "ApplyModifier",
"ModifierName": "StillAttackModifier",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Bangboo_Safety_Attackproperty_Attack02"
]
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"ClearTriggerModifier": {
"Duration": 0.1,
"ModifierStacking": "Refresh",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Trigger_AttackMiss",
"ParamType": 1,
"Target": "Self"
}
]
},
"StillAttackModifier": {
"Duration": 0.2,
"ModifierStacking": "Refresh",
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_AttackMiss",
"ParamType": 1,
"Target": "Self"
}
]
}
}
}