Ghost

Game resources

Pryce SwitchAttack

game_resourceIntrinsic/flexbuffers-json/Pryce_SwitchAttack

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Pryce_SwitchAttack.json
data
{
  "Modifiers": {
    "RotationModifier": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAngleRange",
              "Target": "LocalAvatar",
              "AngleMax": 180,
              "AngleMin": 90,
              "CompareTarget": "Camera"
            }
          ],
          "FailureActions": [
            {
              "$type": "ApplyLogicMoveAction",
              "Target": "Self",
              "RotationConfig": {
                "$type": "ConfigRotationToTarget",
                "Duration": -1,
                "RotateType": "Instant",
                "RotateSpeed": 8,
                "TargetPosRot": {
                  "Offset": {
                    "AngleOffset": {
                      "x": 0,
                      "y": 0,
                      "z": 0
                    },
                    "IsUseRotationY": true,
                    "PositionOffset": {
                      "x": 10,
                      "y": 0,
                      "z": 0
                    },
                    "IsUseRotationXZ": true,
                    "IsClampOffsetDistance": false
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "LastSelfAttackTarget"
                  }
                },
                "ReachTargetStop": false,
                "TargetUpdateMode": "Always"
              }
            }
          ],
          "SuccessActions": [
            {
              "$type": "ApplyLogicMoveAction",
              "Target": "Self",
              "RotationConfig": {
                "$type": "ConfigRotationToTarget",
                "Duration": -1,
                "RotateType": "Instant",
                "RotateSpeed": 8,
                "TargetPosRot": {
                  "Offset": {
                    "AngleOffset": {
                      "x": 0,
                      "y": 0,
                      "z": 0
                    },
                    "IsUseRotationY": true,
                    "PositionOffset": {
                      "x": -10,
                      "y": 0,
                      "z": 0
                    },
                    "IsUseRotationXZ": true,
                    "IsClampOffsetDistance": false
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "LastSelfAttackTarget"
                  }
                },
                "ReachTargetStop": false,
                "TargetUpdateMode": "Always"
              }
            }
          ]
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "InExecuteModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsInExecute",
          "ParamType": 2
        }
      ],
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_IsInExecute",
          "ParamType": 2
        }
      ]
    },
    "CheckHasTargetModifier": {
      "OnAdded": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByHasSelfAttackTarget",
              "Target": "Self"
            }
          ],
          "AnimatorStateTags": [
            "SwtichAttack_HasTarget"
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Self",
          "AnimatorStateTags": [
            "SwtichAttack_HasTarget"
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "SwitchAttackCDModifier": {
      "Duration": "%AS_SwitchAttackCD",
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsSwitchAttack",
          "ParamType": 2
        }
      ],
      "ModifierStacking": "Unique"
    },
    "SwitchAttackDelayModifier": {
      "Duration": 0.1,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_IsSwitchAttack",
          "ParamType": 2
        }
      ],
      "ModifierStacking": "Unique"
    },
    "SwitchAttackListenModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsSwitchAttack",
          "ParamType": 2
        }
      ],
      "Duration": -1,
      "OnSwitchTriggerInInstant": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarSwitchType",
              "SwitchType": "Normal"
            },
            {
              "$type": "ByHasModifier",
              "Target": "Self",
              "OperatorType": "Not",
              "ModifierNameList": [
                "SwitchAttackCDModifier"
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "SwitchAttackCDModifier"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "SwitchAttackDelayModifier"
            }
          ]
        }
      ]
    },
    "PerfectSwitchAllowOnstageAvatarModifier": {
      "OnAdded": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Self",
          "AnimatorStateTags": [
            "OnStage_Allow_Parry"
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByOr",
                  "Predicates": [
                    {
                      "$type": "ByAnimatorStateNormalizedTime",
                      "IsLoop": false,
                      "Target": "Self",
                      "FrameCountLow": 0,
                      "AnimatorStateName": "SwitchOut_Normal",
                      "MaxFrameCountHigh": true
                    },
                    {
                      "$type": "ByAnimatorStateNormalizedTime",
                      "IsLoop": false,
                      "Target": "Self",
                      "FrameCountLow": 0,
                      "AnimatorStateName": "SwitchOut_Attack",
                      "MaxFrameCountHigh": true
                    }
                  ]
                }
              ]
            }
          ],
          "AnimatorStateTags": [
            "OnStage_Allow_Parry"
          ]
        }
      ],
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Pryce_SwitchAttack",
  "AbilityMixins": [
    {
      "$type": "AttachZoneTagWithModifierMixin",
      "ConfigList": [
        {
          "ZoneTag": "Avatar_InExecute",
          "ModifierNameList": [
            "InExecuteModifier"
          ]
        },
        {
          "ZoneTag": "MultiParry_SwitchOn_1",
          "ModifierNameList": [
            "InExecuteModifier"
          ]
        }
      ]
    },
    {
      "$type": "AttachStateWithModifierMixin",
      "IsSeam": false,
      "ConfigList": [
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "CheckHasTargetModifier",
            "PerfectSwitchAllowOnstageAvatarModifier"
          ],
          "AnimatorStateName": "SwitchAttack_Start",
          "MaxFrameCountHigh": true
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "CheckHasTargetModifier",
            "PerfectSwitchAllowOnstageAvatarModifier"
          ],
          "AnimatorStateName": "SwitchAttack_01",
          "MaxFrameCountHigh": true
        }
      ]
    },
    {
      "$type": "AttachStateWithModifierMixin",
      "IsSeam": false,
      "ConfigList": [
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "RotationModifier"
          ],
          "AnimatorStateName": "SwitchAttack_Evade",
          "MaxFrameCountHigh": true
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_SwitchAttackCD": {
      "Value": 5,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "SwitchAttackListenModifier"
      }
    ],
    "OnHitOther": [
      {
        "$type": "SetAnimCtrlerParamAction",
        "Target": "Self",
        "ParamName": "Trigger_DashOnHit",
        "ParamType": 1,
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "Target": "Self",
            "AnimEventIDs": [
              "Pryce_Attack_SwitchAttack_Detect"
            ]
          }
        ]
      }
    ]
  }
}
format
json
displayName
Pryce_SwitchAttack