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

◆ FinalDamage

StatModifier Terraria.Player.HurtModifiers.FinalDamage

Applied to the final damage result.
Used by F:Terraria.Player.endurance to reduce overall incoming damage.

Multiply to grant damage reduction buffs (eg *0.9f for -10% damage taken).
Add to F:Terraria.ModLoader.StatModifier.Base to deal damage which ignores armor, but still respects scaling damage reduction like endurance or paladins shield.
Adding to F:Terraria.ModLoader.StatModifier.Flat will ignore all reductions or increases to deal unconditional damage. Not recommended due to potential compatibility issues with accessories like paladin's shield, use F:Terraria.ModLoader.StatModifier.Base instead.

Definition at line 641 of file Player.cs.

Referenced by Terraria.Player.HurtModifiers.HurtModifiers(), and Terraria.Player.HurtModifiers.GetDamage().