Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Dependent variable macro help needed (3.5)

I have a macro that I just can't wrap my head around for the life of me. The creature is trying to fling the grappled creature x feet, for x damage. So what I want from the macro is to show how far the creature flings the other. So "[[1d6*10]] feet", but I also want it to then show the damage that would result from the distance thrown which would be 1d6 per 10 feet. So something like this... [[1d6*10]] feet for [[(1d6)d6]] damage but the (1d6) roll needs to mimic the first roll that determined the distance. Any thoughts?
1453169328

Edited 1453169629
It's unfortunately not possible to reference the results of an inline roll within a single macro without the assistance of an API Script (access to the API is limited to games that have a Creator with an active Pro subscription). Without API assistance, I can see two options: 1. "Two-step" approach ( Ability macro; uses API Command Buttons ) The foe flings you [[1d6 * 10]] feet! [Roll Damage](!
You take [[ [[floor(?{Feet traveled|10|20|30|40|50|60}/10)]]d6 ]] damage!) 2. "Inferred result" approach You take [[ [[1d6]]d6 [Multiply the number of dice rolled by 10 to get distance traveled.] ]] damge!
Ah that's a shame. Thanks for the assistance!