# Combat Strategy

## Creation

To create a class specialization, find (or create) the *GameName/Resources/GameName/CombatStrategy* folder in the project tab and right click.  Choose *Create > AnyRPG > Combat > CombatStrategy*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FOiFzrfmo2gk2sW1lFSMG%2Fimage.png?alt=media\&token=76bda4c0-fda2-48f8-a0ab-65b230bfab13)

## Properties

| Name        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Phase Nodes | <p>A list of phases, defined by the health the AI has.<br><strong>Max Health Percent</strong><br>The phase will be started when the AI health drops to this level.<br><strong>Min Health Percent</strong><br>The phase will be ended when the AI health drops to this level.<br><strong>Phase Music Profile Name</strong><br>The <a href="audio-profile">Audio Profile</a> containing the links to the audio clips to play during the phase.<br><strong>Maintain Buff Names</strong><br>A list of <a href="abilities">Abilities</a> to cast to buff the AI.<br><strong>Attack Ability Names</strong><br>A list of attack <a href="abilities">Abilities</a> the AI will use against others during the phase.</p> |

## Next Steps

* Assign a combat strategy to a [Unit Profile](https://docs.anyrpg.org/scriptable-objects/unit-profile).


---

# 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://docs.anyrpg.org/scriptable-objects/combat-strategy.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.
