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.
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[edit | edit source]
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.
|Item||Maximum mana increase||Mana usage reduction||Notes|
|20 (1 star)||-|
|20 (1 star)||-||Increases mana regeneration rate.|
|20 (1 star)||-||Restores mana upon taking damage.|
|20 (1 star)||5%|
| 40 (2 stars) /
20 (1 star)
|16% (set bonus)|
|20 (1 star)||16% (set bonus)|
|20 (1 star)||16% (set bonus)|
|40 (2 stars)||7%|
|40 (2 stars)||9%|
|40 (2 stars)||14% (set bonus)|
|60 (3 stars)||-|
|60 (3 stars)||11%|
|60 (3 stars)||13%|
|60 (3 stars)||13%|
|60 (3 stars)||17% (set bonus)|
|60 (3 stars)||15%||7% increased magic damage and critical strike chance.|
|80 (4 stars)||-|
|80 (4 stars)||15%|
|80 (4 stars)||-|
|80 (4 stars)||17%|
|80 (4 stars)||19% (set bonus)|
|100 (5 stars)||-|
|100 (5 stars)||20% (set bonus)|
|120 (6 stars)||-||Grants 150 maximum mana (6½ stars) with Spectral Subligar .|
|30 (1½ star)||-|
|-||8%||Uses Mana Potions automatically.|
|20 (1 star)||2%||Lasts 10 minutes.|
|Any accessory with an Arcane modifier||20 (1 star)||-|
|Weapon with Mystic / Adept / Masterful modifier||-||15%|
|Weapon with Celestial / Manic / Mythical modifier||-||10%|
Restoring Mana[edit | edit source]
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:
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:
If the player is standing still:
Note: In both formulae, the 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:
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:
|Item||Instant mana restoration||Notes|
|20||Also increases maximum mana by 20. Can be used a maximum of 9 times on a single character (until a permanent maximum of 200 is reached).|
|50||Shares a cooldown with most other consumable healing items.|
|80||Shares a cooldown with most other consumable healing items.|
|400||Shares a cooldown with most other consumable healing items.|
|-||Increased mana regeneration, lasts 7 minutes.|
|-||While equipped, increases mana by 20 and increases mana regeneration rate.|
|-||While equipped, increases mana by 20 and restores mana when damaged.|
|-||Provides the Mana Nebula buff, which continually restores mana (10 per second for each level) regardless of current usage or mana supply. Effects can be stacked up to three times.|
|-||While equipped, increases the pickup range for stars.|
|-||While equipped, restores mana when damaged and increases the pickup range for stars.|
|-||While equipped, increases magic damage and the pickup range for stars.|
|-||Increased mana regeneration when nearby.|
|-||Activating a Star Statue via wire will spawn a blue mana star.|
Notes[edit | edit source]
- Mana-restoring effects will not exceed the player's maximum mana and any mana restoration beyond the maximum is lost. It is thus advisable to take care when pressing the mana potion hotkey to avoid wasteful overuse of mana restoring items.
- Restoration Potions (which also restore health) share an item cooldown called Potion Sickness with all other health-restoring items. The cooldown is 60 seconds long and begins when the consumable item is used. During this period, the player is unable to consume any more of those items. This prevents players from bypassing hazardous areas or enemies by constant item consumption.
- "Pure" mana-restoration items do not have this restriction – there is even the previously mentioned Mana Flower item that allows automatic consumption of mana potions for continuous mana consumption. Players may attempt continuous fire of magical attacks if they are willing to pay the costs in terms of potions to do so. Do keep in mind that consuming a "pure" mana-restoration item will trigger the Mana Sickness debuff. While this will not prevent the player from consuming more mana potions, it will cripple their magic damage output for a short time. Consider having Magic Power Potions to offset the reduction in magic damage if using a Mana Flower.
- The maximum attainable mana is 400, including mana boosts. It is possible to reach this value without any Mana Crystals by equipping certain gear:
- three other Arcane accessories
(using the Demon Heart)
- Old-gen console version and version
- two other Arcane accessories
- This even increases the maximum mana to 410.
Achievements[edit | edit source]
Trivia[edit | edit source]
- The sound that is played when mana is fully restored is also used for notifying the end of the projectile's cooldown of the Starfury, Frostbrand, Beam Sword, Ice Blade, Enchanted Sword, Chlorophyte Claymore, and Chlorophyte Saber.
History[edit | edit source]
- Desktop 22.214.171.124: Spectre Hood does not increase Mana cost anymore.
- Desktop 1.2.3:
- Spectre Hood now has an increased Mana cost of 20% instead of lowering it and it does not add extra mana anymore.
- New Spectre Hood variant introduced: Spectre Mask, which lowers Mana cost by 13% and increases max mana by 60 (3 stars).
- Desktop 1.2: New characters start with base Mana.
- Desktop 126.96.36.199: Fixed a bug where Mana would not regenerate if the player had 0 base mana.
- Desktop 1.0.6:
- Mana now recharges depending when how much the player has in their mana pool. The more mana they currently have, the faster it recharges. It also recharges much faster when standing still compared to when moving.
- Mana bar turned from purple to blue, along with most related items.
- A sound effect signifies when it is filled and the character will emit a small glitter with a "blip" sound.
References[edit | edit source]
- Information taken from the Desktop 188.8.131.52 source code, functions
Player.cs. There may be inaccuracies, as the current Desktop version is 184.108.40.206.
- A tick is a time unit countable by the software. Most of Terraria's updating logic happens every tick. A tick has the length of 1/60th of a second, hence there are 60 ticks in a second and 3600 ticks in a minute.
- Information taken from the Desktop 220.127.116.11 source code, function