Table of Contents

Property KnownSpells

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

KnownSpells

Gets a mutable list of known spells.
The returned array is indexed by spell level, 0 = cantrips, 1 = level 1 spells, etc.

public IReadOnlyList<IList<NwSpell>> KnownSpells { get; }

Property Value

IReadOnlyList<IList<NwSpell>>

Remarks

When used on players, you also need to update AddedKnownSpells and RemovedKnownSpells on the relevant level taken in this class, otherwise players will fail ELC checks.