kandashi / Active-Token-Lighting

MIT License
24 stars 24 forks source link

Cannot adjust the Sight Limit property #117

Closed Masterfuzzfuzz closed 1 year ago

Masterfuzzfuzz commented 2 years ago

Describe the bug Unable to add an active effect that affects the Sight Limit property of a token. I've tried ATL.SightLimit, ATL.Sight.Limit, and any other combination I can think of. Is this not supported?

Expected behavior To be able to select SightLimit as a dropdown and set a value like the other site properties.

Environment:

Division4Studios commented 1 year ago

I can confirm this is an issue. Ivestigated this as well with Mr.Primate

kaelad02 commented 1 year ago

Is Sight Limit something that the Perfect Vision module adds?

kaelad02 commented 1 year ago

I installed Perfect Vision and figured out where the sight limit is stored. Not surprisingly, in a flag on the token. An active effect with this kind of change will work:

ATL.flags.perfect-vision.sight.range | Override | 30
kaelad02 commented 1 year ago

I added it to the documentation on https://github.com/kandashi/Active-Token-Lighting/wiki/Key-Reference