Table of Contents

Class CreatureClassInfo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll
public sealed class CreatureClassInfo
Inheritance
CreatureClassInfo
Inherited Members
Extension Methods

Properties

Class

Gets the associated class.

Domains

Gets the 2 domains set for this class.
Domains can be modified by editing the contents of this array.

KnownSpells

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

Level

Gets the amount of levels in this class.

NegativeLevels

Gets any negative levels applied to this class (e.g. through level drain).

School

Gets or sets the spell school for this class.

Methods

ClearMemorizedKnownSpells(NwSpell)

Clears the specified spell from the creature's spellbook.

GetMemorizedSpellSlotCountByLevel(byte)

Gets the number of spell slots available for a specific spell level.

GetMemorizedSpellSlots(byte)

Gets a list of spell slots available at the given spell level. The returned slots can be modified to change and remove spells.

GetRemainingSpellSlots(byte)

Gets the number of remaining, unspent spell slots for the given spell level.

SetRemainingSpellSlots(byte, byte)

Sets the number of unspent spell slots for the given spell level.