Class PathTransferDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

Moves nearby path-following enemies to a destination, without requiring a damage hit.

public sealed class PathTransferDef : IAbilityAction
Inheritance
PathTransferDef
Implements
Inherited Members

Constructors

PathTransferDef(string, PathDestinationDef, float, int, MechanicTargetDef)

Creates a nearest-first relocation action with Id ties.

public PathTransferDef(string id, PathDestinationDef destination, float range, int maxTargets = 1, MechanicTargetDef targets = null)

Parameters

id string
destination PathDestinationDef
range float
maxTargets int
targets MechanicTargetDef

Properties

Destination

Authored destination.

public PathDestinationDef Destination { get; }

Property Value

PathDestinationDef

Id

Neutral event identity.

public string Id { get; }

Property Value

string

MaxTargets

Maximum distinct recipients per activation.

public int MaxTargets { get; }

Property Value

int

Range

Horizontal search radius, affected by actor range modifiers.

public float Range { get; }

Property Value

float

Targets

Eligibility within the global enemy faction, allowing enemy support transfers as well.

public MechanicTargetDef Targets { get; }

Property Value

MechanicTargetDef