Closed JoeGans closed 4 years ago
The command you want if SV = 12
!1d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=12]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}}
!macro vang([0-9]+) 1d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=\1]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}} 1
!vang12
Fantastic, works a treat! :o]
Minor tweak, to allow for 2, 3 or more d20's all being rolled together? eg, !macro vang([0-9]+) #d20 ... pass how many d20's get rolled?
Many thanks, Walts
you want to roll several d20s, but for each you want the result?
3d20...
Sucess, Perfect Success, Failure...
or do we sum up the 3 dice ?
Looking for the individual results for each, so three (or more) dice would produce three (or more) results, rather than a single total ... Thanks, Walts
I fixed the issue partially. Still working on it.
Ok
This command works like a charm:
2d20i[<10]{"low"}{i[<15]{"high"}{"very high"}}
I have to test the behaviour with instructions: 2d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=\1]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}}
After that, I will deploy the solution, and the fix will be available in discord.
Thanks Obi, your effort is greatly appreciated! ... Walts
OPP's, sorry about that ... too early in the morning for me! ;) Walts
Hi Guys
I wonder if someone can help with this dice roll dilemma of multiple success/failure levels?
In our game of Trudvang Chronicles RPG, the d20 is rolled against the following ...
... so, I'd like to reflect this in my dice roll, with the SV being passed as a changing parameter number?
Any refs to this at all or suggestions? I'd like the dice roll to display the txt message result, eg "Perfect success" if a 1 or 2 is rolled.
Advice/pointers appreciated ... Walts