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

Multiple drops

I am working on a sheet in which the system invokes multiple drops; effectively, there are three sources of drops from a roll: two attributes and a query variable. I'm aware i can drop-lowest-and-keep-highest to get two bites at the apple, but... putting dl@{attribute1}dl@{attribute2} gets rejected by the system. putting dl(@attribute1}+@{attribute2}) causes the parser to die a horrible death and tell me that XdYdl(R+S) = X. short of ballooning a matrix of quasi-variables such that @{attribute3} = @{attribute1}+@{attribute2}, is there a way to make this work?
1556939837
Finderski
Plus
Sheet Author
Compendium Curator
I believe you're going to want to look at Group Rolls . I'm not sure I fully understand what you're trying to do, but try something like this: /r {@{attribute1},@{attribute2}}dl
That would... drop an element from the group of attributes. What i'm trying to do is XdYdl(R+S). In full words: The dice pool for the roll is equal to the sum of two attributes; @{attribute} and @{bonus}. the system uses d6s. When you've made the roll, drop the lowest @{bonus} dice. Also drop @{penalty} number of dice. And you may have additional penalties assigned at roll time from ?{Dice Penalty|0}
1556941586

Edited 1556953679
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
How about: /r [[@{selected|attribute}+@{selected|bonus}]]d6dl[[@{selected|attribute1}+@{selected|attribute2}+?{Dice Penalty|0}]] This is XdYdl(R+S+penalty query) Due to the nature of dice macros, this all has to be rolled at once, of course, so the penalty needs to be assigned before the dice are rolled. I needed to add "selected" to make this work, but it if is a token macro, that shouldn't matter. If all players need access to it, make it a macro in the collections, set to usable by All Players, and click Token Macro.
1556947040
GiGs
Pro
Sheet Author
API Scripter
If I understand what you're after, I think you'll need to use a script. here;s is what I think you want, correct me if I'm wrong: Take two attributes and any bonus dice, roll them together, Drop a number of low rolling dice equal to bonus (or keep high dice equal to the two stats) Also drop dice equal to any total penalty In step 2, you throw away low dice rolls. In step 3, do you throw away high rolls or low rolls? if low rolls you can use something like: (@{attribute1}+@{attribute2}+@{bonus}}d10dl[[@{bonus}+@{penalty}+?{Extra Penalty Dice|0}]] You have to be careful also to make sure the dl doesnt exceed the actual number of dice, which adds extra complication. maybe something like this (untested): (@{attribute1}+@{attribute2}+@{bonus}}d10dl[[{@{bonus}+@{penalty}+?{Extra Penalty Dice|0},@{attribute1}+@{attribute2}+@{bonus}}kl1]] If on the other, you drop high dice in step 3, I think you can only do this with a script.