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

[Question/BUG] Problem with Macro

Hey Guys, I'm having a problem with a macro i'm trying to get to work. /em emits healing life into @{target|token_name}'s body. HEAL ROLL = [[2d8+2]] + [[[?{Cast at Spell Level} * 2]d8]] This is the output I get, which I found strange: Anyone have a clue how to get this to work? Thanks, Casey
1397001172

Edited 1397001372
Gauss
Forum Champion
I am guessing you intend the roll to be: 2d8+2+(?{Cast at Spell Level}*2)d8 First thing I see is you are using brackets [] instead of parenthesis () around the ?{Cast at Spell Level}*2 part. Parenthesis should be used, single brackets tell the dice roller to ignore what is inside as text (something to be passed through rather than acted on). Second, I am not sure if you want both calculations to be added together or if you want them separate like currently presented. If you want them added together and then presented use the following: HEAL ROLL = [[2d8+2 +(?{Cast at Spell Level}*2)d8]]