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 50 forks source link

Speed Attribute formulas #307

Open erron00 opened 7 months ago

erron00 commented 7 months ago

Would really like the ability to combine attributes to get the Speed Attribute.

As an example you can use in my system, actor.data.data.attribute.agility.value for the Speed Attribute OR actor.data.data.skill.move.value but it would be beneficial to be able to enter "actor.data.data.attribute.agility.value+actor.data.data.skill.move.value" to get a total value.

This is possible in other modules like Monks Token Bar where you can have it display a total of attribute.agility+skill.move.value

manuelVo commented 7 months ago

Have a look at the DragRuler API. Using that API you can adjust Drag Ruler's behavior from within other modules (or game systems), allowing you to do the thing you're asking (plus more options for fine-tuning, if you'd need that)

erron00 commented 7 months ago

Appreciate the quick reply. This is beyond my skill level unfortunately. Ill work without it, all good :)

manuelVo commented 7 months ago

Writing a simple module is fairly easy. I'm sure you'll be able to pull it off with a little help from experienced folk. The Introduction to Module Development should help you get started. If you 're stuck, the official Foundry Discord Server and the Discord server of the League of FoundryVTT Developers usually have lots of people lurking around that are willing to help.

erron00 commented 3 months ago

Hi manuelVo, i gave it a shot but its beyond me unfortunately. Any chance you could add this functionality for a good donation? :)