Table of Contents

Method ACBonusVsSAlign

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ACBonusVsSAlign(IPAlignment, int)

Creates an Armor Class bonus versus a specific alignment. Bonus must be between 1 and 20; modifier type depends on item.

public static ItemProperty ACBonusVsSAlign(IPAlignment alignment, int bonus)

Parameters

alignment IPAlignment

The alignment.

bonus int

The AC bonus (1–20).

Returns

ItemProperty

The created item property.

Remarks

Items that gain a Deflection bonus: Creature Skins, staves, rings, melee weapons, helmets, cloaks, belts, gloves, and ranged weapons that use ammunition.
Items that gain an Armor bonus: Armors and bracers.
Items that gain a Natural Armor bonus: Amulets.
Items that gain a Shield bonus: Shields.
Items that gain a Dodge bonus: Boots.