Table of Contents

Method ACBonusVsAlign

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ACBonusVsAlign(IPAlignmentGroup, int)

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

public static ItemProperty ACBonusVsAlign(IPAlignmentGroup alignmentGroup, int bonus)

Parameters

alignmentGroup IPAlignmentGroup

The alignment group.

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.