Ghost

Game resources

Device Prop BangBooTDSwitchPlace Default

game_resourceIntrinsic/flexbuffers-json/Device_Prop_BangBooTDSwitchPlace_Default

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Device_Prop_BangBooTDSwitchPlace_Default.json
data
{
  "Modifiers": {
    "LightStateModifierForBuddy": {
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Caster",
          "BoolVal": false,
          "ParamName": "IsClose",
          "ParamType": 2
        },
        {
          "$type": "SendCustomEvent",
          "EventKey": "LightPlaceOpen",
          "IsGlobal": true
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Device_Prop_BangBooTDSwitchPlace_Default",
  "AbilityMixins": [
    {
      "$type": "FieldRangeMixin",
      "TotalDuration": -1,
      "ColliderConfig": {
        "ColliderType": "Box",
        "BoxColliderWidth": 1.2,
        "BoxColliderHeight": 1.1,
        "ColliderPosOffset": {
          "x": 0,
          "y": 0.19,
          "z": -0.6
        },
        "BoxColliderDistance": 1.2,
        "ColliderAngleOffset": {
          "x": 0,
          "y": 0,
          "z": 0
        }
      },
      "FieldInitPosRot": {
        "CoordsOption": "Self",
        "TargetOption": {
          "$type": "ConfigPosRotReferTarget"
        },
        "NeedRaycastGround": true
      },
      "FieldEnterActions": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByTags",
              "Target": "Other",
              "TagList": [
                "Bookemon_Bangboo"
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "Target": "Self",
              "BoolVal": true,
              "ParamName": "IsClose",
              "ParamType": 2
            },
            {
              "$type": "SendCustomEvent",
              "EventKey": "LightPlaceOpen",
              "IsGlobal": true
            },
            {
              "$type": "ApplyModifier",
              "Target": "Other",
              "ModifierName": "LightStateModifierForBuddy"
            }
          ]
        }
      ]
    }
  ],
  "AbilityStacking": "Unique"
}
format
json
displayName
Device_Prop_BangBooTDSwitchPlace_Default