Function dot_tick

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

Port of the damage-over-time (DoT) tick — the damage sibling of hot_tick. Same 5-slot rolling schedule (effect.dot.next cursor + effect.dot.tick.<i> amounts); on a populated slot it advances the cursor, zeroes the slot, and deals damage_entity with {dot, no_hit_anim} custom data. Unlike HoT this CONSUMES rng (damage_entity rolls one block stat_throw).