Ghost

Game resources

Player AutoBattle

game_resourceIntrinsic/flexbuffers-json/Player_AutoBattle

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Player_AutoBattle.json
data
{
  "OnAdded": [
    {
      "$type": "TriggerBehaviorTreeAction",
      "Enable": true
    },
    {
      "Tag": "AutoBattle_MuteGamepadRumble",
      "$type": "PushMuteGamepadRumble"
    },
    {
      "Tag": "AutoBattle_MuteCameraShake",
      "$type": "PushMuteCameraShake"
    },
    {
      "$type": "HandleAnimatorZoneTagsAction",
      "IsAdd": true,
      "AnimatorStateTags": [
        "AutoBattle"
      ]
    }
  ],
  "Modifiers": {
    "AutoBattle_MuteBeSelectedModifier": {
      "OnAdded": [
        {
          "Tag": "AutoBattle_MuteBeSelected",
          "$type": "PushMuteBeSelectedAction",
          "Target": "Self",
          "MuteValue": true
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "AutoBattle_MuteBeSelected",
          "$type": "PopMuteBeSelectedAction"
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "OnRemoved": [
    {
      "Tag": "AutoBattle_MuteGamepadRumble",
      "$type": "PopMuteGamepadRumble"
    },
    {
      "Tag": "AutoBattle_MuteCameraShake",
      "$type": "PopMuteCameraShake"
    },
    {
      "$type": "HandleAnimatorZoneTagsAction",
      "IsAdd": false,
      "AnimatorStateTags": [
        "AutoBattle"
      ]
    }
  ],
  "AbilityName": "Player_AutoBattle",
  "AbilityMixins": [
    {
      "$type": "AttachZoneTagWithModifierMixin",
      "ConfigList": [
        {
          "ZoneTag": "AutoBattle_MuteBeSelected",
          "ModifierNameList": [
            "AutoBattle_MuteBeSelectedModifier"
          ]
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_AbilityName": {
      "Value": "",
      "ValueType": "String"
    }
  },
  "AbilityStacking": "Unique",
  "OnAbilityTrigger": [
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": "",
          "ParamName": "AS_AbilityName",
          "ParamType": "String",
          "CompareType": "Equal"
        }
      ],
      "FailureActions": [
        {
          "$type": "TriggerAbilityAction",
          "AbilityName": "%AS_AbilityName"
        }
      ],
      "SuccessActions": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "Val1": 80,
              "$type": "ByPlayerPropertyValue",
              "Numerator": "CurSP",
              "CompareType": "GreaterEqual",
              "IsUsePercent": false
            },
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "Tags": [
                    "Follower_NoExsp"
                  ],
                  "$type": "ByIsInZoneTags",
                  "Target": "Self"
                }
              ]
            }
          ],
          "FailureActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "ParamName": "Trigger_PressAttackA",
              "ParamType": 1
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "ParamName": "Trigger_PressAttackB",
              "ParamType": 1
            }
          ]
        }
      ]
    }
  ]
}
format
json
displayName
Player_AutoBattle