1
0
ZenlessData/Data/_unsorted/Mutant_ParryAttack.json
2026-05-06 01:39:00 +02:00

120 lines
3.0 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActwithStateFrameMixin",
"ConfigList": [
{
"ActionList": [
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_CounterAttackControl",
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "LessEqual",
"Distance": 5,
"Target": "Self"
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"NotFirstParry"
]
}
],
"Target": "Self"
}
],
"AnimatorStateName": "Parry_H",
"ForceTriggerOnTransitionIn": true,
"ForceTriggerOnTransitionOut": false,
"Frame": 0,
"IsLoop": false,
"LayerIndex": 0
}
]
}
],
"AbilityName": "Mutant_ParryAttack",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
]
},
"Modifiers": {
"Modifier_CounterAttackControl": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_CounterAttack_02"
}
],
"OnSuccess": [
{
"$type": "ApplyModifier",
"ModifierName": "Modifier_CounterAttack_01"
}
]
}
]
},
"Modifier_CounterAttack_01": {
"DelayHandlers": [
{
"DelayTime": 0.17,
"TimeUpActions": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 21,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_PressAttackA",
"ParamType": 1,
"Target": "Self"
}
]
}
],
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace"
},
"Modifier_CounterAttack_02": {
"DelayHandlers": [
{
"DelayTime": 0.33,
"TimeUpActions": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 22,
"ParamName": "Int_AttackIndex",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_PressAttackA",
"ParamType": 1,
"Target": "Self"
}
]
}
],
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Replace"
}
}
}