TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ CritDamage

StatModifier Terraria.NPC.HitModifiers.CritDamage

Applied to the final damage (after defense) result when the hit is a crit. Defaults to +1f additive (+100% damage).

Add to give hits extra crit damage (eg +0.1f for 10% extra crit damage (total +110% or 2.1 times base).
Add to F:Terraria.ModLoader.StatModifier.Flat to give crits extra flat damage. Use with caution as this extra damage will not be reduced by armor.
Multiplication not recommended for buffs. Could be used to decrease the effectiveness of crits on an enemy without disabling completely.
Use of F:Terraria.ModLoader.StatModifier.Base also not recommended.

Definition at line 131 of file NPC.cs.

Referenced by Terraria.NPC.HitModifiers.HitModifiers(), and Terraria.NPC.HitModifiers.GetDamage().