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

◆ GetWeaponArmorPenetration()

int Terraria.Player.GetWeaponArmorPenetration ( Item sItem)
inline

Definition at line 58486 of file Player.cs.

58487 {
58488 return (int)((float)sItem.ArmorPenetration + GetTotalArmorPenetration(sItem.DamageType));
58489 }
float GetTotalArmorPenetration(DamageClass damageClass)
Definition Player.cs:58453

References Terraria.Player.GetTotalArmorPenetration().

Referenced by Terraria.Player.ProcessHitAgainstNPC().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: