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

Any way to set up a "minimum dice result"?

March 16 (11 years ago)

Edited March 16 (11 years ago)
Playing in a campaign where I've acquired a weapon with a "proven" special rule. Basically proven adds reliability to damage rolls. Proven 2 for example means all damage rolls under a 2 become 2. Proven 3 makes all rolls under a 3 become 3.

The formula for weapon damage without the proven portion so-far is:
/roll floor(2d10+[[@{Willpower}/10+@{Psy Rating}]])

I don't even know if this is possible, but what I'm looking for is a way to update this so that the 2 D10 rolls upgrade any rolls of 1 to a 2. And I need ones that would work for Proven 3 (1 and 2 results become 3) and Proven 4 (1, 2 and 3 results become 4) as well
March 16 (11 years ago)
[[{2d1, 1d10}KH1 + {2d1, 1d10}KH1 + floor(@{Willpower}/10) + @{Psy Rating}]]

or

/roll {2d1, 1d10}KH1 + {2d1, 1d10}KH1 + floor(@{Willpower}/10) + @{Psy Rating}

There you go.
March 16 (11 years ago)

Edited March 16 (11 years ago)
Just replace the 2d1 with the Proven # value. So Proven 3 would be 3d1, etc.
March 16 (11 years ago)

Edited March 16 (11 years ago)
Worked like a charm, thank you very much
Devs/moderators, may I suggest this method be added to the dice reference wikii? This is a great example of how to re-roll 1s which is a pretty common mechanic.
March 18 (11 years ago)

Mark G. said:

Devs/moderators, may I suggest this method be added to the dice reference wikii? This is a great example of how to re-roll 1s which is a pretty common mechanic.


Could you elaborate? Rerolling 1s is just a normal reroll. Are possibly saying this could be used to reroll 1s only once?
Precisely. Rerolling 1s is easy. Doing it only once is not. I've seen this come up a few times in forums for D&D 4e and NEXT, and it seems a common enough mechanic to make mention of this method.

March 19 (11 years ago)
Lithl
Pro
Sheet Author
API Scripter

Mark G. said:

Devs/moderators, may I suggest this method be added to the dice reference wikii? This is a great example of how to re-roll 1s which is a pretty common mechanic.
Anyone can edit the wiki. Why don't you add it? =)
March 19 (11 years ago)

Mark G. said:

Precisely. Rerolling 1s is easy. Doing it only once is not. I've seen this come up a few times in forums for D&D 4e and NEXT, and it seems a common enough mechanic to make mention of this method.


This method does not re-roll... it just sets the minimum roll...
Just to add something. The formula Honeybadger posted worked like a charm, but my GM complained that it was a bit spammy in the chat box. Especially on the max-power version of the weapon which was essentially:
/roll {4d1, 1d10}KH1 + {4d1, 1d10}KH1 + {4d1, 1d10}KH1 + {4d1, 1d10}KH1 + floor(@{Willpower}/10) + @{Psy Rating}
If you run this macro it basically fills over half the chat box with numbers. I fixed this by inlining(?) each section to clean it up:
/roll [[{4d1, 1d10}KH1]] + [[{4d1, 1d10}KH1]] + [[{4d1, 1d10}KH1]] + [[{4d1, 1d10}KH1]] + [[floor(@{Willpower}/10) + @{Psy Rating}]]

This may seem obvious to many here but remember that Im a noob at this so I was pretty proud when I figured it out :P
March 30 (11 years ago)
Lithl
Pro
Sheet Author
API Scripter
Alternatively, you could inline the entire thing, as HB posted: [[{2d1, 1d10}KH1 + {2d1, 1d10}KH1 + floor(@{Willpower}/10) + @{Psy Rating}]]
That works too, but inlining each section allows the players and GM to see the results of each individual "roll" so to speak, which is better for transperancy
March 31 (11 years ago)
You can always mouseover the inline roll to see what was rolled.
March 31 (11 years ago)
GiGs
Pro
Sheet Author
API Scripter
When you mouseover to get the entire thing, it will look confusing to people who aren't intimately familiar with roll20 syntax. Separating it into separate inline rolls as Deloth has seems like a very presentable approach. It's the method I would use.