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 .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

Expanding on Macro/Roll Possibilities

1377293178

Edited 1377293182
1d10e(1d4-1) 1d20e(@{health}/10) 1d100e(2+2) I notice that the "e" function only accepts direct values. Perhaps, it could be reprogrammed to accept an equation, so that rolls such as those listed above could be possible. _____ Additionally, perhaps an if, then function could be added. Or if that is too much, even just a if success, then. This could allow for actions that have different consequences for passing or failing. example: /r 1d20+@{Intelligence} ifsuccess{/r 1d20+?{Health Burn}} ifnosuccess{/r 1d20+@{Consitution}} ____ And the last suggestion that would open a wide array of possibilities is saving the last value of a roll as a variable Ability 1 A=(/r 1d20+@{Strength}) Ability 2 /r 1d20+@{Strength}-@{Ability 1:A}
1377294610
Gauss
Forum Champion
Your first suggestion can already be done via inline rolls.  1d10e[[1d4-1]] 1d20e[[@{health}/10]]  (Note: Will need a floor or ceiling in order to prevent fractions) 1d100e[[2+2]] - Gauss
Perhaps there is already a way to do this but I have not found it so forgive me my newness. Why is the macro bar so clunky? can't I reduce the size of the buttons or perhaps have them represented by icons?
What is the "e" function?  I'm not familiar and can't seem to find it in the dice reference.
it's used to increase the digits in a number 7e1=70 7e3=7000 etc.