Page 1 of 1

Dice Roller Roll low success

Posted: Tue Dec 21, 2021 9:49 pm
by ffilz
Could we have a roll low success?

It would be nice to code say a percentile 45% skill roll as [1d100l45] or Bushido BCS 8 [1d20l8]. Maybe a different letter than l...

Or maybe general success math:

[1d20<=8] or [3d6<=11] or [1d20>=19]

Also any possibility of increasing the limit of 6 rolls per macro?

Re: Dice Roller Roll low success

Posted: Tue Dec 21, 2021 9:58 pm
by dmw71
ffilz wrote: Tue Dec 21, 2021 9:49 pm Could we have a roll low success?
The die roller still falls under the exclusive domain of Greg (ToniXX), so this will be a question for him to consider.
ffilz wrote: Tue Dec 21, 2021 9:49 pmAlso any possibility of increasing the limit of 6 rolls per macro?
Is this still an issue?


Testing now...

Re: Dice Roller Roll low success

Posted: Tue Dec 21, 2021 10:06 pm
by ToniXX
Read the end of the first post on this topic
viewtopic.php?f=2&t=10804
There are now 8 dice expressions allowed per macro.

Regarding your question: let me look at the code and see if I can implement this fairly quickly

Re: Dice Roller Roll low success

Posted: Tue Dec 21, 2021 10:10 pm
by dmw71
dmw71 wrote: Tue Dec 21, 2021 9:58 pm
ffilz wrote: Tue Dec 21, 2021 9:49 pmAlso any possibility of increasing the limit of 6 rolls per macro?
Is this still an issue?


Testing now...
I think the limit is eight.

I just tried the following:

Roll 1: [_4d6c1], Roll 2: [_4d6c1], Roll 3: [_4d6c1], Roll 4: [_4d6c1], Roll 5: [_4d6c1], Roll 6: [_4d6c1], Roll 7: [_4d6c1], Roll 8: [_4d6c1], Roll 9: [_4d6c1], Roll 10: [_4d6c1]

The attempt returned the "err14" message which translates to:
err14 wrote:"more than 8 dice expressions in the macro."

Confirmed.

Rolling the same macro using just eight rolls (instead of ten) worked:

Roll 1: [_4d6c1], Roll 2: [_4d6c1], Roll 3: [_4d6c1], Roll 4: [_4d6c1], Roll 5: [_4d6c1], Roll 6: [_4d6c1], Roll 7: [_4d6c1], Roll 8: [_4d6c1]

Result
Roll 1: [_4d6c1]=(5+5+5)=15, Roll 2: [_4d6c1]=(1+4+5)=10, Roll 3: [_4d6c1]=(5+6+6)=17, Roll 4: [_4d6c1]=(4+6+6)=16, Roll 5: [_4d6c1]=(4+6+6)=16, Roll 6: [_4d6c1]=(2+2+4)=8, Roll 7: [_4d6c1]=(2+2+3)=7, Roll 8: [_4d6c1]=(3+4+5)=12

And got me some nice results!

Re: Dice Roller Roll low success

Posted: Tue Dec 21, 2021 10:25 pm
by ffilz
OK, I didn't see that the limit had been changed from 6 to 8. That's nice, thanks.