|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Initializes a T:Terraria.NPC.HitModifiers calculation with the properties of this NPC, including calling M:Terraria.ModLoader.NPCLoader.ModifyIncomingHit(Terraria.NPC,Terraria.NPC.HitModifiers@)
| damageType | The DamageType of the hit. |
| hitDirection | The direction to apply knockback. If 0, no knockback will be applied. |
| ignoreArmorDebuffs | Ignores F:Terraria.NPC.ichor and F:Terraria.NPC.betsysCurse. Only used for legacy vanilla codepaths. |
Definition at line 91711 of file NPC.cs.
References Terraria.ModLoader.NPCLoader.ModifyIncomingHit().
Referenced by Terraria.Player.ApplyDamageToNPC().
Here is the call graph for this function:
Here is the caller graph for this function: