theripper93 / Levels

23 stars 13 forks source link

Sight through windows does not show tokens (foundry v11) #131

Closed Zefyron667 closed 1 year ago

Zefyron667 commented 1 year ago

Foundry version: 11.301 Sytem: DnD 5e 2.2.1 Modules active: Levels, TheRipper93's Module Hub, Wall Height, libWrapper

Issue: When a token with vision looks through a Window ( a wall with proximity sight restriction set to 10), any tokens on the other side of the window are not visible despite being able to see normally otherwise.

Tested with mentioned modules disabled and the windows function as intended, with tokens visible on the other side

Screenshots: https://i.imgur.com/uIuiWr7.png https://i.imgur.com/cQ8FJ7O.png

theripper93 commented 1 year ago

Note that due to Levels vision implementation, it's not possible to support proximity type vision. I've added a partial compatibility that will treat proximity restriction as no restriction