Class AttackCycleDef
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
Properties
AllowOutOfRange
Allows a living selected target outside the original range at release.
public bool AllowOutOfRange { get; }
Property Value
Recovery
Time after the last release before a new cycle can start.
public float Recovery { get; }
Property Value
ReleaseOffsets
Sorted strike or release times, in game seconds.
public IReadOnlyList<float> ReleaseOffsets { get; }
Property Value
RetargetOnRelease
Finds another eligible target when the selected target is lost.
public bool RetargetOnRelease { get; }