Lifesteal
Lifesteal is an effect that heals the player for a portion of their damage dealt, and can be prevented by the Moon Bite(Desktop, Console and Mobile versions) debuff. Currently, there are 2 items that provide this effect: the Vampire Knives and the Spectre Hood.
Details
Whether a player can restore health with lifesteal effects depends on the
variable. By default, it has a maximum value of (Desktop, Console, Old-gen console and Mobile versions) 80 / 70 / (3DS version) 120, and recharges by (Desktop, Console, Old-gen console and Mobile versions) 36 / 30 / (3DS version) 42 each second.[1][2] lifeSteal
will reduce when the player deals damage with lifesteal items, and the player will not be able to receive lifesteal effects when lifeSteal
reaches 0 or below. If the damage dealt is high enough, lifeSteal
will be reduced to a negative value, and this will prevent the player from receiving lifesteal effects for some time. For example, if the player restored 100 health in one hit with lifesteal effects in Expert Mode(Desktop, Console and Mobile versions), they will not be able to restore health with lifesteal effects for 1 second.
lifeSteal
Furthermore, to trigger lifesteal effects, the target's maximum health must be more than 5, and its
parameter is set to canGhostHeal
(which is the default setting). Hitting Target Dummies(Desktop, Console and Mobile versions) also does not trigger lifesteal effects.[3]
true
These NPCs have the
parameter set to canGhostHeal
:[4]
false
Bubble Shield(Desktop, Console and Mobile versions)
Tesla Turret(Desktop, Console and Mobile versions)
Martian Drone(Desktop, Console and Mobile versions)
Ancient Doom(Desktop, Console and Mobile versions)
Lifesteal items
Item | Effect | |
---|---|---|
![]() |
Vampire Knives | Heals the player and reduces by 7.5% of the damage dealt, rounded down.[5]
|
![]() |
Spectre armor(with Hood) | Reduces by (Desktop, Console, Old-gen console and Mobile versions) 20% / (3DS version) 8% of the damage dealt at most when wearing the armor set, rounded down. Only heals the player when the type of damage dealt is magic.[6]
|
Notes
- Only the projectile's damage will trigger lifesteal effects. The debuffs caused by the projectile will not be considered.
- Despite acting similar to a lifesteal weapon, the Bat Bat(Desktop, Console and Mobile versions) does not consume
upon healing, and instead always heal the player for 1 health on hit.lifeSteal
- The Life Drain(Desktop, Console and Mobile versions), despite of its name and effect, provides health regeneration instead of lifesteal.
References
- ↑ Information taken from the
Desktop 1.4.4.9 source code, method
Update()
inTerraria.Player.cs
. - ↑ Information taken from the
Desktop 1.2.2 source code, method
UpdatePlayer()
inTerraria.Player.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
Damage()
inTerraria.Projectile.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
SetDefaults()
inTerraria.NPC.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
vampireHeal()
inTerraria.Projectile.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
ghostHeal()
inTerraria.Projectile.cs
.