Rolisteam / DiceParser

Powerful dice Roller is used as discord bot, irc bot, cli tool and inside Rolisteam : 1d20+4, 1L[head,arm,leg,belly,chest], 1d6+1d8, 8+5*3
http://www.rolisteam.org/
GNU General Public License v3.0
125 stars 31 forks source link

Discord: broken examples in HelpMe.md #40

Closed Hermesiss closed 5 years ago

Hermesiss commented 5 years ago

I have tested in Discord all examples (except really large ones) from https://github.com/Rolisteam/DiceParser/blob/master/HelpMe.md Some are broken

obiwankennedy commented 5 years ago

for this one: 8d10;$1c[>6];$1c1;$2-$3i:[>0]{"%3 Success[%2]"}{i:[<0]{"Critical fail %3 [%2]"}{"Fail %3 [%2]"}}" it is just an extra " at the end.

obiwankennedy commented 5 years ago

For "4d6e6u6k3", it is a mistake because u operator does not take any parameters so the command is just: "4d6e6uk3"

But I will change the operator to y, and u operator will remove all dupplicates

obiwankennedy commented 5 years ago

For the Occurence, the job is working in the occurence branch but I did not merge it. So I just have to do that to make it work.

obiwankennedy commented 5 years ago

You can try now, the o operator should work fine.

By the way, you should change your git credential, because rolisteam is now a kde project, and kde requires commit to have real name. The author name of your commits is "Alex", it is better to set "Alex H" or something. I personnally use "Renaud G." and it is enough.

Hermesiss commented 5 years ago

Everything is working now