Skip to content

Releases: caewok/fvtt-elevation-ruler

Distance and Speed Highlighting Improvements

30 Jan 01:52
Compare
Choose a tag to compare

Improvements to calculating distance on a grid. Improvements to splitting ruler segments when highlighting based on token speed. Closes issue #35. Improvements to treating tokens as difficult terrain for purposes of token speed highlighting.

Added a "hiking boot" displaying token movement distance in the ruler when difficult terrain is encountered (tokens or from Terrain Mapper module).

Full Changelog: 0.8.1...0.8.2

Bug fixes to pathfinding

22 Jan 21:52
Compare
Choose a tag to compare

Fix toggling pathfinding between waypoints.
Various fixes to display of ruler for other users.
Fixes for display of distance calculations between waypoints.
Possible fix for issue #33 (undefined token.bounds).

Full Changelog: 0.8.0...0.8.1

Pathfinding

21 Jan 00:59
Compare
Choose a tag to compare

Added pathfinding toggle. Pathfinding works on gridded (both hex and square) and gridless maps. Works when dragging tokens, if Token Ruler is enabled, or when using the Ruler control and you start at a token.

To benchmark pathfinding in a scene:

api = game.modules.get("elevationruler").api;
api.pathfinding.benchPathfinding();

Refactored movement highlighting to work better with pathfinding.

Full Changelog: 0.7.8...0.8.0

Token dragging origin/destination tweaks

10 Jan 21:22
Compare
Choose a tag to compare

More tweaks to how token origin and destination are set when dragging so that the token movement follows the position of the cloned dragged token. Revisits issue #30.
Fix issue where token dragging cannot move to the adjacent space. Closes issue #32.

Tokens as difficult terrain

10 Jan 16:24
Compare
Choose a tag to compare

Allow GM to move tokens using the ruler regardless of obstacle. Closes issue #27.
Cancel the ruler when canceling the drag. Closes issue #28.
Add setting to treat tokens as difficult terrain. Closes issue #29.
Force the ruler to use the center of the (dragged) token. Closes issue #30.
Fix error message re setting when using Levels. Closes issue #31.

Import file fix

08 Jan 21:56
Compare
Choose a tag to compare

Fix incorrect Ruler.js import. Closes issue #26.

Unsnapping the Ruler

08 Jan 18:52
7ac6276
Compare
Choose a tag to compare

Fix for pause/unpause game not working due to conflict with token move using spacebar.
Add handling for unsnapping from the grid. If shift is held, unsnap ruler waypoints and destination. If measuring from a token, set the origin point of the ruler to the (possibly unsnapped) token center.
Fix incorrect case on Ruler.js. Closes issue #25.

Token Ruler and Token Speed Highlighting

08 Jan 02:23
Compare
Choose a tag to compare

Add option to enable a Token Ruler when dragging tokens.
Add option to use a token speed attribute to highlight in differing colors when using the ruler (from a token) or dragging tokens.

Update shared code

03 Jan 19:09
Compare
Choose a tag to compare

Updated lib-geometry to 0.2.12.
Refactor to use Patcher class.

Updated geometry lib

01 Jul 22:49
Compare
Choose a tag to compare

Updated lib-geometry to 0.2.2.