caewok
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.
You probably want
token.renderFlags.set({redraw:true})
. But check out the other flags, because you might be able to get away with something more specific rather than a full redraw.
I doubt you need a full subclass, although you might want it for other reasons if you are designing a system. You can hook token update or preupdate to see when a token moves or will move, and change light settings in response to that.6 replies