Function hot_tick

Source
pub fn hot_tick(ctx: &EventCtx<'_>) -> Result<Vec<OverlordEvent>>
Expand description

Port of the heal-over-time (HoT) tick. The effect stores a rolling 5-slot schedule: effect.hot.next is the slot index to consume this tick, and effect.hot.tick.<i> holds each slot’s heal amount. Each tick: if the current slot is empty (absent), reset the cursor to 0; otherwise advance the cursor (wrapping 5→1), zero the consumed slot, and heal by its amount. set_entity_attr/add_entity_attr push IncrAttributes; heal_entity is RNG-free (no draw), so this needs no RNG snapshot.