Table of Contents

Method LevelUpHenchman

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

LevelUpHenchman(NwClass, PackageType, bool)

Levels up this creature using the default settings.
You can assign a new class to level up
If an invalid class combination is chosen the default class is leveled up.
Package determines which package to level up with.
If package is omitted it will use the starting package assigned to that class or just the class package.

public int LevelUpHenchman(NwClass nwClass, PackageType package, bool spellsReady = false)

Parameters

nwClass NwClass

Constant matching the class to level the creature in.

package PackageType

Constant matching the package used to select skills and feats for the henchman.

spellsReady bool

Determines if all memorable spell slots will be filled without requiring rest.

Returns

int

Returns the new level if successful, or 0 if the function fails.