FionaBrightgrass / Aura-Share

Module to share auras in FoundryVTT using the Pathfinder FIRST EDITION system.
3 stars 1 forks source link

Request: use `pf1.utils.measureDistance` for distance calculations if available. #10

Closed bhudnell closed 3 months ago

bhudnell commented 9 months ago
The distance calculation currently used doesnt seem to make it so a single nudge value compensates for weirdness. In my testing these are the nudge values needed at each 5 ft increment: distance nudge value
5 3
10 2
15 1
20 1
25 1
30 1
35 1
40 breaks down

Specifically, theres no way for a single nudge value to correctly grab every square it should.

The pf1.utils.measureDistance correctly measures distance between 2 characters and would fix the problem I think