# Weapon Type Amounts

{% hint style="info" %}
**Note:** It is recommended that users fully setup an AI with 1 weapon type (animations, settings, ability's etc.) before adding an additional weapon type. This functionality requires basic understanding of Emerald AI's setup process.
{% endhint %}

## Weapon Type Amounts

An AI has the ability to use up to 2 weapon types. This allows an AI to use different animations and abilities for its different weapon types, such as sword attacks for type 1 and shooting spells for type 2. The weapon type is not limited to range or melee attacks. An AI can have two ranged weapons or two melee weapons. By default, this is set to 1.

The process for setting up an additional weapon type is the same as it is with using 1 weapon type. When setting the Weapon Type Amount to 2, it will add an additional Weapon Type foldout that will allow the user to customize which Ability Objects will be used for Weapon Type 2.

However, this will first require users to have fully populated **both their Weapon Type 1 and Weapon Type 2 animations within the AI's Animation Profile**.

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

After doing so, users can set the Weapon Type Amount to Two. This will open up an additional Weapon Type foldout within Combat Component.

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

You can use the Weapon Type 2 foldout just like you did with the first weapon type by setting the animations and Ability Objects for each attack. However, these will be based off of the Type 2 Combat Animations from the AI's Animation Profile.

<figure><img src="/files/1sYJLMhYRvxJFYc9qDyx" alt=""><figcaption></figcaption></figure>


---

# 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://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-required/combat-component/weapon-type-amounts.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.
