GithubHelp home page GithubHelp logo

caewok / foundryvtt-drag-ruler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manuelvo/foundryvtt-drag-ruler

0.0 0.0 1.0 414 KB

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them

License: MIT License

JavaScript 97.46% HTML 2.54%

foundryvtt-drag-ruler's People

Contributors

argonius-angelus avatar boltsj avatar brothersharper avatar caewok avatar carnvanbeck avatar chrisesharp avatar drdwing avatar grygon avatar irbian avatar lozalojo avatar lozanoje avatar maclavell avatar manuelvo avatar zeteticl avatar

Watchers

 avatar

Forkers

bobsson

foundryvtt-drag-ruler's Issues

No longer seeing drag ruler functionality with speed provider, and combat history tracking

I have the drag ruler fork installed, alongside the original drag ruler installation, elevation ruler, libruler, libwrapper, socketlib, pf2e drag ruler integration, enhanced terrain layer, and terrain ruler.

Before today i had all those installed (minus the fork and elevation ruler) and active until i downloaded the drag ruler fork which seems like it merged into the existing drag ruler module. With all those modules on within foundry it seems drag ruler doesn't provide any of its normal functions like measuring speed and displaying the color changes when you reach certain threshold, it no longer remembers the combat tracking history of where the token has gone this turn (these settings are of course being enabled in module settings). After toying with deactivating and reactivating modules in different orders, it seems whenever libruler is active it turns off the drag ruler functionality and stops measuring rough terrain, stops measuring speed, and showing combat history movement. This ofc means elevation ruler can not be active either.

Do i have too many modules on? did i do something wrong in the installation process?

Colourscheme from Pathfinding Ruler being used instead of Drag Ruler

Sticking with your libruler forks for both these modules, simply because the interaction is fantastic. One thing I noticed, that isn't really a huge issue, is that the Drag Ruler functionality keeps the purple colouring of Pathfinding ruler instead of going to the green/yellow/red. Turning off pathfinding (but keeping the module active) does the same thing just without pathfinding.

Disabling Pathfinding Ruler doesn't seem to help, but disabling Libruler DOES, so might be an interaction there. I tried to prioritise Drag Ruler in libwrapper but that didn't help either.

Foundry 9.242

Check compatibility of dragRuler API/macros

Example:

const combat = game.combats.active;
const combatant = combat.turns[combat.turn];
combatant.actor.unsetFlag('pf2e', 'actions');
dragRuler.resetMovementHistory(combat, combatant._id);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.