Method DamagePenalty
DamagePenalty(int)
Creates a damage penalty item property. Penalty must be a positive integer between 1 and 5 (1 = -1).
public static ItemProperty DamagePenalty(int penalty)
Parameters
penaltyintThe damage penalty (1–5, interpreted as negative).
Returns
- ItemProperty
The created item property.