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

Rolling with double -

Sheet Author
Hey folks, I try to make an inline roll with x-y where y can be negative. But when y is negative it does not calculate it anymore. Can anyone help me with that problem? Thanks in advance
Sheet Author
Put () around the y section of your macro.  One limitation/quirk of the macro system is that a double plus or minus will break it.  If you wrap it, it will "calculate" that part and either remove the redundant + or treat the - as part of the value so that it doesn't break the macro.  Anything to break up a ++ or -- should work.
Sheet Author
That worked, thanks