Defense (2024)

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, tile entities, and permanent upgrades. 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.

Contents

  • 1 Players
    • 1.1 Examples
  • 2 Enemies
    • 2.1 Examples
  • 3 Boosts
    • 3.1 Armor and accessories
    • 3.2 Buffs and debuffs
  • 4 Armor penetration
  • 5 Maximum defense
    • 5.1 tModLoader 1.3-Legacy version
    • 5.2 Old-gen console version, Windows Phone version, and Nintendo3DSversion
  • 6 Trivia
  • 7 See also
  • 8 References

Players[]

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:net dmg = ⌊attack dmg - def × factor⌋, where factor is 0.5 in Classic Mode, 0.75 in Expert Mode, and 1 in Master Mode.[1]

Examples[]

Atk. dmgDef.Net damage
Defense (1) ClassicDefense (2) ExpertDefense (3) Master
402030
⌊40 - 20 * 0.5⌋ = 30
25
⌊40 - 20 * 0.75⌋ = 25
20
⌊40 - 20 * 1⌋ = 20
403025
⌊40 - 30 * 0.5⌋ = 25
17
⌊40 - 30 * 0.75⌋ = 17
10
⌊40 - 30 * 1⌋ = 10
752065
⌊75 - 20 * 0.5⌋ = 65
60
⌊75 - 20 * 0.75⌋ = 60
55
⌊75 - 20 * 1⌋ = 55
753060
⌊75 - 30 * 0.5⌋ = 60
52
⌊75 - 30 * 0.75⌋ = 52
45
⌊75 - 30 * 1⌋ = 45

Enemies[]

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: net dmg = ⌊attack dmg - def × 0.5⌋.

Critical hits against enemies will double the net damage value. In other words, the crit damage multiplier is taken into account after the attack's damage has already been reduced by defense.

Examples[]

WeaponDefense (4)Green Slime

0 defense

Defense (5)Chaos Elemental

30 defense

Defense (6)Paladin

50 defense

Defense (7)Sharkron

100 defense

Defense (8)Gold Broadsword

15 damage

151 (0)1 (-10)1 (-35)
Defense (9)Meowmere

200 damage

200185175150

Boosts[]

Armor and accessories[]

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.

ItemAcc. defense
Defense (10)Cobalt Shield1
Defense (11)Obsidian Skull1
Defense (12)Shackle1
Defense (13)Obsidian Shield2
Defense (14)Shield of Cthulhu2
Defense (15)Ankh Shield4
Defense (16)Frozen Shield6
Defense (17)Paladin's Shield6
Defense (18)Berserker's Glove8
Defense (19)Flesh Knuckles8 / 7
Defense (20)Hero Shield10
ItemAccessory defense
Defense (21)Moon Charm3 (only during the night)
Defense (22)Moon Shell3 (only during the night)
Defense (23)Moon Stone4 (only during the night)
Defense (24)Sun Stone4 (only during the day)
Defense (25)Celestial Shell4 (during the day)
7 (during the night)
Defense (26)Frozen Turtle Shell 0 (until below 50% health when it reduces total damage by 25%)
30 (when below 25% health)

Buffs and debuffs[]

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/DebuffBuff/debuff defense
Defense (27)Well Fed2
Defense (28)Plenty Satisfied3
Defense (29)Exquisitely Stuffed4
Defense (30)The Bast Defense5
Defense (31)Dryad's Blessing8
Defense (32)Ironskin8
Defense (33)Tipsy−4
Defense (34)Weak−4
Defense (35)Ichor−15 / −20
Defense (36)Betsy's Curse−40
Defense (37)Broken Armor−50%

Armor penetration []

Armor penetration is a 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:

ItemArmor penetration
Defense (38)Shark Tooth Necklace5
Defense (39)Stinger Necklace5
Defense (40)Sharpening Station12 (for melee weapons only)

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

ItemArmor penetration
Defense (41)Blade Staff25
Defense (42)Dark Harvest("dark energy")50
Defense (43)Cool Whip(snowflake)30
Defense (44)Bone Glove 25
Defense (45)Crystal Vile Shard 10
Defense (46)Nettle Burst 10
Defense (47)Wasp Gun 10
Defense (48)Star Cloakand its upgrades 25
Defense (49)Arkhalis 20
Defense (50)Weather Pain 10

Maximum defense[]

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

On Defense (51)PC version, Defense (52)Console version, Defense (53)Mobile version, and Defense (54)tModLoader version, the maximum possible defense is 186 / 196 / 204, while on Defense (55)Old-gen console version, Defense (56)Windows Phone version, Defense (57)Old Chinese version, NintendoDefense (58)version, and Defense (59)tModLoader 1.3-Legacy version, it is 181 / 191 / 199. The setups are the same:

Defense (77)tModLoader 1.3-Legacy version[]

The maximum possible defense is 165 / 173:

Accessories (48 / 56 defense)

Other (20 defense)

Defense (93)Old-gen console version, Defense (94)Windows Phone version, and NintendoDefense (95)version[]

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[]

  • 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 Mode and tripled in Master Mode 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[]

References[]

  1. Information taken from the Defense (107)PC 1.4.1.2 source code, method CalculateDamagePlayersTake() in Terraria.Main.cs. There may be inaccuracies, as the current Defense (108)PC version is 1.4.4.9.
  2. Information taken from the Defense (109)PC 1.4.2.1 source code, method Damage() in Terraria.Projectile.cs. There may be inaccuracies, as the current Defense (110)PC version is 1.4.4.9.

V • D • E • P

Multiplayer

Defense (2024)
Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 6163

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.