> For the complete documentation index, see [llms.txt](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-required/combat-component.md).

# Combat Component

{% hint style="info" %}
**Note:** Only AI with the Aggressive Behavior Type will use the Combat Component. It is included as a required component to maximize flexibility. AI who are using the Passive or Coward Behavior Types can ignore this component.
{% endhint %}

<figure><img src="/files/YiuUM7t81Aw5oAu17VA3" alt=""><figcaption></figcaption></figure>

## Using the Combat Component

The Combat Component controls all the settings for an AI while in combat. This includes how many weapon types are used, the Combat Actions that will used, and the Ability Objects that will be used. &#x20;

{% hint style="success" %}
Here are the available tutorials and guides for the Combat Component.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td> Assigning Combat Actions</td><td></td><td><a href="/files/V5cjAQEyO9hQqgGF7NhH">/files/V5cjAQEyO9hQqgGF7NhH</a></td><td><a href="/pages/ROcSqxoB2ElCImLG3lHp">/pages/ROcSqxoB2ElCImLG3lHp</a></td></tr><tr><td></td><td>  Assigning Ability Objects</td><td></td><td><a href="/files/pGWFMXFk5Ya9qabLkpc4">/files/pGWFMXFk5Ya9qabLkpc4</a></td><td><a href="/pages/D1M0WfDG6K7G9wBBzMNr">/pages/D1M0WfDG6K7G9wBBzMNr</a></td></tr><tr><td></td><td><p>      Assigning Attack    </p><p>          Transforms</p></td><td></td><td><a href="/files/NpaaBT9R9Vv7BvFvll9P">/files/NpaaBT9R9Vv7BvFvll9P</a></td><td><a href="/pages/2U7gQvLE26vnA1VzE48E">/pages/2U7gQvLE26vnA1VzE48E</a></td></tr><tr><td></td><td>   Weapon Type Amounts</td><td></td><td><a href="/files/1sYJLMhYRvxJFYc9qDyx">/files/1sYJLMhYRvxJFYc9qDyx</a></td><td><a href="/pages/8bIf64CyF4INfByqDbEo">/pages/8bIf64CyF4INfByqDbEo</a></td></tr></tbody></table>
