Ghost

Game resources

LightfootRover ATK7 TargetPointController

game_resourceIntrinsic/flexbuffers-json/LightfootRover_ATK7_TargetPointController

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/LightfootRover_ATK7_TargetPointController.json
data
{
  "OnAdded": [
    {
      "$type": "ProcessAttachPointAction",
      "PosRot": {
        "TargetOption": {
          "$type": "ConfigPosRotReferTarget",
          "OffsetReferTarget": "Self"
        }
      },
      "AttachPointName": "ATK7_BaseTargetPoint_L"
    },
    {
      "$type": "ProcessAttachPointAction",
      "PosRot": {
        "TargetOption": {
          "$type": "ConfigPosRotReferTarget",
          "OffsetReferTarget": "Self"
        }
      },
      "AttachPointName": "ATK7_BaseTargetPoint_R"
    },
    {
      "$type": "ProcessAttachPointAction",
      "PosRot": {
        "TargetOption": {
          "$type": "ConfigPosRotReferTarget",
          "OffsetReferTarget": "Self"
        }
      },
      "AttachPointName": "ATK7_ActualTargetPoint_L"
    },
    {
      "$type": "ProcessAttachPointAction",
      "PosRot": {
        "TargetOption": {
          "$type": "ConfigPosRotReferTarget",
          "OffsetReferTarget": "Self"
        }
      },
      "AttachPointName": "ATK7_ActualTargetPoint_R"
    }
  ],
  "Modifiers": {
    "InitTargetProtect": {
      "Duration": 5,
      "IsUnique": true
    }
  },
  "AbilityName": "LightfootRover_ATK7_TargetPointController",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnCustomEventReceived": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "LightfootRover_ATK7_InitTargetPoint"
          },
          {
            "$type": "ByHasModifier",
            "OperatorType": "Not",
            "ModifierNameList": [
              "InitTargetProtect"
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "BranchOperator",
            "Conditions": [
              {
                "$type": "ByDistance",
                "Target": "Caster",
                "Distance": 6,
                "CompareType": "GreaterEqual",
                "CompareTarget": "SelfAttackTarget"
              }
            ],
            "FailureActions": [
              {
                "$type": "SetAttachPointPosRotAction",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": -0.8,
                      "y": -1,
                      "z": 0.5
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "Caster"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_L"
              },
              {
                "$type": "SetAttachPointPosRotAction",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": 0.8,
                      "y": -1,
                      "z": 0.5
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "Caster"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_R"
              }
            ],
            "SuccessActions": [
              {
                "$type": "SetAttachPointPosRotAction",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": -0.8,
                      "y": 0,
                      "z": -6
                    }
                  },
                  "CoordsOption": "Relative",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "SelfAttackTarget"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_L"
              },
              {
                "$type": "SetAttachPointPosRotAction",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": 0.8,
                      "y": 0,
                      "z": -6
                    }
                  },
                  "CoordsOption": "Relative",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "OffsetReferTarget": "SelfAttackTarget"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_R"
              }
            ]
          },
          {
            "$type": "BranchOperator",
            "Conditions": [
              {
                "Tags": [
                  "LightfootRover_ExtraUAV"
                ],
                "$type": "ByIsInZoneTags"
              }
            ],
            "FailureActions": [
              {
                "$type": "SetAttachPointPosRotAction",
                "Target": "Custom",
                "CustomKey": "Monster_LightfootRover_UAV_L",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": -1.6,
                      "y": 0,
                      "z": 0
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "AttachPoint": "ATK7_BaseTargetPoint_L",
                    "OffsetReferTarget": "Caster",
                    "IsUseAttachPointPos": true,
                    "IsUseAttachPointRotation": true
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_UAV"
              },
              {
                "$type": "SetAttachPointPosRotAction",
                "Target": "Custom",
                "CustomKey": "Monster_LightfootRover_UAV_R",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": 1.6,
                      "y": 0,
                      "z": 0
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "AttachPoint": "ATK7_BaseTargetPoint_R",
                    "OffsetReferTarget": "Caster"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_UAV"
              }
            ],
            "SuccessActions": [
              {
                "$type": "SetAttachPointPosRotAction",
                "Target": "Custom",
                "CustomKey": "Monster_LightfootRover_UAV_L_Extra",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": -1.6,
                      "y": 0,
                      "z": 0
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "AttachPoint": "ATK7_BaseTargetPoint_L",
                    "OffsetReferTarget": "Caster",
                    "IsUseAttachPointPos": true,
                    "IsUseAttachPointRotation": true
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_UAV"
              },
              {
                "$type": "SetAttachPointPosRotAction",
                "Target": "Custom",
                "CustomKey": "Monster_LightfootRover_UAV_R_Extra",
                "TargetPosRot": {
                  "Offset": {
                    "PositionOffset": {
                      "x": 1.6,
                      "y": 0,
                      "z": 0
                    }
                  },
                  "CoordsOption": "ReferTarget",
                  "TargetOption": {
                    "$type": "ConfigPosRotReferTarget",
                    "AttachPoint": "ATK7_BaseTargetPoint_R",
                    "OffsetReferTarget": "Caster"
                  }
                },
                "AttachPointName": "ATK7_BaseTargetPoint_UAV"
              }
            ]
          },
          {
            "$type": "AttachModifier",
            "ModifierName": "InitTargetProtect"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "LightfootRover_ATK7_TargetPointRelease"
          },
          {
            "$type": "ByHasModifier",
            "ModifierNameList": [
              "InitTargetProtect"
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "ModifierName": "InitTargetProtect"
          }
        ]
      }
    ]
  }
}
format
json
displayName
LightfootRover_ATK7_TargetPointController