repeat: say what to run, how often, and for how long. This is how auras, pulsing attacks and phase timers are built.
repeat
Runs a named or local effect on each target repeatedly. Alias:every
The repeating effect runs with the ticking entity as
@self, so radius targeters inside it resolve around that entity. Repeats stop automatically when the entity dies or despawns.
stoprepeat
Stops repeats and pulses on the targets, running theironEnd if they have one.
Aliases: removepulse, removeaura
pulse
The full-lifecycle form ofrepeat. Same engine, all three hooks explicit.
Alias: aura
The name pattern
Give a repeat aname when anything might need to stop it early: phase changes, death, a cleanse mechanic.
forever repeat with no stoprepeat still ends when the mob dies, but stopping it explicitly also fires its onEnd, which matters once you use one.
