jkeller
November 5th, 2025, 15:36
In 5E, is there a way to know when attunement status changes?
I tried reassigning this:
CharAttunementManager.onCharItemAttuneUpdate = myOnCharItemAttuneUpdate;
And adding my own handler:
DB.addHandler("charsheet.*.inventorylist.*.attune", "onUpdate", myOnCharItemAttuneUpdate);
But they don't seem to be called when I click on the Attunement toggle on the Character Sheet.
Thanks!
I tried reassigning this:
CharAttunementManager.onCharItemAttuneUpdate = myOnCharItemAttuneUpdate;
And adding my own handler:
DB.addHandler("charsheet.*.inventorylist.*.attune", "onUpdate", myOnCharItemAttuneUpdate);
But they don't seem to be called when I click on the Attunement toggle on the Character Sheet.
Thanks!