# Raid: Battle Rules

This plugin adds additional battle rules related to the Cheer mechanic.

<details>

<summary><mark style="background-color:green;"><strong>"cheerBattle"</strong></mark></summary>

This rule enables all trainers to use cheers in this battle, even if the battle is not a raid battle. The specific cheer mode that this rule enables will be automatically determined based on the type of battle the player participates in. If you set a specific cheer mode with the <mark style="background-color:green;">"cheerMode"</mark> rule listed below, you don't need to set this rule.

This is entered as `setBattleRule("cheerBattle")`

</details>

<details>

<summary><mark style="background-color:green;"><strong>"cheerMode"</strong></mark></summary>

This rule allows you to set a specific cheer mode to be used for this battle. When setting a cheer mode with this rule, there is no need to use the <mark style="background-color:green;">"cheerBattle"</mark> rule, as this rule will already enable a cheer battle when set.

This is entered as `setBattleRule("cheerMode", Integer)`, where "Integer" is the number of the desired cheer mode you would like to set. For more information on cheer modes, check out the "Raid: Cheer Mechanics" subsection of this guide.

</details>


---

# 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://lucidious89-tutorials.gitbook.io/deluxe-battle-kit-tutorial/deluxe-battle-kit-for-v21.1/add-on-tutorials/raid-battles/raid-battle-rules.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.
