Is Hydrated
Description
Matches a player who drank any potion, water bottles included, within the last hydration-seconds (in temperature.yml, 300 by default). Drinking again restarts the time, and dying or leaving ends it.
This condition only works on players. It is false while
enabledintemperature.ymlisfalse.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| left | seconds | Seconds of hydration left, as a range such as 0to30, >60 or <=10 |
any |
A left value that cannot be read matches every hydrated player, and left=0 never matches (hydration needs more than 0 seconds left).
Examples
HeatStroke:
Cooldown: 2
Conditions:
- playertemp{min=50} true
- ishydrated false
Skills:
- ignite{ticks=40} @Self
Spares players who drank recently.
HydrationBuff:
Cooldown: 10
Skills:
- potion{type=SPEED;duration=200;lvl=0} @Self ?ishydrated
- message{m="Your drink is wearing off."} @Self ?ishydrated{left=0to10}
The bundled readout blinks its bottle icon with
left=0to30.
Aliases
- hydrated