Resource

**Resource** is the source of power for a given Retainer or Vessel that allows them to use abilities. There are three resources, one of which a given Retainer or Vessel draws upon: Mana, Rage, and Energy.

Resources have two stats associated with them: **Resource** and **Resource Regeneration**.

## Mana

Mana is a large pool of resource that is spent to cast abilities. It begins as a full bar, and regenerates at a constant rate. Because it is slow to regenerate, maintaining a sizeable pool at all times is important.

### Resource Stats

The Resource Stat increases Mana at a ratio of 1:1. For example, gaining +100 Resource grants 100 maximum Mana.

The Resource Regeneration Stat restores Mana at a ratio of 5:1. For example, having 5 Resource Regeneration restores Mana at a rate of 1 per second.

## Rage

Rage is a set bar from 0 to 100, which builds up when the user deals or receives damage. When out of combat, Rage decays (or regenerates) to the minimum Rage threshold, which is 10 by default but can be increased using the Resource Stat.

### Rage from Damage

Rage generates from damage dealt and taken, with damage taken generating only 40% of the usual amount of Rage. Single target attacks and abilities generate 5 Rage. Areas of Effect generate 1 Rage.

### Resource Stats

The Resource Stat raises the minimum Rage threshold at a ratio of 20:1. For example, gaining +500 Resource grants an additional 25 to the minimum Rage threshold. To achieve a minimum Rage Threshold of 100, a Retainer/Vessel requires 1800 Resource (because Rage begins with a minimum Rage threshold of 10).

The Resource Regeneration Stat increases the rate at which Rage grows by 15% per point of Resource Regeneration. For example, a Retainer attacking a target will generate 5 Rage for themself (and/or their Vessel) by default. With 7 Resource Regeneration, they instead gain 10 Rage, because their Rage generation is increased by 105% (for a total of 205% Rage generation). This bonus Rage generation is applied **before** the 40% generation penalty for receiving damage.

When playing a Rage-based Retainer, the Stats UI replaces the Resource Regeneration stat with the ratio at which the Retainer generates Rage (starting at one and increasing when they gain Resource Regeneration).

## Energy

Energy is a small, quickly regenerating pool of resource that can only regenerate when not casting spells for a short time. Energy always begins at 100, but can be increased with the Resource stat, similar to Mana.

### Resource Stats

The Resource Stat grants additional maximum Energy at a ratio of 10:1. For example, gaining +100 Resource grants an additional 10 max Energy.

After a short delay, Energy restores at a rate of 15 per second in "spurts" of growth rather than gradual regeneration. For each point of Resource regeneration, Energy restored each second is increased by 3. For example, having 5 Resource Regeneration causes a Retainer to regain 30 Energy per second when out of combat.

## Patch History

3/19/2023

Energy Rework:

* Being in combat doesn't prevent regeneration anymore
* Regeneration gets halted whenever Energy is spent
* Time until Regenaration can be reduced by:
	+ Resource Regeneration stat
	+ not moving
	+ being out of enemy vision