Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions NWN.Anvil/src/main/API/Objects/CreatureClassInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ public IReadOnlyList<IList<NwSpell>> KnownSpells
public byte NegativeLevels => classInfo.m_nNegativeLevels;

/// <summary>
/// Gets the spell school for this class.
/// Gets or sets the spell school for this class.
/// </summary>
public SpellSchool School => (SpellSchool)classInfo.m_nSchool;
public SpellSchool School
{
get => (SpellSchool)classInfo.m_nSchool;
set => classInfo.m_nSchool = (byte)value;
}

/// <summary>
/// Clears the specified spell from the creature's spellbook.
Expand Down
Loading