Table of Contents

Method FromSpellId

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

FromSpellId(int?)

Resolves a NwSpell from a spell id.

public static NwSpell? FromSpellId(int? spellId)

Parameters

spellId int?

The id of the spell to resolve.

Returns

NwSpell

The associated NwSpell instance. Null if the spell id is invalid.

FromSpellId(uint?)

Resolves a NwSpell from a spell id.

public static NwSpell? FromSpellId(uint? spellId)

Parameters

spellId uint?

The id of the spell to resolve.

Returns

NwSpell

The associated NwSpell instance. Null if the spell id is invalid.