Table of Contents

Method Trap

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Trap(IPTrapStrength, IPTrapType)

Creates a Trap property with level and type.

public static ItemProperty Trap(IPTrapStrength trapStrength, IPTrapType trapType)

Parameters

trapStrength IPTrapStrength

Trap strength.

trapType IPTrapType

Trap type.

Returns

ItemProperty

The created item property.