Frstrm / TokenLightCondition

Determine the lighting conditions of a token based on placed lights and token lights
MIT License
1 stars 4 forks source link

Distance calculations #8

Closed Frstrm closed 1 year ago

Frstrm commented 1 year ago

Updated distance calculation to take elevation of tokens into account. TokenHud light box indictor is turned off if token is at 0 hp. Effects are cleared if token is 0 hp. Switched to using lightingRefresh hook to trigger token light determination.