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

Macro help request

I need a macro that will work as follows: A roll of 2-7 on a d20 will display as 8 Thanks!
1482118503
Tetsuo
Forum Champion
[[{[[1d20]], 8}kh1]] will display an 8 on 1-7. You could create a table with the entries 1 8 9 10 11... etc and give the eight a weight of 7 to replicate a 20 sided die where 7 sides equal 8, then roll [[1t[table-name] ]]
Is there any way to do it without the table?
Soft said: Is there any way to do it without the table? /r {1d20, 8 + 0d0}kh1 or [[ {1d20, 8 + 0d0}kh1 ]] as  Franky H. suggested.
Let me rephrase.  Is there any way to have a roll of 1 be a 1, while having 2-7 be 8?  Unfortunately that's what the game mechanic uses and I'm not the GM so i can't make a table.
1482129883

Edited 1482133718
The way I see it, here are the options you have: Use one of macros above, relying on roll highlighting (red on a natural 1) to indicate that you must mentally subtract 7 from the macro output. Ask your GM to  create a Rollable Table to the specifications provided by Franky H. Write or request an API Script to handle rolls. (Access to the API is available only in games in which the game's Creator currently has an active Pro subscription.) Use math to emulate a die roll, e.g. /r 1 + {[[d19cf0]], 7}kh[[d20>2cs0]] or /r 1 + {d19cf0, 7+0d0}kh[[d20>2cs0]]
thanks for your help ;)