Ghost

Game resources

Mutant ParryAttack

game_resourceIntrinsic/flexbuffers-json/Mutant_ParryAttack

Properties

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