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

◆ ArmorPenetration

int Terraria.Item.ArmorPenetration
getset

The number of defense points that this item can ignore on its own. Cannot be set to negative values. Defaults to 0.

Definition at line 1118 of file Item.cs.

1119 {
1120 get
1121 {
1122 return _armorPenetration;
1123 }
1124 set
1125 {
1126 _armorPenetration = Math.Max(0, value);
1127 }
1128 }
int value
The number of copper coins this item is worth (aka, cost to buy from a merchant). Setting it to 10462...
Definition Item.cs:655
int _armorPenetration
Definition Item.cs:791

Referenced by Terraria.Projectile.ApplyStatsFromSource().