Table of Contents

Method GetSpellLevelByClass

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetSpellLevelByClass(NwClass, bool)

Gets the spell class level for the specified class.

public int? GetSpellLevelByClass(NwClass classType, bool includeMasterSpell = true)

Parameters

classType NwClass

The class to query.

includeMasterSpell bool

If true, will use the MasterSpell class level if this spell has no class level configured.

Returns

int?

The spell level for the specified class. Returns null if no spell level is defined for the specified class.