Table of Contents

Method ForceLevelUp

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ForceLevelUp(NwClass, byte, Ability?, bool, ushort, NwDomain?, NwDomain?, SpellSchool, bool)

Forces a PC to level up without the level up GUI.

public void ForceLevelUp(NwClass classType, byte hitDie, Ability? abilityGain = null, bool epic = false, ushort skillPointsRemaining = 0, NwDomain? domain1 = null, NwDomain? domain2 = null, SpellSchool school = SpellSchool.Unknown, bool addStatsToList = true)

Parameters

classType NwClass

The class to level up.

hitDie byte

The hit points gained during this level up.

abilityGain Ability?

The abilty to increase : 6 = no increase.

epic bool

Is this an epic level.

skillPointsRemaining ushort

Number of skill points to give

domain1 NwDomain

Sets a cleric domain for the class (255 = no domain)

domain2 NwDomain

Sets the second cleric domain for the class (255 = no domain)

school SpellSchool

Sets the wizard school for the class (255 = no school)

addStatsToList bool

Adds the new stats to the character sheet