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 .
×

Quick Macro Help please

1476640281

Edited 1476640354
Okay so I am currently playing Warhammer 40k black crusade, and I'm currently trying to write a macro for my doombolt power. Can anyone tell me why this is not rolling the d10(s) in the formula and not adding ?{Psy Rating} ? Here is the complete macro so far /em Fires [[ floor((((?{Degrees of success} - 1) / 2) + 1)) ]] doombolts! <--works correctly /em They scream through the air obliterating her rivals! Dealing [[ /roll (floor ((((?{Degrees of success} - 1) / 2) + 1))d10 + ?{Psy Rating}) ]] damage with 8 penetration! <--stops working as soon as it hits "d10" Any help or explanation would be appreciated. At this point I don't mind manually rolling it; its more a matter of not knowing driving me insane. (edit) Tried it without the /roll as well i KNOW you don't need that but I'm just trying anything atm.
Rounding functions need to be nested within inline brackets in order to be used as part of a dice pool. /r [[ floor((?{Degrees of success} - 1) / 2) + 1 ]]d10 [[ [[ floor((?{Degrees of success} - 1) / 2) + 1 ]]d10 ]]
Thank you sir! I am indebted to you for taking the source of my madness away!