Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[nWoD] Is there a way to subtract dice from a roll in the Dice Engine?

i t may seem like an odd request, but hear me out. =) in nWod, dice rolls are modified by adding and subtracting dice.  so, a good gun may give you +2 to the roll, adding two dice.  but foggy weather may make aiming hard and give you -3, subtracting 3 dice.  the overall result would be a -1 die to the roll. is there a way to represent that in the dice engine? right now i can simulate bonuses quite well.  i give every character an Attribute called "Mod."  the character gets a token, and one of the token bars is associated with the Mod attribute.  so if i need do adjust the bonus on the fly, i can quite easily, and the character Ability macros all include rolling Mod. the problem is, this only works for bonuses, or positive numbers.  it doesn't work for 0 (which it treats as 1) and doesn't work for negative numbers, or penalties. it would be great if i could subtract dice from macros somehow. thanks!
1361246172
Gauss
Forum Champion
The 0 bug should be fixed now. If you are currently in a game hit refresh. Regarding the number of dice you can do that by grouping modifiers. Example: /roll (@base+@gun-@weather)d10  If @base is defined as 5, @gun is defined as 2 and @weather is defined as 3 you get: /roll (5+2-3)d10 4d10 will be rolled. - Gauss
oh! interesting!  thanks, i'll have to give that a go! =D *edit* nice! i played around with this and it works great.  it would be nice, though, if it could handle negative numbers. now what i do is have two additional Attributes, PosMod and NegMod. so my formula looks like: (@Att1+@Att2+@PosMod-@NegMod)d10 this way i can add both positive and negative modifiers to a roll. and since both accept 0 value i can still use it for a base roll. if it could handle negative numbers, though, i could do it with just one modifier, like so: (@Att1+@Att2+(@Mod))d10 and it would add the negative number, and hence subtract the appropriate amount of dice. just a thought, though. the current system, while requiring a couple of additional steps, does allow for better bookkeeping and lets the engine do more of the math. =) thanks again! =D
1361259330
Gauss
Forum Champion
We noticed the negative number issue (thanks to your earlier post and when I went to test things) and Eric should be fixing it. I will find out if and when the fix will be in. - Gauss