fix: Fixes spellbook property invalidation when spells change. (#2702)
This commit is contained in:
parent
d857f03b68
commit
6c49038230
1 changed files with 1 additions and 1 deletions
|
|
@ -108,6 +108,7 @@ public partial class Spellbook : Item, ICraftable, ISlayer, IAosItem
|
|||
[SerializedCommandProperty(AccessLevel.GameMaster, canModify: true)]
|
||||
private AosSkillBonuses _skillBonuses;
|
||||
|
||||
[InvalidateProperties]
|
||||
[SerializableField(8)]
|
||||
[SerializedCommandProperty(AccessLevel.GameMaster)]
|
||||
private int _spellCount;
|
||||
|
|
@ -135,7 +136,6 @@ public partial class Spellbook : Item, ICraftable, ISlayer, IAosItem
|
|||
|
||||
[SerializableField(7, fieldChanged: nameof(OnContentChanged))]
|
||||
[SerializedCommandProperty(AccessLevel.GameMaster)]
|
||||
[InvalidateProperties]
|
||||
private ulong _content;
|
||||
|
||||
private void OnContentChanged(ulong oldValue, ulong newValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue