Mana

Mana is a resource consumed by the player to use magic weapons. The player's current and maximum Mana is shown as a vertical meter of blue stars on the right side of the screen (an example is shown on the right). Mana regenerates automatically as long as the player is not firing a magic weapon. In addition to filling more quickly if the player stands still, regeneration speed scales based on the player's current mana.

Each character starts with 20 maximum mana. Using Mana Crystals increases the player's maximum mana by 20 permanently by adding another star to the meter, up to a maximum of 200 (gaining 9 Mana Crystals, 10 stars on the side all together). The last star on the mana bar makes a pulsing motion to make it more easily visible.

Mana can be increased further through the use of various accessories and armor.

Once mana regeneration has completed and the player is at maximum mana again, they will be informed by an appropriate sound and a blue pulse.

Affecting Mana
To use magic weapons more often, certain items can increase the maximum mana or reduce the cost of using magic weapons. Because of how mana regeneration works, these can also effectively increase the rate of mana regeneration, so long as the player takes care to stay above certain current mana thresholds.

Restoring Mana
Mana regenerates on its own when not in use until the player's current maximum is reached.

The natural rate of regeneration is modified by whether or not the player is moving and how much current mana a character has. This formula exists to punish reckless mana use – if all mana is spent, the player will have almost no regeneration at all until they stop moving or use a potion. Conversely, when the player stands still waiting between uses of magical weapons until mana is refilled, mana recovers at its fastest possible rate. Wearing items that increase the maximum mana can thus also increase the rate of recovery, as each use of magic will still leave the player with more remaining mana, and the higher multiplier.

However, mana does not regenerate for a small period after any magic is expended, meaning that to start regenerating mana the player must stop casting spells for a short time. The regeneration cooldown starts the moment the player stops spending mana, so casting Magic Missile and Flamelash will start the cooldown as soon as it is cast, regardless of how long the projectile is held. Setting up Star Statues on timers can help giving magic-using players much better rates of magical fire in boss-fighting or enemy-farming situations where there is time to prepare where the player is going to fight. (A Crystal Ball is also helpful in such situations.)

To be more specific, the mana regeneration has a similar mechanism of health regeneration – there is also a mana counter which is increased by a mana regeneration rate every tick.✅ When it reaches 120 or more, it would be reduced by 120 and increase mana by 1. (So, 1 mana regeneration rate equals to 0.5 mana per second.)

Also, there is a mana regeneration delay, which would be set to a certain number calculated by the formula below (round up after the calculation), if the player used any magic weapons: $$\text{mana regeneration delay} = 0.7\times((1-\frac{\text{current mana}}{\text{maximum mana}})\times240+45)$$

It will be reduced by 1 (if moving) or 2 (if standing still) every tick (also an additional 1 per tick if wearing the Mana Regeneration Band). Once it reaches 0, the mana regeneration rate would be calculated by the formula below:

If the player is moving:

$$\text{mana regeneration rate} = (\frac{\text{maximum mana}}{7}+1+\text{bonus})\times(\frac{\text{current mana}}{\text{maximum mana}}\times0.8+0.2)\times1.15$$

If the player is standing still:

$$\text{mana regeneration rate} = (\frac{\text{maximum mana}}{7}+1+\frac{\text{maximum mana}}{2}+\text{bonus})\times(\frac{\text{current mana}}{\text{maximum mana}}\times0.8+0.2)\times1.15$$

Note: In both formulae, the $$\text{bonus}$$ will normally be 0. It would be 25 if the player was wearing the Mana Regeneration Band.

Then, if the player has the Mana Regeneration buff, the mana regeneration delay will be reset to 20 if it is greater than 20, and it would always treat the player as standing still and having maximum mana. So, it would act like this formula:

$$\text{mana regeneration rate} = (\frac{\text{maximum mana}}{7}+1+\frac{\text{maximum mana}}{2}+\text{bonus})\times1.15$$

If a player wants to rely on magical weapons for normal exploration, they should memorize how to best recover mana, even while distracted. To make the most of mana regeneration, the player should practice understanding the timing between when they fire, and when the tone that indicates they have recovered full mana occurs, (so that they fire their next attack at exactly that moment,) and try to remain stationary during times when the mana recovery starts. Firing can be practiced in a safe location like the player's home until they are comfortable with how they regenerate their mana.

Several items can be used to regenerate mana: