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

Macro Help

Here is the macro: [[1d8+@{Dyrk|wisdommod}+floor(?{Spell Slot Level|}-2)d8]] Here is what it outputs: (3) + 5 + floor(4-2) The "d8" just disappears. This is a spell that increases in damage every two levels. I am trying to make it so that I can just put it in the spell level and it will automatically calculate the damage. The macro works fine without "floor()", but once I put that in there the d8 at the end just started to not show up. Any tips?
1424584101
Lithl
Pro
Sheet Author
API Scripter
You can't use any functions for calculating the number of dice to roll. However, the number of dice is automatically rounded to the nearest whole number (0.5 rounds up). If you need floor() functionality, subtract 0.5 from the calculation.
So do -2.5?