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

Hackmaster style penetration - not quite right?

When rolling dice, some weapons have a negative modifier for damage.  For example 1d4-1 for a dagger.  The minimum damage from the roll is supposed to be 1.  I've found the way to do this using roll20: /roll {1d4!p-1,1+0d0}d1 Naturally this is somewhat unwieldy for players to type / enter into the custom character sheet I'm making. Question: Is there a simpler syntax that will accomplish the same thing?  Why is the restriction there that you have to add a fake 0d0 die roll?
You could have a master sheet the players can copy/paste from. Also, you don't need a d0, in place of 1+0d0, why not just use a d1? So your entire command would be: /roll {1d4!p-1,d1}d1
Brilliant.  I didn't know d1 would work!  It looks a lot like the "drop 1" syntax.  But I just tried this and it works: /roll {d1,d1}d1 Obviously you always get "1" as the answer :)
1602533526
GiGs
Pro
Sheet Author
API Scripter
You could create a macro with a name like d4, and the text /roll {1d4!p-1,d1}d1 Make you set it as Visible to All (when you are creating the macro, you might need to scroll down to see the visibility setting). Then the players just need to type #d4 and hit enter, and the above will be pasted into chat and rolled.
1602533717
GiGs
Pro
Sheet Author
API Scripter
Bruce C. said: Why is the restriction there that you have to add a fake 0d0 die roll? The reason for this is that when using expressions like {something, something}d1 The items inside the curly brackets must be the same 'type'. If one is a die, all must be dice. If one is a number (not a roll), then all must be numbers. So, since you have a die (the d4 string), the other 'number' must also be a die, and 0d0 tricj is just that - a ruse to trick roll20 into treating that number as if it were a die. d1 does the same thing. It's always the same number, but since it's a die, it doesnt break the expression.