Calamity Mod Wiki
Advertisement

Defense damage is a mechanic that makes certain enemies' and bosses' attacks reduce the player's defense and Damage Reduction on hit. The amount of defense damage depends on the actual damage of the enemy or projectile, the mode and the stage of the game. Whenever defense damage is taken, a special sound effect plays and a gray number pops up above the Player, showing the amount of defense damage.

Calculations[]

Defense[]

Upon getting hit by an attack with defense damage, the player's defense stat is reduced by 15% of the damage taken up to a maximum of 25% of the player's defense. The Draedon's Heart reduces defense damage by 50%. If a boss is alive, defense damage can't be lower than a certain value:

Mode Pre-Hardmode Hardmode Post-Moon Lord
Normal 1 2 3
Expert 2 4 6
Revengeance 3 6 9
Death 4 8 12
Malice 5 10 15

Defense can't be reduced below 0 due to defense damage, and is set to 0 in case enough defense damage is received.

Recovery[]

After all invincibility frames wear off and an additionalof a second (10 ticks[1]) has passed, defense damage will decrease (i.e. lost defense will start to recover). The rate is dependent on two values:

  • How long the player has been recovering from defense damage (currentRecovery)
  • The total amount of time the player is currently going to be recovering from defense damage for (totalRecovery)

TotalRecovery has a base value of of a second, and is incremented by anotherof a second each time the player takes more defense damage while recovering. This also resets currentRecovery back to 0. Defense damage is decreased linearly based on . So if a player is one third of the way through their recovery timer, they will have recovered one third of their lost defense.

Damage Reduction[]

Defense damage also reduces Damage Reduction by the following amount:.

NPCs capable of dealing defense damage[]

  • Image NPC
    A Desert Nuisance A Desert Nuisance
    Adult Eidolon Wyrm Adult Eidolon Wyrm
    Anahita Anahita
    Aquatic Aberration Aquatic Aberration
    Aquatic Scourge Aquatic Scourge
    Armored Digger Head Armored Digger Head
    Astrum Aureus Astrum Aureus
    Astrum Deus Astrum Deus
    Atlas Atlas
    Aureus Spawn Aureus Spawn
    Bobbit Worm Bobbit Worm
    Bohldohr Bohldohr
    Calamitas Calamitas
    Cataclysm Cataclysm
    Catastrophe Catastrophe
    Ceaseless Void Ceaseless Void
    Cosmic Mine Cosmic Mine
    Crabulon Crabulon
    Cragmaw Mire Cragmaw Mire
    Crimulan Slime God Crimulan Slime God
    Cryogen's Shield Cryogen's Shield
    Cryogen Cryogen
    Dank Creeper Dank Creeper
    Dark Energy Dark Energy
    Desert Scourge Desert Scourge
    Detonating Flame Detonating Flame
    Devil Fish Devil Fish
    Earth Elemental Earth Elemental
    Ebonian Slime God Ebonian Slime God
    Eidolon Wyrm Eidolon Wyrm
    Giant Clam Giant Clam
    Gnasher Gnasher
    Great Sand Shark Great Sand Shark
    Gulper Eel Head Gulper Eel Head
    Jungle Dragon, Yharon Jungle Dragon, Yharon
    Leviathan Leviathan
    Mantis Mantis
    Mauler Mauler
    Nuclear Terror Nuclear Terror
    Plague Homing Missile Plague Homing Missile
    Plague Mine Plague Mine
    Plaguebringer Plaguebringer
    Polterghast Polterghast
    Profaned Guardians Profaned Guardians
    Ravager Ravager
    Reaper Shark Reaper Shark
    Rock Pillar Rock Pillar
    Scorn Eater Scorn Eater
    Signus, Envoy of the Devourer Signus, Envoy of the Devourer
    Slime God Core Slime God Core
    Storm Weaver Head Storm Weaver Head
    Sulphurous Sharkron Sulphurous Sharkron
    Supreme Calamitas Supreme Calamitas
    The Devourer of Gods The Devourer of Gods
    The Dragonfolly The Dragonfolly
    The Hive Mind The Hive Mind
    The Old Duke The Old Duke
    The Perforators The Perforators
    The Plaguebringer Goliath The Plaguebringer Goliath
    Tooth Ball Tooth Ball
    Trasher Trasher
    XM-05 Thanatos XM-05 Thanatos
    XS-01 Artemis XS-01 Artemis
    XS-03 Apollo XS-03 Apollo
  • Notes[]

    • The mode-based floor for defense damage is applied before the cap of 25% of the player's maximum defense. This means theoretically, a player can take less than that floor, if they have sufficiently low maximum defense.
      • For example, if a player has less than 60 defense when fighting a post-Moon Lord boss in Malice Mode, they would take less than the 15 defense damage specified in the table.

    References[]

    1. 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.
    Advertisement