ulrikL
ulrikL
That should work. I played around a bit with the code but I'm not sure if my test was a good solution
@shdwjk I have provided a few commits for dealing with very high difficulties and preventing push in a pull request. What do you think about the changes, are they good...
Add a difficulty dice inline roll part of the script. If the scripts are called with a following solution it handles the difficulty dice correctly. "!myz [[(?{skill}-?{diff})d6]] [[1d6]] [[1d6]] [[(?{diff}-?{skill})d6]]"...
@shdwjk Are these good enough or do you want them done in a different way?
I'm trying to understand your code, could you provide some hints so I can investigate how to do "negative" dice?
Is it possible to detect negative number of dice in the myz script?