manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
39 stars 52 forks source link

[Feature Request] Movement through enemies and terrain #274

Closed GhostwheelX closed 1 year ago

GhostwheelX commented 1 year ago

Some monsters are able to move through terrain and creatures as though they were difficult terrain, even in the case of enemies or hard cover. (One example of such being the wraith's Incorporeal Movement ability from 5e.)

Might it be possible to implement a feature that allows this? Thank you 🙂

manuelVo commented 1 year ago

Just so I'm understanding correctly, which of those options are you requesting specifically?

GhostwheelX commented 1 year ago

Both, separately, would be wonderful, so that you could either use them together or only one of them.

manuelVo commented 1 year ago

The first one is already possible. Install and activate the modules Enhanced Terrain Layer and Terrain Ruler and tweak their settings accordingly and Drag Ruler will apply difficult terrain cost when dragging through other tokens.

The second one is a bit tricky. If I were to add that feature to Drag Ruler, this has the potential to cause inconsistencies in the software, where a regular Drag allows a token to move through a wall while Ctrl+Drag doesn't, for example. So I think allowing certain tokens to move through walls should be implemented in a dedicated module.

GhostwheelX commented 1 year ago

Might there be a way to add a flag for the first one so that you could move through enemies without it appearing as though they're impassable terrain while the effect is active?

manuelVo commented 1 year ago

Foundry doesn't mark enemies as impassable terrain, so I'm not quite sure what you're talking about. Is this possibly a feature of another module you're using or maybe a feature of your game system?

GhostwheelX commented 1 year ago

Ah, it might be a property of Enhanced Terrain Layer, might be better to discuss it on their github if that's the case.