caewok / fvtt-elevation-ruler

Modifies Foundry VTT ruler to display when dragging tokens, add token speed highlighting, do pathfinding, calculate elevation
MIT License
18 stars 16 forks source link

5-10-5 (or alternating 1-2-1 as of v12) issue #204

Closed SilvesTheRog closed 1 month ago

SilvesTheRog commented 1 month ago

Noticed a weird thing when moving a token with 25ft. speed diagonally using 5-10-5 rules.

When I move it diagonally left and up, the "tile" at 30ft. mark is colored green. image

But moving a token to any other diagonal direction shows me the yellow "tile" at the same mark, as it's supposed to image image

The same thing happens when speed is 40, 45, etc. And it's always in the same direction

caewok commented 1 month ago

Probably a rounding issue. Will look into it.

caewok commented 1 month ago

I think I fixed this in v0.10.11.