Table of Contents

Method FromSpellType

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

FromSpellType(Spell)

Resolves a NwSpell from a Spell.

public static NwSpell FromSpellType(Spell spellType)

Parameters

spellType Spell

The spell type to resolve.

Returns

NwSpell

The associated NwSpell instance.

Exceptions

ArgumentOutOfRangeException

Thrown if spellType is not a value defined in spells.2da.