|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| HitInfoModifier Terraria.NPC.HitModifiers.ModifyHitInfo |
Use with caution and consider other alternatives first.
Can be used to register a callback to freely modify the T:Terraria.NPC.HitInfo produced by M:Terraria.NPC.HitModifiers.ToHitInfo(System.Single,System.Boolean,System.Single,System.Boolean,System.Single) before it is returned
If multiple mods register different callbacks which modify the hit info in different ways the results could be a mess!