erithtotl / wall-height

New fork of original project for continued improvements.
https://github.com/erithtotl/wall-height
GNU General Public License v3.0
6 stars 9 forks source link

[BUG] Token Height option not working in v9 #34

Closed msprijatelj closed 2 years ago

msprijatelj commented 2 years ago

Foundry Version 9 - Build 238 System tested: LANCER v1.0.3

The Token Height option does not function in Foundry v9.

Steps to reproduce:

  1. Create a token and a wall with a height equal to the token's scaled 2d height in a scene supporting line of sight (e.g. if the scene has a scale of 5ft and the token fits in a 1x1 square, set the wall's height to 5ft).
  2. Enable the "Token Height" option under Module Settings - Wall Height
  3. Select the created token and move it around. Observe that the token cannot see over the wall despite having sufficient height to do so.

Expected behavior: Turning on Token Height allows a token to see over walls with elevation less than or equal to the token's 2D height (which the option assumes to be equivalent to the token's tallness).