Ghost

Game resources

Trigger AutoBattle

game_resourceIntrinsic/flexbuffers-json/Trigger_AutoBattle

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Trigger_AutoBattle.json
data
{
  "Modifiers": {
    "HoldModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "BoolVal": true,
          "ParamName": "Bool_HoldAttackA",
          "ParamType": 2
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "HoldCDModifier"
        }
      ],
      "Duration": 2.5,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "BoolVal": false,
          "ParamName": "Bool_HoldAttackA",
          "ParamType": 2
        }
      ],
      "ModifierStacking": "Replace"
    },
    "HoldCDModifier": {
      "Duration": 12,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Trigger_AutoBattle",
  "AbilityMixins": [
    {
      "$type": "LockLifePropertyMixin",
      "IsUnlockStun": true,
      "RatioLockList": [
        {
          "LockType": "Total",
          "LockValue": 1
        }
      ],
      "PerformBeHitEffect": true
    }
  ],
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyAbilityAction",
        "AbilityName": "Player_AutoBattle",
        "IsAutoTrigger": false
      },
      {
        "$type": "ApplyAbilityAction",
        "AbilityName": "Player_AutoBattle",
        "IsAutoTrigger": false
      },
      {
        "$type": "SetTargetAbilitySpecialAction",
        "Params": [
          {
            "AbilityName": "Player_AutoBattle",
            "AbilitySpecials": [
              {
                "Param": "Trigger_AutoBattle",
                "ParamName": "AS_AbilityName",
                "ParamType": "String",
                "ModifyFunction": "Replace"
              }
            ]
          }
        ]
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByDistance",
          "Target": "Self",
          "Distance": 10,
          "CompareType": "GreaterEqual",
          "CompareTarget": "SelfAttackTarget"
        }
      ],
      "FailureActions": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "ParamName": "Trigger_PressAttackA",
          "ParamType": 1
        }
      ],
      "SuccessActions": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "BoolVal": false,
          "ParamName": "Trigger_PressAttackA",
          "ParamType": 1
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "ParamName": "Trigger_PressAttackB",
          "ParamType": 1
        }
      ]
    }
  ]
}
format
json
displayName
Trigger_AutoBattle