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.
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 | 16% (set bonus) | ||
Jungle Shirt | 20 (1 star) | 16% (set bonus) | |
Jungle Pants | 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) | 20% (set bonus) | |
Spectral Headgear |
120 (6 stars) | - | Grants 150 maximum mana (6½ stars) with Spectral Subligar |
Spectral Subligar |
30 (1½ star) | - | |
Nature's Gift | - | 6% | |
Mana Flower | - | 8% | Uses Mana Potions automatically. |
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
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,[1] 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.[2] 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 |
---|---|---|
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 | |
Mana Potion | 100 | |
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. |
Star | 100 | |
Celestial Magnet |
- | While equipped, increases the pickup range for stars. |
Celestial Cuffs |
- | While equipped, 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
- 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:
- PC version, Console version, Mobile version, Old Chinese version, tModLoader version, and tModLoader 1.3-Legacy version (Expert-only)
- Titanium Headgear
- Hallowed Headgear(alternative to Titanium Headgear)
- Diamond Robe
- Jungle Pants
- Clairvoyance
- Band of Starpower(Arcane)
- Mana Regeneration Band(Arcane)
- Magic Cuffs(Arcane)
- three other Arcane accessories
(using the Demon Heart)
- Spectral Headgear
- Diamond Robe
- Spectral Subligar
- Clairvoyance
- Band of Starpower(Arcane)
- Mana Regeneration Band(Arcane)
- Magic Cuffs(Arcane)
- two other Arcane accessories
- This even increases the maximum mana to 410.
Achievements
Trivia
- 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.[3]
History
- Desktop 1.2.3.1: 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 1.0.6.1: 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
- ↑ Information taken from the PC 1.3.0.8 source code, functions
UpdateManaRegen()
andUpdate()
inPlayer.cs
There may be inaccuracies, as the current PC version is 1.4.4.9. - ↑ 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 PC 1.3.5.3 source code, function
inItemCheck()
There may be inaccuracies, as the current PC version is 1.4.4.9.Terraria.Player.cs