# 💥 Pet Aspects

## About

**Aspects** are basically custom pet stats that players can upgrade using **Aspect Points**.

Every **Aspect** has a list of assigned [Attributes](https://nightexpress.gitbook.io/combatpets/features/pet-attributes) to it. This means that when a player upgrades an **aspect** of their pet, the corresponding pet **attributes** will be adjusted by certain values set in the [Pet Template](https://nightexpress.gitbook.io/combatpets/features/pet-templates) config.

Aspect configuration is available in the `config.yml` -> `Aspects` section.

You can create your own aspects and remove or edit existing ones.

## Setup Tips

### Adding Attributes

When you add new attributes to the `Attached_Attributes` list of the aspect, make sure to add them to the [Pet Template](https://nightexpress.gitbook.io/combatpets/features/pet-templates) configurations under `Attrbiutes` -> `Per_Aspect` section as well. So upgraded aspects will have effect for that attributes for a pet.

### Creating Aspects

When you create new aspect, make sure to add it to the [Pet Tier](https://nightexpress.gitbook.io/combatpets/features/pet-tiers) configurations under `Aspects` -> `Max` section. So new aspects are available for upgrade. Otherwise players will not see them in Aspects GUI of their pets.

### Reallocate Aspects

This feature allows players to **reallocate** pet's aspects by using the Reallocate Points button in the Aspects GUI.

It's **disabled by default**. If you want to enable it, go to the `config.yml` and set `Allow_Reallocate_Aspect_Points` on `true`.

### Aspect Points

To set default amount of Aspect Points for new pets, go to [Pet Tier](https://nightexpress.gitbook.io/combatpets/features/pet-tiers) configuration and edit the `Leveling` -> `Start_Aspect_Points` value.

To set amount of Aspect Points gained for level up, go to [Pet Tier](https://nightexpress.gitbook.io/combatpets/features/pet-tiers) configuration and edit the `Leveling` -> `Aspect_Points_Per_Level` value.

Also you can use [Commands](https://nightexpress.gitbook.io/combatpets/general/commands) to add, set or remove Aspect Points for a specific player's pets.
