caewok / fvtt-token-cover

Alternative token cover for use with Foundry VTT
MIT License
4 stars 4 forks source link

Cover is being calculated from the center of the token rather than one of the corners #11

Closed Zamrod closed 9 months ago

Zamrod commented 10 months ago

image

I have both ATC and ATV set to DND5e DMG. This picture shows the debug from ATV's line of sight. There is one green line to the corner of the target square, meaning that there should be 3/4 cover.

image

If you debug ATC, however, it shows all the lines blocked since they come from the center.

image

Zamrod commented 10 months ago

I've tested and this appears to happen regardless of the setting. It seems to ignore the setting.

Also, it only measures to the center of the target token regardless of the setting as well:

image

caewok commented 9 months ago

Fixed in v0.6.5.