StagnuDemorte
LOELeague of Extraordinary FoundryVTT Developers
•Created by StagnuDemorte on 4/8/2024 in #package-development
change token lighting based on changing value on actor or an Effect embedded on the actor.
Thanks for your response. that resembles my first attempt. what ended up working is overriding the _onUpdateDescendantDocuments method on the token document, resetting the tokenDoc, then calling updateLightSource on the token itself. i think i had to override the _onUpdateDescendantDocuments on the actor as well to make sure it picked up the changes.
6 replies