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

◆ ModifyHurtInfo

HurtInfoModifier Terraria.Player.HurtModifiers.ModifyHurtInfo

Use with caution and consider other alternatives first.
Can be used to register a callback to freely modify the T:Terraria.Player.HurtInfo produced by M:Terraria.Player.HurtModifiers.ToHurtInfo(System.Int32,System.Int32,System.Single,System.Single,System.Boolean) before it is returned
If multiple mods register different callbacks which modify the hurt info in different ways the results could be a mess!

Definition at line 720 of file Player.cs.