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

Number of Dice Rolled Determined by Abilities

Hey guys. Apologies if this has been covered already, I've been searching, but frankly I have a tenuous grasp on the macro language at the best of times! I'm trying to set up a macro for my Pathfinder Paladin's Lay on Hands ability, She's level 5, and this is as far as I've got: /gr [floor(@{Level}*0.5)]d6 As you can see, I'm trying to get it to roll Half-my-paladin's-level-rounded-down...d6. However this macro keeps rolling 1d6. I'm 100% certain there'll be an obvious answer to this, but I'd never be able to uncover it. Thanks guys!
1391646547
Gauss
Forum Champion
When using inline elements you need two pairs of square brackets rather than one. One pair of square brackets is a commented out statement. Corrected version: /gr [[floor(@{Level}*0.5)]]d6