Ghost

Game resources

Cottus P2 OpenningAttack

game_resourceIntrinsic/flexbuffers-json/Cottus_P2_OpenningAttack

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Cottus_P2_OpenningAttack.json
data
{
  "Modifiers": {
    "OpenningAttackModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 8,
          "Target": "Self",
          "ParamName": "Int_AttackIndex",
          "ParamType": 3,
          "Predicates": [
            {
              "$type": "ByApplyPredicate",
              "PredicateName": "DistancePredicate"
            },
            {
              "$type": "ByApplyPredicate",
              "PredicateName": "AnglePredicate"
            }
          ]
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 9,
          "Target": "Self",
          "ParamName": "Int_AttackIndex",
          "ParamType": 3,
          "Predicates": [
            {
              "$type": "ByNot",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "DistancePredicate"
                },
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "AnglePredicate"
                }
              ]
            }
          ]
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 13,
          "Target": "Self",
          "ParamName": "Int_AttackIndex",
          "ParamType": 3,
          "Predicates": [
            {
              "$type": "ByNot",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "AnglePredicate"
                }
              ]
            }
          ]
        },
        {
          "$type": "WriteAIParamAction",
          "Target": "Self",
          "ParamName": "Int_SavedCombo",
          "Predicates": [
            {
              "$type": "ByApplyPredicate",
              "PredicateName": "DistancePredicate"
            }
          ],
          "IntParamValue": 8
        },
        {
          "$type": "WriteAIParamAction",
          "Target": "Self",
          "ParamName": "Int_SavedCombo",
          "Predicates": [
            {
              "$type": "ByNot",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "DistancePredicate"
                }
              ]
            }
          ],
          "IntParamValue": 9
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Trigger_PressAttackA",
          "ParamType": 1
        }
      ],
      "Duration": 0.03,
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    }
  },
  "Predicates": {
    "AnglePredicate": {
      "Predicates": [
        {
          "$type": "ByAngleRange",
          "Target": "Self",
          "AngleMax": 90,
          "AngleMin": -90,
          "CompareTarget": "SelfAttackTarget"
        }
      ]
    },
    "DistancePredicate": {
      "Predicates": [
        {
          "$type": "ByDistance",
          "Target": "Self",
          "Distance": 8,
          "CompareType": "Less",
          "CompareTarget": "SelfAttackTarget"
        }
      ]
    }
  },
  "AbilityName": "Cottus_P2_OpenningAttack",
  "AbilityMixins": [
    {
      "$type": "ActwithStateFrameMixin",
      "ConfigList": [
        {
          "Frame": 170,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "OpenningAttackModifier"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "P2_Born",
          "ForceTriggerOnTransitionOut": false
        },
        {
          "Frame": 30,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "OpenningAttackModifier"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "P2_Born_02",
          "ForceTriggerOnTransitionOut": false
        },
        {
          "Frame": 170,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "OpenningAttackModifier"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "P2_Born_03",
          "ForceTriggerOnTransitionOut": false
        }
      ]
    }
  ],
  "AbilityStacking": "Unique"
}
format
json
displayName
Cottus_P2_OpenningAttack