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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
I want to make a macro to count distance between to point which are in different height. This what I got now: /roll ?{Distance?}*2+?{Height?}*2 Can any one help to ad a nth root to the macro?
Keep in mind if you are doing this for D&D 5e, diagonals don't count, so the Pythagorean Theorem is h = greater of (a,b) . Or in plain language: range is the greater of the normal horizontal range, or the difference in altitude.