wsaunders1014 / ShowDragDistance

Shows distance you dragged the token, similar to pressing ctrl.
10 stars 13 forks source link

Pathfinder requires the speed variable to be divided by 5 #45

Closed DrMcCoy closed 3 years ago

DrMcCoy commented 3 years ago

With the Pathfinder module, the (land) speed attribute actor.data.data.attributes.speed.land.total is in feet, not in squares. Using that value in ShowDragDistance makes a, say, a Dwarf with a speed of 20" (4 squares) show the dash color at 20 squares instead.

An easy fix would maybe be adding a "speed divisor" variable to ShowDragDistance (defaults to 1), a more complex solution would involve the making the speed attribute config be a formular instead of a variable reference (so I could make it "actor.data.data.attributes.speed.land.total/5").

DrMcCoy commented 3 years ago

Ignore this issue, that's actually a user error, sorry about that :P

The speed is changeable and does not come, as I assumed, from the race/class packs. It's just that in Firefox, you need to click on the cell inner border, not on the number (a glitch that's apparently already know).