Module 14 · In your browser · challenge 1 of 3 in this lesson
One-hit targets (hits <= 1) return 0 seconds
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 1, Apprentice
Challenge
Fix minTtkSeconds in htk-breakpoint so minimum time to kill counts only the cooldown gaps between hits.
- Start from
- The game at milestone m14 (download)
- Check it here
- Run the code cell; the challenge completes when it passes. No Studio needed.
Done means
- One-hit targets (hits <= 1) return 0 seconds
- Multi-hit targets return (hits - 1) * cooldown
- All four assertions in htk-breakpoint pass