# Unsuccessful enchants

## Change book chances

Enable / Disable chances: [Link to config.yml setting](https://github.com/GC-spigot/AdvancedEnchantments/blob/333e70371108237b490c8fefe49d3c8fa34d9310/config.yml#L636)

Change default chances: [Link to config.yml setting](https://github.com/GC-spigot/AdvancedEnchantments/blob/333e70371108237b490c8fefe49d3c8fa34d9310/config.yml#L639) \
To enable default pre-set chances, you will need to disable random chances as well.

## Disable items from breaking when enchantment fails

Disable breaking when applied enchantment book fails: [Link to config.yml setting](https://github.com/GC-spigot/AdvancedEnchantments/blob/333e70371108237b490c8fefe49d3c8fa34d9310/config.yml#L629)

Disable breaking when the enchantment is being upgraded: [Link to config.yml setting ](https://github.com/GC-spigot/AdvancedEnchantments/blob/333e70371108237b490c8fefe49d3c8fa34d9310/config.yml#L185)


---

# 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://ae.advancedplugins.net/configuration/unsuccessful-enchants.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.
