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

Torchbearer Beginners Luck Macro

Does anyone know if it's possible to enter in an amout of dice, then the macro divides it in half and rounds up? And also add dice to that roll that don't get divided? Thanks for any help.
1484749618
The Aaron
Pro
API Scripter
Are you talking about something like this: [[ [[(ceil( ?{dice}/2)+?{bonus dice|0})]]d6 ]]
1484750643

Edited 1484750664
Yeah that's great thanks. Do you know how I would place it within the standard roll macro we use? &{template:default} {{name=?{Skill/Attribute Name}}} {{Successes=[[?{Number of Dice}d6>4}}]]}}{{Obstacle=[[?{Obstacle}!}]]}} Thanks for your help.
1484752100

Edited 1484752113
The Aaron
Pro
API Scripter
Something like: &{template:default} {{name=?{Skill/Attribute Name}}} {{Successes=[[ [[ ceil(?{Number of Dice}/2) + ?{bonus dice|0} ]] d6 >4}}]]}}{{Obstacle=[[?{Obstacle}!}]]}}
Yeah, thanks for that!
1484757064
The Aaron
Pro
API Scripter
No problem!  Happy Rolling!