Traits

## Overview

   Each Planet has a set of 2 Traits that set them apart from each other. Traits are passive and active abilities that will only be evoked by Planets in the player’s Solar System. Any Planet kept in the player’s Collection do not count.

Each time a planet is generated, Traits are randomly retrieved from a pool of Traits, based on the Planet Type. Each Trait can only be obtained by Planets of a select Planet Type.

## Trait Type

Traits can be split into 3 categories, based on their function and how their effects trigger. As a result, there is a mild imbalance of certain Trait Types within each Planet Types' pool of **Traits**, as certain Trait Types are antithetical to the playstyle a Planet Type might promote.

The biggest evidence of this is that there are no Stat Traits for Neptunian Planets. Every Planet Type still contains both System and Skill Traits.

### Stat Traits

These Traits will increase 1 Stat of the Planet with the Trait or the Player's Star. Such as the Planet's Density and Crust, or the Star's HP and Solar Speed. The raised will typically align with the Planet Type's playstyle. which is why Neptunian Planets lack these type of Traits, since Stats do not contribute to their Status Effect-dependent playstyle. These changes in Stats are reverted when the Planet holding the Trait is destroyed.

If a Planet's Stats are increased by these Traits, these changes are automatically shown on the Planet's UI, including during Planet acquisition.

### System Traits

These Traits confer passive effects on the Planet with triggering condition(s). In other words, various keywords are used as conditions to evoke the Trait's effects, but they do not have a cooldown beyond the time it takes to satisfy those conditions.

Some examples of Keywords that functions as triggering conditions are:

* **On Basic Attack:** Attacking triggers the Trait's effects.
* **On Impacts:** The Planet striking an enemy with an Impact triggers the Trait's effects.
* **Surrounded:** The Trait's effects are triggered while 2 or more enemies are around the Planet.

### Skill Traits

These Traits must be manually triggered by the Player. Upon acquiring a Planet with a Skill Trait, the skill is automatically added to one of the 4 Skill Slots in the Ability Cluster, in the next available empty slot. The number keys [1, 2, 3, 4] triggers their respective Skill Slots.

Unlike the other 2 Trait Types, a Skill Trait has 2 major differences:

* When a Planet's set of 2 Traits are rolled, only the 2nd Trait can result in a Skill Trait. However, the chances of a Skill Trait being rolled is higher. As a result, its impossible for a Planet to hold 2 Skill Traits.
* Skill Traits incur a cooldown period upon activation. Each Trait's cooldown depends on the particular Trait and will be denoted in the Trait's UI.

## Trait Rarity

Each Trait also have their own rarity, which affects how likely does that trait will be added to a Planet when a Planet is generated. Trait rarity will also affect the Planet's Spatial Cost.

The colour of a Trait's UI will also differ based on the rarity of the Trait, giving the player an immediate sign of their rarity.

Additionally, Legendary Traits can be obtained by Planets of either of 2 Planet Types. Allowing for 2 or more Planets of different Planet Types to hold the same Legendary Trait. This advantage is balanced by the increase in Spatial Cost having so many Legendary Traits would incur.