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

◆ KnockbackImmunityEffectiveness

MultipliableFloat Terraria.Player.HurtModifiers.KnockbackImmunityEffectiveness

Use this to reduce the effectiveness of F:Terraria.Player.noKnockback (cobalt shield accessory).
Eg, *0.8f to reduce knockback to 20% when cobalt shield is equipped.
Defaults to 1f (knockback immunity is 100% effective by default).
Used by vanilla for the ogre's launching attack.

Definition at line 672 of file Player.cs.

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