A TriggerEffect with cooldown conditions, used to limit the frequency of trigger effects that would otherwise fire every single tick. If multiple cooldown conditions are defined, then all cooldowns must be satisfied before the effect can be triggered.
distance_cooldown optional | :: double | The travel distance between triggers that the triggerer must travel between effects. [...] |
The travel distance between triggers that the triggerer must travel between effects. [...] | ||
initial_distance_cooldown optional | :: double | The initial state of the distance cooldown. [...] |
The initial state of the distance cooldown. [...] | ||
time_cooldown optional | :: MapTick | The number of ticks that elapse between triggers. |
The number of ticks that elapse between triggers. | ||
initial_time_cooldown optional | :: MapTick | The initial amount of time to wait before triggering the effect for the first time. |
The initial amount of time to wait before triggering the effect for the first time. | ||
effect | :: TriggerEffect |
effect | :: TriggerEffect | |
distance_cooldown optional | :: double | The travel distance between triggers that the triggerer must travel between effects. [...] |
The travel distance between triggers that the triggerer must travel between effects. [...] | ||
initial_distance_cooldown optional | :: double | The initial state of the distance cooldown. [...] |
The initial state of the distance cooldown. [...] | ||
initial_time_cooldown optional | :: MapTick | The initial amount of time to wait before triggering the effect for the first time. |
The initial amount of time to wait before triggering the effect for the first time. | ||
time_cooldown optional | :: MapTick | The number of ticks that elapse between triggers. |
The number of ticks that elapse between triggers. |
Default: 0
The travel distance between triggers that the triggerer must travel between effects. Negative values will mean there is no cooldown.
Default: 0
The initial state of the distance cooldown. In other words, the distance the triggerer must travel before the first effect can be triggered. Useful for staggering multiple effects.
Default: 0
The number of ticks that elapse between triggers.
Default: 0
The initial amount of time to wait before triggering the effect for the first time.