fix: Fixes runebook OPL not updating with charges (#2088)

This commit is contained in:
Kamron Batman 2025-01-24 18:17:55 -08:00 • committed by GitHub
parent 28460114cb
commit c8f13b2933
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,10 +39,12 @@ public partial class Runebook : Item, ISecurable, ICraftable
[SerializedCommandProperty(AccessLevel.GameMaster)] [SerializedCommandProperty(AccessLevel.GameMaster)]
private string _description; private string _description;
[InvalidateProperties]
[SerializableField(5)] [SerializableField(5)]
[SerializedCommandProperty(AccessLevel.GameMaster)] [SerializedCommandProperty(AccessLevel.GameMaster)]
private int _curCharges; private int _curCharges;
[InvalidateProperties]
[SerializableField(6)] [SerializableField(6)]
[SerializedCommandProperty(AccessLevel.GameMaster)] [SerializedCommandProperty(AccessLevel.GameMaster)]
private int _maxCharges; private int _maxCharges;