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

◆ StrikeNPC() [2/2]

int Terraria.NPC.StrikeNPC ( int Damage,
float knockBack,
int hitDirection,
bool crit = false,
bool fromNet = false,
bool noPlayerInteraction = false )
inlinepackage

Definition at line 91679 of file NPC.cs.

91680 {
91682 }
int StrikeNPC(int Damage, float knockBack, int hitDirection, bool crit=false, bool fromNet=false, bool noPlayerInteraction=false)
Definition NPC.cs:91679
HitInfo CalculateStrikeFromLegacyValues(int Damage, float knockBack, int hitDirection, bool crit)
Definition NPC.cs:91684

References Terraria.GameContent.Damage.

Referenced by Terraria.Player.StrikeNPCDirect().

+ Here is the caller graph for this function: