Slight changes

This commit is contained in:
Nox Sluijtman 2022-08-21 19:15:03 +02:00
parent 7c3be83dd0
commit 670bbcd8ac

View file

@ -1,20 +1,20 @@
#compdef dice dice-roller
arguments=(
'(--advantage --disadvantage --attacks)-a=[Roll a set rules multiple times]:(number of attacks)'
'(--advantage --disadvantage -a)--attacks=[Roll a set rules multiple times]:(number of attacks)'
'(--coin --advantage --disadvantage --attacks)-a=[Roll a set rules multiple times]:(number of attacks)'
'(--coin --advantage --disadvantage -a)--attacks=[Roll a set rules multiple times]:(number of attacks)'
'(--advantage --disadvantage -throws)-c=-[Specify amount of dice to cast]:(number of dice)'
'(--advantage --disadvantage -c)--throws=-[Specify amount of dice to cast]:(number of dice)'
'(--coin --advantage --disadvantage -throws)-c=-[Specify amount of dice to cast]:(number of dice)'
'(--coin --advantage --disadvantage -c)--throws=-[Specify amount of dice to cast]:(number of dice)'
'(--advantage --disadvantage --surfaces)-s=[Use to specify die surfaces]:(number of surfaces):(4 8 10 12 20 100)'
'(--advantage --disadvantage -s)--surfaces=[Use to specify die surfaces]:(number of surfaces):(4 8 10 12 20 100)'
'(--coin --advantage --disadvantage --surfaces)-s=[Use to specify die surfaces]:(number of surfaces):(4 8 10 12 20 100)'
'(--coin --advantage --disadvantage -s)--surfaces=[Use to specify die surfaces]:(number of surfaces):(4 8 10 12 20 100)'
'(--modifier)-m=[Add modifier to result of rolls]:(number to add)'
'(-m)--modifier=[Add modifier to result of rolls]:(number to add)'
'(--coin --modifier)-m=[Add modifier to result of rolls]:(number to add)'
'(--coin -m)--modifier=[Add modifier to result of rolls]:(number to add)'
'(--advantage -c --throws -a --attacks)--disadvantage[Roll 2d20 and take the lowest value]'
'(--disadvantage -c -a --throws --attacks)--advantage[Roll 2d20 and take the highest value]'
'(--coin --advantage -c --throws -a --attacks -s --surfaces)--disadvantage[Roll 2d20 and take the lowest value]'
'(--coin --disadvantage -c -a --throws --attacks -s --surfaces)--advantage[Roll 2d20 and take the highest value]'
'(--disadvantage --advantage -a --attacks -s --surfaces -m --modifier)--coin[Toss coin, same as -s 2]'
)