# Enhancements

CobbleQOL groups IV/EV-related enhancement items into a shared budget and adds optional failure chances.

### Shared enhancement budget

When enabled, enhancement items all draw from one per-Pokémon pool (`enhancements.maxEnhancementBudget`).

This budget covers:

* IV candies / Hyper Training
* EV items (vitamins/feathers/mochi, depending on Cobblemon’s item set)
* Mints

When the budget is exhausted:

* The item is blocked.
* The `budgetBlocked` message is sent.

### Rare Candy cap

Rare Candies are capped separately:

* `enhancements.maxRareCandiesPerPokemon`

When the cap is reached:

* The Rare Candy is blocked.
* The `rareCandyLimit` message is sent.

### Failure chance

If enabled, enhancements can fail after thresholds:

* `failure.start` begins failure checks.
* `failure.heavyStart` increases the failure rate.

Behavior:

* The item is still consumed.
* The enhancement is not applied.
* The `budgetFailure` message is sent.
* The normal success message is suppressed.


---

# Agent Instructions: 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:

```
GET https://dawnshade.gitbook.io/dawnshade-docs/docs/cobble-q.o.l/summary/enhancements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
