{
  "AbilityMixins": [
    {
      "$type": "AttachZoneTagWithModifierMixin",
      "ConfigList": [
        {
          "ModifierNameList": [
            "CounterTriggerControlModifier"
          ],
          "ZoneTag": "Hit"
        }
      ]
    }
  ],
  "AbilityName": "AlpecaInfested_CounterAttack",
  "AbilityStacking": "Unique",
  "Modifiers": {
    "CounterTriggerControlModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 2,
          "TimeUpActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "BoolVal": true,
              "ParamName": "Trigger_CounterAttack",
              "ParamType": 1,
              "Predicates": [
                {
                  "$type": "ByDistance",
                  "CompareTarget": "LocalAvatar",
                  "CompareType": "LessEqual",
                  "Distance": 3,
                  "Target": "Target"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInStun",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "CompareType": "Equal",
                  "IntVal": 1,
                  "ParamName": "Int_PhaseIndex",
                  "ParamType": 3
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInIgnite",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsFrozen",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInChaos",
                  "ParamType": 2,
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "SetAnimCtrlerParamAction",
              "BoolVal": true,
              "ParamName": "Trigger_CounterAttack_1",
              "ParamType": 1,
              "Predicates": [
                {
                  "$type": "ByDistance",
                  "CompareTarget": "LocalAvatar",
                  "CompareType": "LessEqual",
                  "Distance": 3,
                  "Target": "Target"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInStun",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "CompareType": "Equal",
                  "IntVal": 1,
                  "ParamName": "Int_PhaseIndex",
                  "ParamType": 3
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInIgnite",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsFrozen",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInChaos",
                  "ParamType": 2,
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "SetAnimCtrlerParamAction",
              "BoolVal": true,
              "ParamName": "Trigger_CounterAttack_2",
              "ParamType": 1,
              "Predicates": [
                {
                  "$type": "ByDistance",
                  "CompareTarget": "LocalAvatar",
                  "CompareType": "GreaterEqual",
                  "Distance": 10,
                  "Target": "Target"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInStun",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "CompareType": "Equal",
                  "IntVal": 1,
                  "ParamName": "Int_PhaseIndex",
                  "ParamType": 3
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInIgnite",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsFrozen",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInChaos",
                  "ParamType": 2,
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "HandleAnimatorZoneTagsAction",
              "AnimatorStateTags": [
                "CounterRBL"
              ],
              "IsAdd": true,
              "Predicates": [
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInStun",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "CompareType": "Equal",
                  "IntVal": 1,
                  "ParamName": "Int_PhaseIndex",
                  "ParamType": 3
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInIgnite",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsFrozen",
                  "ParamType": 2,
                  "Target": "Self"
                },
                {
                  "$type": "ByAnimCtrlerParam",
                  "BoolVal": false,
                  "CompareType": "Equal",
                  "ParamName": "Bool_IsInChaos",
                  "ParamType": 2,
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace",
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "ModifierName": "CounterTriggerControlModifier",
          "Target": "Self"
        }
      ]
    }
  }
}