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

2d10 Crit Calculations

1452509223

Edited 1452509366
I'm sorry if this has already been posted but it's obscure enough I'm not sure a search would have produced the answer. Long story short: I'm running D&D 5e but I want to use 2d10 as the die mechanic instead of 1d20. The reasoning is that I'd like to have a bit more emphasis on character skill and less crit/fumble odds as you can see when you plot the difference at  anydice . I'm wondering if someone can create an API that calculates crits and fumbles based on die roll totals instead of individual die results. Since I'm thinking weapon break on a fumble (snake eyes; 1 & 1) and Lingering Effect (as per the DMG rules) on a crit (10 and 10), I'm fine with a 1% chance (2 or 20 on 2d10). As a further request, maybe allowing an optional mechanic for barbarians, champion fighters, and/or half-orcs who benefit from crits to have higher odds than the default. I have enough programming knowledge to decipher attributes, just not entire programs. :( Thanks to anyone willing to help out the programming illiterate!
Most of what you asked for is already in the dice engine.   Roll templates can add additional functionality, especially with helper functions.
1452515780
The Aaron
Pro
API Scripter
@Ben, what sort of an interface are you hoping to see for this?  
1452517343

Edited 1452517473
You can do this with powercards already. There's even a way to use a roll query instead of 2d10 to handle advantage and disadvantage. It's not shown here however. Just replace 2d10cf2cs20 with ?{Attack Type|Standard, 2d10cf2cs20|Advantage, 4d10kh2cf2cs20|Disadvantage, 4d10kl2cf2cs20} !power {{ --name|Long Sword --leftsub|Melee --rightsub|Reach 5 ft. --Attack:| [[ [$Atk] 2d10cf2cs20 + 3 [Str Mod] ]] vs AC --Damage:| [[ 1d8 + 3 [Str Mod] ]] slashing damage -- ?? $Atk == 2 ?? Critical Fail:|You critically missed! -- ?? $Atk == 20 ?? Critical Hit:|You critically hit! }}
To further expand on that... you could replace the critically hit message with a link to a table and have it automatically roll on a lingering effects table [[ 1t[LingeringEffects] ]] or something like that.
Thanks for the response! Making a Lingering Effects table is a good idea - I'll do that. My problem is that [[2d10cf2cs20]] only highlights red if either of the die results are a 2 (still shows plain on a die result of 1), and will never highlight in green as it's impossible to get a result of 20 on a d10. It's the die results being highlighted as red or green on a total result of 2 and 20 respectively that I'm looking for. Sorry that wasn't very clear in my original request. I have heard of the power cards API so I'll check that out. Unfortunately my programming literacy is almost nill so I get overwhelmed pretty easily.
1452555732

Edited 1452555978
The inline roll [[ 2d10cs>2cf<9 ]] will highlight red on 2, green on 20, and blue on any other number. I recommend {2d10cs>2cf<9, 2d10cs>2cf<9}kh1 and kl1 for advantage and disadvantage, respectively.
Ah, yeah... Silvyre has it right. I was being dumb. :D
Silvyre said: The inline roll [[ 2d10cs>2cf<9 ]] will highlight red on 2, green on 20, and blue on any other number. I recommend {2d10cs>2cf<9, 2d10cs>2cf<9}kh1 and kl1 for advantage and disadvantage, respectively. You can't put that roll in a roll query though without using html entities though can you?
1452556583

Edited 1452566625
Nah, need to replace closing brace edit: and comma
That makes sense, thanks!
You're welcome. +1 for PowerCards with this