# Character Stat

{% embed url="<https://youtu.be/I7_8xPkXm9k>" %}

## Creation

To create a character stat, find (or create) the *GameName/Resources/GameName/CharacterStat* folder in the project tab and right click.  Choose *Create > AnyRPG > Character Stat*.

![](/files/m4tkDL84fMdb2Ya4udIi)

## Specific Properties

These properties exist only in character stat scriptable objects.

| Name        | Description                                    |
| ----------- | ---------------------------------------------- |
| Global Stat | If true, all characters will receive the stat. |

## General Properties

These general properties exist anywhere primary stats are defined in other scriptable objects.

| Name                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Budget Per Level                | The amount of the stat that a character will receive for every level.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Primary To Secondary Conversion | <p>The amount of each secondary stat that a character will gain for each point of the primary stat.<br><strong>Secondary Stat Type</strong><br>A secondary stat.<br><strong>Conversion Ratio</strong><br>The number of points of each secondary stat that will be gained per point of primary stat.<br><strong>Rated Conversion</strong><br>A rated conversion is for stats that are percentages. At level 1 you will need 100 points of this secondary stat for 100%, 200 points at level 2, etc. The percent chance at any level is equal to this value multiplied by (Total Stat Amount / Current Level). This allows you to increase of decrease the 100 point requirement for 100% chance.</p>                                                                                                                                                                                                                                                |
| Primary To Resource Conversion  | <p>A list of <a href="/pages/pdwNWTIXN3csZMXlIe1K">Power Resources</a> and the number of points of that resource gained per point of the primary stat.<br><strong>Resource Name</strong><br>The name of the <a href="/pages/pdwNWTIXN3csZMXlIe1K">Power Resource</a> that will be increased.<br><strong>Resource Per Point</strong><br>The amount of the <a href="/pages/pdwNWTIXN3csZMXlIe1K">Power Resource</a> that will be gained per point of Character Stat.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Regen                           | <p>A list of the amount of power resources that will be regenerated per tick per point of primary stat.<br><strong>Power Resource</strong><br>The name of the Power Resource that will be regenerated.<br><strong>Percent Per Tick</strong><br>The percentage of the Power Resource that will be regenerated per point of Character Stat every tick that the character is not in combat.<br><strong>Amount Per Tick</strong><br>The amount of the Power Resource that will be regenerated per point of Character Stat every tick that the character is not in combat.<br><strong>Combat Percent Per Tick</strong><br>The percentage of the Power Resource that will be regenerated per point of Character Stat every tick that the character is in combat.<br><strong>Combat Amount Per Tick</strong><br>The amount of the Power Resource that will be regenerated per point of Character Stat every tick that the character is not in combat.</p> |

## Next Steps

* Customize [Character Classes](/scriptable-objects/character-class.md) by adding [Stat Scaling Nodes](/shared-properties/stat-scaling-nodes.md) that give them custom stat budgets, primary to secondary conversions, primary to resource conversions, and power resource regeneration rates.
* Customize [Character Races](/scriptable-objects/character-race.md) by adding [Stat Scaling Nodes](/shared-properties/stat-scaling-nodes.md) that give them custom stat budgets, primary to secondary conversions, primary to resource conversions, and power resource regeneration rates.
* Customize [Class Specializations](/scriptable-objects/class-specialization.md) by adding [Stat Scaling Nodes](/shared-properties/stat-scaling-nodes.md) that give them custom stat budgets, primary to secondary conversions, primary to resource conversions, and power resource regeneration rates.
* Customize [Unit Profiles](/scriptable-objects/unit-profile.md) by adding [Stat Scaling Nodes](/shared-properties/stat-scaling-nodes.md) that give them custom stat budgets, primary to secondary conversions, primary to resource conversions, and power resource regeneration rates.
* Customize [Unit Types](/scriptable-objects/unit-type.md) by adding [Stat Scaling Nodes](/shared-properties/stat-scaling-nodes.md) that give them custom stat budgets, primary to secondary conversions, primary to resource conversions, and power resource regeneration rates.


---

# 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/character-stat.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.
