Table of Contents

Method DamagePenalty

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

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

penalty int

The damage penalty (1–5, interpreted as negative).

Returns

ItemProperty

The created item property.