> For the complete documentation index, see [llms.txt](https://sherwood-smash.gitbook.io/sherwoodsmash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sherwood-smash.gitbook.io/sherwoodsmash/gameplay/waves.md).

# Waves

Each cleared wave gives score, then the next wave countdown begins

### Wave Scaling

| Rule                       | Current Value      |
| -------------------------- | ------------------ |
| Base enemies per wave      | `25`               |
| Added enemies per wave     | `+6`               |
| Enemy count cap            | `36`               |
| Max active enemies         | `7`                |
| Spawn interval             | `0.65s`            |
| Time between waves         | `5s`               |
| Spawn radius around player | `13` to `22` units |

### Enemy Scaling

Normal enemies become stronger every wave:

| Stat         | Formula                         |
| ------------ | ------------------------------- |
| Health       | `45 + wave * 12`                |
| Move speed   | `min(3.05 + wave * 0.12, 4.35)` |
| Touch damage | `4 + wave * 0.8`                |

### Boss Waves

Every `5th` wave is a boss wave. A Swole Dog boss spawns alongside the wave and gets a boss health bar.

| Boss Stat     | Formula                              |
| ------------- | ------------------------------------ |
| Health        | `normal wave health * 20`            |
| Move speed    | `max(1.8, normal wave speed * 0.68)` |
| Touch damage  | `normal wave damage * 2.35`          |
| XP reward     | `24`                                 |
| CASHCAT drops | `2`                                  |

### Wave Clear Score

Clearing a wave grants bonus score:

```
120 + wave * 85 + playerLevel * 25
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sherwood-smash.gitbook.io/sherwoodsmash/gameplay/waves.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
