Table of Contents

Class NwClass

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

A creature/character class definition.

public sealed class NwClass
Inheritance
NwClass
Inherited Members
Extension Methods

Properties

AbilityGainTable

Gets a list containing the ability score progression granted by this class (e.g. Dragon Disciple).
The list is 0-indexed, with level 1 starting at element 0.

ArcaneSpellUsePerDayLevel

If positive, this specifies the number of levels in this class that together add one level to an arcane class when determining the spell slots based on class level.

AttackBonusTable

Gets a list containing the base attack bonus progression for this class.
The list is 0-indexed, with level 1 starting at element 0.

BonusFeatsTable

Gets a list containing the bonus feat progression for this class (e.g. Fighters).
The list is 0-indexed, with level 1 starting at element 0.

CanCastSpontaneously

Gets if this class can spontaneously cast certain domain spells (e.g. Cleric).

CanLearnFromScrolls

Gets if this class can learn spells from reading scrolls (e.g. Wizards)

CasterLevelMultiplier

Gets the Caster Level multiplier for this class.

ClassType

Gets the associated Id for this class.

Description

Gets the description name of this class.

DivineSpellUsePerDayLevel

If positive, this specifies the number of levels in this class that together add one level to a divine class when determining the spell slots based on class level.

EffectiveCRTable

Gets a list containing the CR progression for this class.
This value is used for purposes of encounter challenge rating calculations.
The list is 0-indexed, with level 1 starting at element 0.

EpicLevel

Gets the maximum amount of levels that can be taken into this class pre-epic (before level 21).

Feats

Gets a list of the feats associated with this class.

HasArcaneSpellFailure

Gets if this class is subject to the effects of arcane spell failure.

HasDomains

Gets if this class can choose divine domains as a part of their class (e.g. Clerics)

HasMemorizedSpells

Gets if this class gains spells by memorization (e.g. Wizards)

HasMulticlassPenalty

Gets if this class counts towards the muliclass penalty for experience.

HasSpecialization

Gets if this class can choose a spell specialization/school as a part of their class (e.g. Wizards)

HitDie

Gets what size of die is used to roll hit points on level-up. (4, 6, 8, 10, 12, etc.)

IconResRef

Gets the ResRef specifying the icon displayed in the game for this class

Id

Gets the id of this class.

InvertRestrictions

Gets if the alignments specified in Restrictions and RestrictionTypes are the only alignments allowed to gain levels in this class (true), rather than being the alignments prohibited from gaining them (false).

IsArcaneCaster

Gets if this class is considered an arcane caster. False indicates that the caster is considered a divine caster.

IsPlayerClass

Gets if this class may be selected by a player.

IsSpellCaster

Gets if this class is a s

IsSpellbookRestricted

Gets if this class is restricted to selecting spells from a spell book (e.g. Wizards)

MaxLevel

Gets the maximum amount of levels that can be taken into this class.
0 means there is no limit.

MinAssociateLevel

Gets the minimum level required to receive the associate for the class.

MinCastingLevel

Gets the minimum level required before this class may cast spells. (e.g. Paladin/Ranger)

Name

Gets the name of this class as shown on the character sheet.

NameLower

Gets the name of this class, in lowercase.

NamePlural

Gets the name of this class, in plural form.

NaturalACGainTable

Gets a list containing the natural AC progression granted by this class (e.g. Pale Masters).
The list is 0-indexed, with level 1 starting at element 0.

PackageIndex

Gets the associated packages.2da row index for this class.

PreReqTable

Gets the 2da table defining the prerequisites for this class (making this class a prestige class).

PrimaryAbility

Gets the primary ability score for this class.
Not used for spellcasting. See SpellCastingAbility.

RestrictionTypes

Gets the type of restrictions that Restrictions applies to.

Restrictions

Gets the alignment restrictions that must be met to take this class.
This acts as a black/whitelist depending on RestrictionTypes and InvertRestrictions.

SkillPointBase

Gets the number of skill points gained per level from this class before modifiers.

Skills

Gets the list of skills available to this class.

SpellCastingAbility

Gets the ability score used for spell casting - save DCs, extra spell slots.

SpellGainTable

Gets a list containing the spell slot progression for this class.
The list is 0-indexed, with level 1 starting at element 0.

SpellKnownTable

Gets a list containing the known spell progression for this class.
The list is 0-indexed, with level 1 starting at element 0.

SpellTableColumn

Gets the name of the column that this class references in spells.2da

Methods

FromClassId(int)

Resolves a NwClass from a class id.

FromClassType(ClassType)

Resolves a NwClass from a ClassType.

GetRecommendedAbilityScore(Ability)

Gets the ability score for the specified ability that is shown during character creation.

GetSavingThrowTable(SavingThrow)

Gets a list containing the saving throw progression granted by this class.
The list is 0-indexed, with level 1 starting at element 0.

Operators

implicit operator NwClass(ClassType)