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

Problem creating a macro for Lay on hands on the Character Sheet.

1542557857

Edited 1542557882
Greetings, I am currently trying to create a macro for lay on hands on a 5th level paladin. He should have 2d6 when he heals. My problem is that its always outputting a pair(2,6,etc...). This tells me that its multiplying 1d6 times 2 instead of replacing that 1 for a 2. What I do is: go to the Character sheet (Pathfinder community one) Access abilities tab. Go to class features. Go to Attack and Damage. Type in this formula in the damage(b) section: [[floor(@{level}/2)*d6]]. I have tried  [[floor(@{level}/2)d6]] Which is basically the same but without the * and it just outputs 2.
1542558618
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I'm not familiar with the sheet, but try: [[ [[ floor(@{level}/2) ]] d6]] I believe you need to resolve the number of dice before the rest of the expression.
keithcurtis said: I'm not familiar with the sheet, but try: [[ [[ floor(@{level}/2) ]] d6]] I believe you need to resolve the number of dice before the rest of the expression. Your Absolutely right, it solved my the problem! Thank you Keith.