Table of Contents

Method DecreaseAC

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

DecreaseAC(IPACModifierType, int)

Decreases Armor Class using the specified modifier type. Penalty must be a positive integer between 1 and 5 (1 = -1).

public static ItemProperty DecreaseAC(IPACModifierType modifierType, int penalty)

Parameters

modifierType IPACModifierType

The AC modifier type.

penalty int

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

Returns

ItemProperty

The created item property.