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

◆ DamageSource

PlayerDeathReason Terraria.Player.HurtModifiers.DamageSource
get

The source of the strike.
Use M:Terraria.DataStructures.PlayerDeathReason.TryGetCausingEntity(Terraria.Entity@) to get the source of the strike (only safe to do when the target is the local player).

Definition at line 682 of file Player.cs.

682{ get; init; }

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