Table of Contents

Method CastSpell

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

CastSpell(IPCastSpell, IPCastSpellNumUses)

Adds a cast spell property with a limited number of uses. Allowed spells depend on item type; higher spell level increases item cost.

public static ItemProperty CastSpell(IPCastSpell spell, IPCastSpellNumUses uses)

Parameters

spell IPCastSpell

The spell to cast.

uses IPCastSpellNumUses

The number of uses.

Returns

ItemProperty

The created item property.