
Potion mechanic
Lingering Potion Clouds
A Lingering Potion leaves a cloud 3 blocks in radius that gives its effects for a quarter of the potion's duration and lasts at most 25 seconds.
| Starting radius | 3 blocks. |
| Start delay | The cloud does nothing for its first 0.5 seconds (10 ticks). |
| Checks | After the delay, the cloud looks for targets every 0.25 seconds (5 ticks). The same target can be affected again after 1 second. |
| Shrinking | The radius shrinks by 0.005 blocks per tick, and by a further 0.5 blocks each time the cloud affects a target. |
| Lifetime | The cloud disappears when its radius falls below 0.5 blocks. Left alone, that takes 25 seconds after the delay; every target it affects shortens this. |
| Timed effects | Each effect lasts one quarter of the potion's duration, rounded down to whole ticks, at the same level. |
| Instant effects | Instant Health and Instant Damage work at half strength each time: 2 health points or 3 damage at level I, 4 health points or 6 damage at level II. |
| Repeated hits | Being affected again does not add time. The longer remaining time is kept. |





