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

Rolling a dice inside a dice to determine dice... or Iaijutsu Focus Macro Help. (D&D 3.5)

Is there any way to have a macro call upon another macro that rolls a skill check, then consults another macro for a specific number of d6, which then move into the main macro? somthing Like -Roll 1d10+x+ #IF 1d10 being a weapon, x being strength. IF being -roll 1d20+s s being skill modifier (ranks, cha, etc) where it calls on another macro, or in the same macro ... if the result is 10 to 14 its 1d6, 15 to 19 2d6, 20 to 24 3d6 and so on....
1389045366
Pat S.
Forum Champion
Sheet Author
That would require the API (mentor level subscription) more than likely.
HMm... After a Bit I managed to figure out a N equation ceil((X-9)/5) Should work from 10-55 is there any way to cap it at 54? or to have 55+ be the same as 54 or a specific number? What about less than 10? So Far I have #IF = [[d20+10]] #IFdmg = /roll ceil((#IF -9)/5) Is there any way to place the number as d6? (#IFdmg)d6 doesnt work.
1389048576
Gauss
Forum Champion
(#IFdmg)d6 doesn't work because you are asking it to do: (/roll ceil((#IF -9)/5))d6 Try this: #IF = d20+10 #IFdmg = [[ceil((#IF -9)/5)]] /r (#IFdmg )d6
thanks gauss, It worked :P
allright, this has been resolved in another thread I posted in another forum. If anyone wants to know it ended up as this: /Roll 1d10+3+[[{{(floor((1d20+20-10)/5))+1,1d1-1}kh1, 1d1+8}dh1]]d6