Function regeneration_tick

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

Port of the regeneration tick: heal the entity by its regeneration_rate stat. get_entity_stat reads the stat (base + bonus + mod); heal_entity pushes a Heal event clamped to missing HP (no RNG).