D&D 5E Trivantage Simulator

G

Guest 6801328

Guest
Done. If you click on a dot it dumps all the parameters and local variables to the console.
 

log in or register to remove this ad

G

Guest 6801328

Guest
Improvement: show debugger to see the output.

Next up: animate the transitions. Just because.
 


NotAYakk

Legend
Suppose you have 2 short swords.

You hit on a 3+, because you awesome, and you crit on a 19+. You have trivantage on all attacks.

You hit 99.9% of your attacks (!) with trivantage.

Method 1: Use sneak attack on first hit regardless.
Method 2: Make first attack. If it is a crit, use sneak attack. If not, save it for possible second attack.

Method 1 gives you 0.271271 sneak attack crits, 0.999999 sneak attack hits (or better), 0.542 crits and 1.98 hits.
Method 2 gives you 0.468559 sneak attack crits and 0.999729 sneak attack hits, 0.542 crits and 1.98 hits.

Method 2 gives you better DPR, clearly.

Basically, method 2 is when you are so certain of hitting, a mere hit on your first attack isn't worth burning your sneak attack for.

Method 1 is when your chance of missing on 2nd attack is high enough compared to your chance of hitting on 2nd attack that if you can unload your sneak attack on a mere hit, you should do it.

You should use method 2 when miss chance < crit chance basically.

Crit chance with Champ 3 is 0.271, without is 0.142625. With trivantage, those miss rates correspond to a 14+ (.65^3=27.45% miss chance) and a 12+ to hit (.55^3 = 16.64% miss chance) respectively.
 

G

Guest 6801328

Guest
Suppose you have 2 short swords.

You hit on a 3+, because you awesome, and you crit on a 19+. You have trivantage on all attacks.

You hit 99.9% of your attacks (!) with trivantage.

Method 1: Use sneak attack on first hit regardless.
Method 2: Make first attack. If it is a crit, use sneak attack. If not, save it for possible second attack.

Method 1 gives you 0.271271 sneak attack crits, 0.999999 sneak attack hits (or better), 0.542 crits and 1.98 hits.
Method 2 gives you 0.468559 sneak attack crits and 0.999729 sneak attack hits, 0.542 crits and 1.98 hits.

Method 2 gives you better DPR, clearly.

Basically, method 2 is when you are so certain of hitting, a mere hit on your first attack isn't worth burning your sneak attack for.

Method 1 is when your chance of missing on 2nd attack is high enough compared to your chance of hitting on 2nd attack that if you can unload your sneak attack on a mere hit, you should do it.

You should use method 2 when miss chance < crit chance basically.

Crit chance with Champ 3 is 0.271, without is 0.142625. With trivantage, those miss rates correspond to a 14+ (.65^3=27.45% miss chance) and a 12+ to hit (.55^3 = 16.64% miss chance) respectively.

Ah, now I see what you mean. I misunderstood.

The risk, as you point out, is that you then miss. And if the reason you have (tri) advantage is that you’re coming out of stealth, then your second attack would be normal.

Still, this is interesting. I think I’ll add it as an option.
 

G

Guest 6801328

Guest
Added and pushed to live. It's the "crit fishing" option under dual shortswords.

Doesn't seem to increase dpr. With trivantage on the second attack against lower armor classes it seems to make no difference. Against higher ACs, or without trivantage on the second attack, it's a decrease in dpr.

Possible I implemented the logic incorrectly, of course, but it was a pretty straightforward change.
 

NotAYakk

Legend
So 20 dex +6 proficiency (+11 to hit) against AC 14 (hit on a 3+).

Level 20, Champ 3/Rogue 17, twf style.

99.9% hit chance. I'll call that 1.0 because lazy.

Your attack deals 1d6+5 damage, offhand 1d6+5, plus 9d6 sneak attack damage.

Base is 11d6+10 = 48.5 damage. You have a 27.1% crit chance for another 10d6 or +9.485, sum to 57.985 DPR, and an offhand 27.1% crit chance for +0.9485 DPR, a total of 58.9335 DPR.

With crit fishing your sneak attack crit chance becomes 0.468559, for 14.7596085 DPR, plus 0.542 * 3.5 = 1.897 from weapon crits, totaling to 65.1566085 DPR.

You had Champ 3/Rogue 17 at 58.9 DPR (matching) AND Rogue 20 with crit fishing at the same.

So your math seems off. (a) because I think I'm right, and (b) because you aren't showing a change.

I neglected a 0.002 miss chance, but that won't make that much of a difference.


...

Ok used your debugger. Your crit fishing is not using SA on the main hand if it crits.

That costs you a bit of DPR.

...

Also you are missing auto-hit on a crit.
 
Last edited:

G

Guest 6801328

Guest
So 20 dex +6 proficiency (+11 to hit) against AC 14 (hit on a 3+).

Level 20, Champ 3/Rogue 6, twf style.

99.9% hit chance. I'll call that 1.0 because lazy.

Your attack deals 1d6+5 damage, offhand 1d6+5, plus 9d6 sneak attack damage.

Base is 11d6+10 = 48.5 damage. You have a 27.1% crit chance for another 10d6 or +9.485, sum to 57.985 DPR, and an offhand 27.1% crit chance for +0.9485 DPR, a total of 58.9335 DPR.

With crit fishing your sneak attack crit chance becomes 0.468559, for 14.7596085 DPR, plus 0.542 * 3.5 = 1.897 from weapon crits, totaling to 65.1566085 DPR.

You had Champ 3/Rogue 17 at 58.9 DPR (matching) AND Rogue 20 with crit fishing at the same.

So your math seems off. (a) because I think I'm right, and (b) because you aren't showing a change.

I neglected a 0.002 miss chance, but that won't make that much of a difference.


...

Ok used your debugger. Your crit fishing is not using SA on the main hand if it crits.

That costs you a bit of DPR.

...

Also you are missing auto-hit on a crit.

Yup just realized that while thinking about this over dinner. I’ll fix later.
 

G

Guest 6801328

Guest
Should be working now. Quick takeaway is that crit fishing works as long as you also have trivantage on the offhand attack. If you do, it's as good as rapier + booming blade. Having that reliably might depend on your group setup (e.g. Wolf Totem Barbarian) or table rules (e.g. optional Flanking rules).
 

G

Guest 6801328

Guest
I added two things:
  1. A data series for full fighter (Champion)
  2. An option for dual rapiers
Check it out. At level 20 with 4 attacks, dual rapiers, +5 to offhand damage, and a 38% chance of crit it totally dominates.

(I'd still rather play the rogue, though.)

P.S. What if you were half-Elf, but the non-Elf half was Orc? Then you'd be half-Elf and half-Orc! Extra d8 on the crit?
 

Remove ads

Top