Xivgear Types Documentation
    Preparing search index...

    Type Alias CycleLengthMode

    CycleLengthMode: "align-absolute" | "align-to-first" | "full-duration"

    Sets how to set the actual cycle length of a CycleProcessor

    align-absolute: the default behavior. Cycle length is trimmed to align to the "expected" cycle times. e.g., if the current time is 135 seconds, and you start the second cycle, it will be (240 - 135) = 105 seconds

    align-to-first: Cycle length is trimmed to the expected time, but offset by the start time of the first cycle. e.g. if you started the first cycle at 5 seconds, and you're about to start the second cycle at 130 seconds, it will be trimmed to (240 + 5 - 130) = 115 seconds.

    full-duration: Use the full duration for every cycle, regardless of start time. Prone to drift, but avoids needing to check cooldowns if the CD time is less than or equal to the cycle time and is used at the same point in every cycle.