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

roll damage on Vampire games

Hi folks, I'm new here, spend quite a lot of time searching but did not find a solution so here am I writing a question :) I'm using roll20 (free) for Vampire dark ages game. I can use the buttons on the sheet to roll attacks (dexterity + Brawl, for instance) I do the [[[[@{selected|Dexterity}+@{selected|Brawl}]]d10sd>6f1]]  and this leads to the number of succeses on the attack. Great! Now I need to roll the damage, that's the number of successes you've got in the previous roll + your strength (+ potentially extra weapon damage)  How do I get the result from the previous roll to the new roll?? I tried with the $[[1]] thing and it works, it transfer the number, but then I get command writen down (like "3d10sd>6f1") instead of being rolled. Any clue on how to get that thing done ??? Thanks !
You'll have to build the whole thing as a single roll that includes both results, and use the 'reusing rolls' trick to display  both numbers.  You can't use the result of the roll in a new roll. Here's a simple example: 2d20 plus dexterity keeping the highest for a roll, and then that is subtracted from 100 for some other output.  You can't do this: [[2d20kh1 + @{dexterity}]].  [[100 - $[[0]] ]] Instead you need to do something like this: [[100 - [[2d20kh1 + @{dexterity}]] ]]. 1st roll is $[[0]] and 2nd roll is $[[1]]. I'm just doing that on the fly (so some of the syntax is probably wrong), and there are others on these forums that are much better at constructing and building roll macros that will get the intended output, even if the coding looks very weird.  It all has to do with order of operations and what functions are built into Roll20. So if I had to quickly try at what you've got, it would be something like: [[ [[[[@{selected|Dexterity}+@{selected|Brawl}]]d10sd>6f1]] + @{selected|Strength} + ?{Weapon Damage?} ]] Attack Roll: $[[1]] Damage Roll: $[[2]]
Jarren K. said: You'll have to build the whole thing as a single roll that includes both results, and use the 'reusing rolls' trick to display  both numbers.  You can't use the result of the roll in a new roll. That only works for Pro users, correct?
1618324993
Andreas J.
Forum Champion
Sheet Author
Translator
More info &amp; examples on the Reuse roll trick: <a href="https://wiki.roll20.net/Reuse_Rolls" rel="nofollow">https://wiki.roll20.net/Reuse_Rolls</a>
Ah, it was the line break that was messing things up for me, then. So, &amp;{template:default} [[([[(@{selected|Dexterity}+@{selected|Brawl})d10sd&gt;6f1]]+[[@{selected|Strength}+?{Weapon Damage|0}]])d10sd&gt;6f1]] {{name=Attack}} {{Attack Roll=$[[0]]success(es)}} {{Damage Roll=$[[1]] success(es)}} Should be what the OP is looking for.
Wow, this is way more responses that what I expected :) The thing is clearly going towards the good direction but there is something not working properly. The first rol is rolled perfectly, asume Dex3, Brawl2, it rolls 5 dice and imagine only 2 dices are above 6. and you end up with 2 successes. Good there is just a sliiiiiight issue hehehe Damage Roll is $[[2]] not 1. the $[[1]] is just&nbsp; [[@{selected|Strength}+?{Weapon Damage|0}]]&nbsp; , the number of extra dice to damage, not any roll. [[2]] is the whole thing and now works PERFECT !!!! Thanks !!!!