Anvil
Anvil.API.CreatureLevelInfo Class Reference

Public Member Functions

sbyte GetSkillRank (NwSkill skill)
 Gets the skill ranks for the specified skill on this creature level. More...
 
void SetSkillRank (NwSkill skill, sbyte rank)
 Sets the skill ranks for the specified skill on this creature level. More...
 

Properties

Ability??? AbilityGained [get, set]
 Gets or sets the ability increased at this level. More...
 
IReadOnlyList< IList< NwSpell > >? AddedKnownSpells [get]
 Gets a mutable list of known spells added at this level.
The returned array is indexed by spell level, 0 = cantrips, 1 = level 1 spells, etc. More...
 
CreatureClassInfo ClassInfo [get]
 Gets the class chosen at this level. More...
 
int FeatCount [get]
 Gets the number of feats gained at this level. More...
 
IList< NwFeatFeats [get]
 Gets a mutable list of feats gained at this level. More...
 
byte HitDie [get, set]
 Gets or sets the hitpoints gained by this creature for this level. More...
 
IReadOnlyList< IList< NwSpell > > RemovedKnownSpells [get]
 Gets a mutable list of known spells removed at this level.
The returned array is indexed by spell level, 0 = cantrips, 1 = level 1 spells, etc. More...
 
ushort SkillPointsRemaining [get, set]
 Gets or sets the amount of skill points unspent at this level. More...
 

Member Function Documentation

◆ GetSkillRank()

sbyte Anvil.API.CreatureLevelInfo.GetSkillRank ( NwSkill  skill)
inline

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

Parameters
skillThe skill to query.
Returns
The number of skill ranks.

◆ SetSkillRank()

void Anvil.API.CreatureLevelInfo.SetSkillRank ( NwSkill  skill,
sbyte  rank 
)
inline

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

Parameters
skillThe skill to modify.
rankThe new number of skill ranks.

Property Documentation

◆ AbilityGained

Ability??? Anvil.API.CreatureLevelInfo.AbilityGained
getset

Gets or sets the ability increased at this level.

◆ AddedKnownSpells

IReadOnlyList<IList<NwSpell> >? Anvil.API.CreatureLevelInfo.AddedKnownSpells
get

Gets a mutable list of known spells added at this level.
The returned array is indexed by spell level, 0 = cantrips, 1 = level 1 spells, etc.

◆ ClassInfo

CreatureClassInfo Anvil.API.CreatureLevelInfo.ClassInfo
get

Gets the class chosen at this level.

◆ FeatCount

int Anvil.API.CreatureLevelInfo.FeatCount
get

Gets the number of feats gained at this level.

◆ Feats

IList<NwFeat> Anvil.API.CreatureLevelInfo.Feats
get

Gets a mutable list of feats gained at this level.

◆ HitDie

byte Anvil.API.CreatureLevelInfo.HitDie
getset

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

◆ RemovedKnownSpells

IReadOnlyList<IList<NwSpell> > Anvil.API.CreatureLevelInfo.RemovedKnownSpells
get

Gets a mutable list of known spells removed at this level.
The returned array is indexed by spell level, 0 = cantrips, 1 = level 1 spells, etc.

◆ SkillPointsRemaining

ushort Anvil.API.CreatureLevelInfo.SkillPointsRemaining
getset

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


The documentation for this class was generated from the following file: