Function effect_tick_stun

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

Port of the Shield + Stun effect tick. Both deployed .scripts have the identical body ctx.tick_entity_effect(Entity, "stun") (plus a test-only Result array-drain we deliberately don’t replicate — it never runs on the production EventVec path).

tick_entity_effect is not registered on the native FightCtx engine and was never defined anywhere in the repo’s history (it was only ever called; the combat overhaul, commit 5071d0524, rewrote the other callers — empower/weakness/protection/vulnerability — to explicit duration logic and left Shield/Stun pointing at the now-undefined primitive). The slot therefore produces zero events: this fn is a deliberate no-op returning an empty vec.