Class AttackCycleDef

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

Release offsets measured from attack start; the repeat cooldown starts at that same mark.

public sealed class AttackCycleDef
Inheritance
AttackCycleDef
Inherited Members

Constructors

AttackCycleDef(float[], float, bool, bool)

Creates an attack cycle; an omitted offset list means an immediate single release.

public AttackCycleDef(float[] releaseOffsets = null, float recovery = 0, bool retargetOnRelease = true, bool allowOutOfRange = false)

Parameters

releaseOffsets float[]
recovery float
retargetOnRelease bool
allowOutOfRange bool

Properties

AllowOutOfRange

Allows a living selected target outside the original range at release.

public bool AllowOutOfRange { get; }

Property Value

bool

Recovery

Time after the last release before a new cycle can start.

public float Recovery { get; }

Property Value

float

ReleaseOffsets

Sorted strike or release times, in game seconds.

public IReadOnlyList<float> ReleaseOffsets { get; }

Property Value

IReadOnlyList<float>

RetargetOnRelease

Finds another eligible target when the selected target is lost.

public bool RetargetOnRelease { get; }

Property Value

bool