Table of Contents

Class CreatureLevelInfo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Provides level-specific data for a creature, including the chosen class, feats gained, hit die result, skill points, ability increase, and spellbook changes.

public sealed class CreatureLevelInfo
Inheritance
CreatureLevelInfo
Inherited Members
Extension Methods

Remarks

Use the per-level containers (feats, skill ranks, known spells added/removed) to inspect or adjust what was taken on this level. The known spell arrays are indexed by spell level (0 for cantrips, 1–9 for spell levels) and each entry is a mutable list.

Properties

AbilityGained

Gets or sets the ability increased at this level.

AddedKnownSpells

Gets a mutable list of known spells added at this level.

ClassInfo

Gets the class chosen at this level.

FeatCount

Gets the number of feats gained at this level.

Feats

Gets a mutable list of feats gained at this level.

HitDie

Gets or sets the hitpoints gained by this creature for this level.

RemovedKnownSpells

Gets a mutable list of known spells removed at this level.

SkillPointsRemaining

Gets or sets the amount of skill points unspent at this level.

Methods

GetSkillRank(NwSkill)

Gets the skill ranks for the specified skill on this creature level.

SetSkillRank(NwSkill, sbyte)

Sets the skill ranks for the specified skill on this creature level.