Mana is a resource consumed by the player when using magic weapons. Each magic weapon has a specific mana cost that depletes the player's mana by that amount each time it is used. When a player's mana is depleted completely, a magic weapon cannot be used again until that weapon's mana cost has regenerated.
Similar to player Health, the player's current mana supply and capacity are represented by a meter: a column of blue stars displayed on the top-right edge of the screen, with each star representing 20 mana. Mana regenerates automatically as long as the player is not firing a magic weapon. It fills more quickly if the player stands still, with a further rate boost based on the current total mana: The more mana a player has, the faster it regenerates.
Each character starts with 20 mana capacity (one star in the mana meter). Using Mana Crystals increases the player's mana capacity by 20 permanently, adding another star to the meter. This can be done up to 9 times, which in addition to the 1 initial star makes 10 stars total, representing 200 mana.
Mana capacity can be increased further through the use of various armors such as Gem Robes and Nebula armor, plus accessories. Reforging accessories to the Arcane modifier can further boost maximum mana.
When mana regeneration has completed and the player again reaches maximum mana, a chirp sound is played and a blue sparkle effect is shown briefly on the character's sprite.
Boost gear[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 remain above certain current mana thresholds.
|Item||Maximum mana increase||Mana usage reduction||Notes|
|Band of Starpower||20 (1 star)||-|
|Mana Regeneration Band||20 (1 star)||-||Increases mana regeneration rate.|
|Magic Cuffs||20 (1 star)||-||Restores mana upon taking damage.|
|Amethyst Robe||20 (1 star)||5%|
|Jungle Hat / Ancient Cobalt Helmet|| 40 (2 stars) /
20 (1 star)
|16% (set bonus)|
|Jungle Shirt / Ancient Cobalt Leggings||20 (1 star)||16% (set bonus)|
|Jungle Pants / Ancient Cobalt Breastplate||20 (1 star)||16% (set bonus)|
|Topaz Robe||40 (2 stars)||7%|
|Sapphire Robe||40 (2 stars)||9%|
|Cobalt Hat||40 (2 stars)||14% (set bonus)|
|Palladium Headgear||60 (3 stars)||-|
|Emerald Robe||60 (3 stars)||11%|
|Ruby Robe||60 (3 stars)||13%|
|Spectre Mask||60 (3 stars)||13%|
|Mythril Hood||60 (3 stars)||17% (set bonus)|
|Nebula Helmet||60 (3 stars)||15%||7% increased magic damage and critical strike chance.|
|Orichalcum Headgear||80 (4 stars)||-|
|Diamond Robe||80 (4 stars)||15%|
|Forbidden Robes||80 (4 stars)||-|
|Chlorophyte Headgear||80 (4 stars)||17%|
|Adamantite Headgear||80 (4 stars)||19% (set bonus)|
|Titanium Headgear||100 (5 stars)||-|
|Hallowed Headgear||100 (5 stars)||-|
|Spectral Headgear||120 (6 stars)||-||Grants 150 maximum mana (7½ stars) with Spectral Subligar .|
|Spectral Subligar||30 (1½ star)||-|
|Mana Flower||-||8%||Uses Mana Potions automatically.|
|Magnet Flower||-||8%||Uses Mana Potions automatically. Increases the pickup range for stars.|
|Arcane Flower||-||8%||Uses Mana Potions automatically. Enemies are less likely to target you.|
|Mana Cloak||-||8%||Uses Mana Potions automatically. Causes star to fall after taking damage. Stars restore mana when collected.|
|Dark Artist's Robes||-||15%|
|Crystal Ball||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
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:
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|
|Mana Crystal||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).|
|Lesser Mana Potion||50|
|Greater Mana Potion||200|
|Super Mana Potion||300|
|Lesser Restoration Potion||50||Shares a cooldown with most other consumable healing items.|
|Restoration Potion||80||Shares a cooldown with most other consumable healing items.|
|Strange Brew||400||Shares a cooldown with most other consumable healing items.|
|Mana Regeneration Potion||-||Increased mana regeneration, lasts 7 minutes.|
|Mana Regeneration Band||-||While equipped, increases mana by 20 and increases mana regeneration rate.|
|Magic Cuffs||-||While equipped, increases mana by 20 and restores mana when damaged.|
|Mana Booster||-||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.|
|Celestial Magnet||-||While equipped, increases the pickup range for stars.|
|Magnet Flower||-||Uses Mana Potions automatically. Increases the pickup range for stars.|
|Celestial Cuffs||-||While equipped, increases mana by 20, restores mana when damaged, and increases the pickup range for stars.|
|Celestial Emblem||-||While equipped, increases magic damage and the pickup range for stars.|
|Star in a Bottle||-||Increased mana regeneration when nearby.|
|Star Statue||-||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.
- Maximum mana is capped at a value of 400. It is possible to reach this value without any Mana Crystals by equipping certain gear:
- 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 220.127.116.11: Added two new Mana Bar style options.
- Desktop 18.104.22.168: 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 22.214.171.124: 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 126.96.36.199 source code, functions
Player.csThere may be inaccuracies, as the current Desktop version is 188.8.131.52.
- 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 184.108.40.206 source code, function
There may be inaccuracies, as the current Desktop version is 220.127.116.11.