Defense

From Terraria Wiki
Jump to: navigation, search

Defense is a statistic that determines the decrease in damage taken per hit. The player's defense can be increased by wearing armor and accessories, and temporarily boosted by various buffs. Damage taken by players is reduced by half / 75*3/4 (75%) / 100% of their defense, rounded down. Enemies also have a defense statistic.

No hit can be reduced below 1 damage, regardless of defense (with the exception of a player whose multiplayer ally is wearing a Paladin's Shield).

Some forms of damage are impossible to reduce through defense, e.g. damage from health-draining debuffs like Cursed Inferno or from drowning in water. Damage taken from lava, however, can be reduced through defense.

Players[edit | edit source]

Defense gives a flat reduction in damage, i.e. damage is reduced by a fixed amount per hit (as opposed to a multiplicative damage reduction, which would reduce damage by a percentage). It is calculated after the general ±15% damage randomization.

The formula is: , where is in Classic Mode, in Expert ModeDesktop, Console, and Mobile versions, and in Master ModeDesktop and Mobile versions.[1]

Examples[edit | edit source]

Atk. dmg Def. Net damage
Classic mode icon.png Classic Expert mode icon.png Expert Master mode icon.png Master
40 20 30
()
25
()
20
()
40 30 25
()
17
()
10
()
75 20 65
()
60
()
55
()
75 30 60
()
52
()
45
()

Enemies[edit | edit source]

Enemies have a defense statistic just like players do, but they do not gain more protection from defense in Expert Mode or Master Mode. They will always reduce incoming damage by 50% of their defense: .

Examples[edit | edit source]

Weapon Green SlimeGreen Slime
0 defense
Chaos ElementalChaos Elemental
30 defense
PaladinPaladin
50 defense
SharkronSharkron
100 defense
Gold BroadswordGold Broadsword
13 damage
13 1 (-2) 1 (-12) 1 (-37)
MeowmereMeowmere
200 damage
200 185 175 150

Boosts[edit | edit source]

Armor and accessories[edit | edit source]

A player's defense score can be increased by equipping armor and accessories. Armor usually consists of three items, granting an additional bonus if all pieces match, the set bonus, which may increase the defense score further. Some accessories grant direct defense boosts (see the following table), but all accessories can also be reforged to a maximum of +4 defense per accessory.

See armor for detailed defense information about every piece of armor.

Item Acc. defense
Cobalt ShieldCobalt Shield1
Obsidian SkullObsidian Skull1
ShackleShackle1
Obsidian ShieldObsidian Shield2
Shield of CthulhuShield of CthulhuDesktop, Console, and Mobile versions2
Ankh ShieldAnkh Shield4
Frozen ShieldFrozen ShieldDesktop and Mobile versions6
Paladin's ShieldPaladin's Shield6
Berserker's GloveBerserker's GloveDesktop and Mobile versions8 Desktop version / 7 Mobile version
Flesh KnucklesFlesh KnucklesDesktop, Console, and Mobile versions8 Desktop version / 7 Console VersionMobile version
Hero ShieldHero ShieldDesktop and Mobile versions10 Desktop version / 7 Mobile version
Item Accessory defense
Moon CharmMoon Charm 3 (only during the night)
Moon ShellMoon Shell 3 (only during the night)
Moon StoneMoon Stone 4 (only during the night)
Sun StoneSun Stone 4 (only during the day)
Celestial ShellCelestial ShellDesktop, Console, and Mobile versions 4 (during the day)
7 (during the night)
Frozen Turtle ShellFrozen Turtle Shell Desktop, Console, and Mobile versions 0 (until below 50% health when it reduces total damage by 25%)
Old-gen console version3DS version 30 (when below 25% health)

Buffs and debuffs[edit | edit source]

Buffs and debuffs can temporarily alter a player's or an enemy's defense. Currently, there is no buff increasing enemies' defense. A player's defense cannot be reduced to fall below 0.

Buff/Debuff Buff/debuff defense
Well FedWell Fed 2
Plenty SatisfiedPlenty SatisfiedDesktop and Mobile versions 3
Exquisitely StuffedExquisitely StuffedDesktop and Mobile versions 4
The Bast DefenseThe Bast DefenseDesktop and Mobile versions 5
Dryad's BlessingDryad's BlessingDesktop, Console, and Mobile versions 8
IronskinIronskin 8
TipsyTipsy −4
WeakWeak −4
Ichor (debuff)Ichor Desktop version −15 / Console VersionOld-gen console versionMobile version3DS version −20
Betsy's CurseBetsy's CurseDesktop, Console, and Mobile versions −40
Broken ArmorBroken Armor −50%

Armor penetration Desktop, Console, and Mobile versions[edit | edit source]

Armor penetration is hidden player statistic that determines the amount of the enemy's defense portion that is ignored when dealing damage to it. For instance, a Pixie normally has 20 defense. If the player has the Shark Tooth/Stinger Necklace equipped, then the Pixie will be taken to have 15 defense instead.

The following items grant armor penetration:

Item Armor penetration
Shark Tooth Necklace Shark Tooth NecklaceDesktop, Console, and Mobile versions 5
Stinger Necklace Stinger NecklaceDesktop and Mobile versions 5
Sharpening Station Sharpening StationDesktop, Console, and Mobile versions 12 (for melee weapons only)

In addition, the projectiles of certain weapons and accessories have an own armor penetration stat, which is added to the player's armor penetration when inflicting damage upon an enemy with them:[2]

Item Armor penetration
Blade Staff Blade StaffDesktop and Mobile versions 25
Dark Harvest Dark HarvestDesktop and Mobile versions("dark energy") 50
Cool Whip Cool WhipDesktop and Mobile versions(snowflake) 30
Bone Glove Bone GloveDesktop, Console, and Mobile versions Desktop version 25
Crystal Vile Shard Crystal Vile ShardDesktop, Console, and Mobile versions Desktop version 10
Nettle Burst Nettle Burst Desktop version 10
Wasp Gun Wasp Gun Desktop version 10
Star Cloak Star Cloakand its upgrades Desktop version 25
Arkhalis ArkhalisDesktop, Console, and Mobile versions Desktop version 20

Maximum defense[edit | edit source]

The highest possible defense can be attained using the setups described in the following sections.

Desktop version Desktop version and Mobile version Mobile version[edit | edit source]

On Desktop version Desktop, the maximum possible defense is 186 / 196 / 204, while on Mobile version Mobile, it is 181 / 191 / 199. The setups are the same:

Accessories (Desktop version 59 / 69 / 77 / Mobile version 54 / 64 / 72 defense)
Other (20 defense)

Console version Console version[edit | edit source]

The maximum possible defense is 165 / 173:

Accessories (48 / 56 defense)
Other (20 defense)

Old-gen console version Old-gen console version and 3DS3DS version version[edit | edit source]

The maximum possible defense is 128:

Accessories (42 defense)
  • At night or day (depending on Moon/Sun Stone), at low health
  • Warding modifiers on all accessories
Buffs (10 defense)

Trivia[edit | edit source]

  • Although not possible in-game, if a piece of armor were to gain a modifier, it would apply the effects just like an accessory would. For example, a set of Warding modified armor would add 12 defense total; each piece adding 4 defense to the total.
  • Damage dealt by enemies is doubled in Expert ModeDesktop, Console, and Mobile versions and tripled in Master ModeDesktop and Mobile versions compared to normal mode. This means that despite the higher factors of defense in those modes, defense is still generally less effective than in normal mode.
  • If the player somehow has negative defense, they will take more damage according to the damage taken added with half / three quarters / full amount the defense.

See also[edit | edit source]

References[edit | edit source]

  1. Information taken from the Desktop version Desktop 1.4.1.2 source code, method CalculateDamagePlayersTake() in Terraria.Main.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.2.2.
  2. Information taken from the Desktop version Desktop 1.4.2.1 source code, method Damage() in Terraria.Projectile.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.2.2.