aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/cli.pri
diff options
context:
space:
mode:
authorRobin Moussu <robin.moussu+git@gmail.com>2018-04-08 07:50:54 +0200
committerRobin Moussu <robin.moussu+git@gmail.com>2018-04-08 07:50:54 +0200
commit0ca59c3eb254d5d2650948e3f72662678290d633 (patch)
treea63f2396c3c7757018714443d47169241a8a8275 /cli/cli.pri
parent5037bbc102fec39fbdef810427c31cb0a1722709 (diff)
downloadOneRoll-0ca59c3eb254d5d2650948e3f72662678290d633.tar.gz
OneRoll-0ca59c3eb254d5d2650948e3f72662678290d633.zip
Fix diceToText function() when multiple commands are involved
Currently their is no space between expressions in the breakdown of the dices. Example: 2d6;3d4*10;4d20*100 Current result (notice the absence of space between the '4' and '1', and between the '3' and '17'): Result: 8,50,4300 - details:[2d6;3d4*10;4d20*100 (4,41,1,317,15,8,3)] New result: Result: 10,80,4300 - details:[2d6;3d4*10;4d20*100 (4 4 - 1 1 3 - 17 15 8 3)] NB: I used space instead of coma, since it's look better with conditions Example: 2d6a[>3];3d4a[>2]*10;4d20a[>10]*100 Current result (notice the abscence of space after each ']') 8,[5,3],10,[4,6]7,[4,3],1,6,[3,3]3,33,[17,16],10,22,[14,8] New result: 8 [5,3] 10 [4,6] - 7 [4,3] 1 6 [3,3] - 3 33 [17,16] 10 22 [14,8]
Diffstat (limited to 'cli/cli.pri')
0 files changed, 0 insertions, 0 deletions