Ghost

Game resources

Device Pinball Laser Linear Default

game_resourceIntrinsic/flexbuffers-json/Device_Pinball_Laser_Linear_Default

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Device_Pinball_Laser_Linear_Default.json
data
{
  "Modifiers": {
    "ShootingModifier": {
      "OnAdded": [
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Pinball_Activity_36_Ball",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": -0.6,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Pinball_Activity_38_Star",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": -0.6,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveAbilityAction",
          "Target": "Self",
          "AbilityName": "Device_Pinball_Laser_Linear_LaserBeam"
        }
      ],
      "DelayHandlers": [
        {
          "$type": "DelayHandler",
          "DelayTime": 0.333333,
          "TimeUpActions": [
            {
              "$type": "ApplyAbilityAction",
              "Target": "Self",
              "AbilityName": "Device_Pinball_Laser_Linear_LaserBeam"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "ChargingEffectModifier": {
      "OnAdded": [
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Pinball_Activity_35_Ball",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": -0.4,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "ActivatableEffectModifier": {
      "OnAdded": [
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Pinball_Activity_36_Ball",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": -0.6,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        },
        {
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Pinball_Activity_37_Hit",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": -0.4,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "Root",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Device_Pinball_Laser_Linear_Default",
  "AbilityMixins": [],
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "Key": "Pinball_Laser_Nearest",
        "$type": "SetTargetValueKey",
        "Target": "Self",
        "ResetDynamicValue": true
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "ChargingEffectModifier"
      }
    ],
    "Duration": -1,
    "Properties": {
      "Actor_Hiisazu": 1,
      "Actor_EnableLastKill": 1,
      "Actor_Hiisazu_NoLimitLocalAvatar": 1
    },
    "ThinkInterval": 0.1,
    "OnThinkInterval": [
      {
        "$type": "BranchOperator",
        "comment": "// 状态2:发射中 → 发射激光(时长由行为树Wait控制,此处Duration=-1)",
        "Predicates": [
          {
            "$type": "ByAIParam",
            "Target": "Self",
            "ParamName": "Int_DeviceState",
            "CompareType": "Equal",
            "FloatParamValue": 3
          },
          {
            "$type": "ByNot",
            "Predicates": [
              {
                "$type": "ByHasModifier",
                "ModifierName": "ShootingModifier"
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "ModifierName": "ChargingEffectModifier"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "ActivatableEffectModifier"
          },
          {
            "$type": "ApplyModifier",
            "ModifierName": "ShootingModifier"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "comment": "// 状态0:未激活(充能中)→ 播充能循环特效",
        "Predicates": [
          {
            "$type": "ByAIParam",
            "Target": "Self",
            "ParamName": "Int_DeviceState",
            "CompareType": "Equal",
            "FloatParamValue": 1
          },
          {
            "$type": "ByNot",
            "Predicates": [
              {
                "$type": "ByHasModifier",
                "ModifierName": "ChargingEffectModifier"
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "ModifierName": "ActivatableEffectModifier"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "ShootingModifier"
          },
          {
            "$type": "ApplyModifier",
            "ModifierName": "ChargingEffectModifier"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "comment": "// 状态1:可激活(满充能)→ 播闪烁提示特效",
        "Predicates": [
          {
            "$type": "ByAIParam",
            "Target": "Self",
            "ParamName": "Int_DeviceState",
            "CompareType": "Equal",
            "FloatParamValue": 2
          },
          {
            "$type": "ByNot",
            "Predicates": [
              {
                "$type": "ByHasModifier",
                "ModifierName": "ActivatableEffectModifier"
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "ModifierName": "ChargingEffectModifier"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "ShootingModifier"
          },
          {
            "$type": "ApplyModifier",
            "ModifierName": "ActivatableEffectModifier"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "comment": "// 状态0",
        "Predicates": [
          {
            "$type": "ByAIParam",
            "Target": "Self",
            "ParamName": "Int_DeviceState",
            "CompareType": "Equal",
            "FloatParamValue": 0
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "ModifierName": "ChargingEffectModifier"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "ShootingModifier"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "ActivatableEffectModifier"
          }
        ]
      }
    ],
    "ModifierStacking": "Unique"
  }
}
format
json
displayName
Device_Pinball_Laser_Linear_Default