Whether you want to use Deadly Aim depends upon the percent chance that you hit and your average damage when you do hit
Note: this answer ignores the mechanics of critical hits1
Let \$h\$ = Percent chance to hit before Deadly Aim
Let \$h_{Aim}\$ = Percent chance to hit after Deadly Aim
Let \$D\$ = Increase in damage
$$\text{Maximum Average Damage} = \frac{h_{Aim} \times D}{h - h_{Aim}}$$
Here "Maximum Average Damage" is the maximum value the average damage of a regular attack can have where taking a trade-off (like Deadly Aim) is still worth it.3
We can apply this general formula to the specific case of Deadly Aim using the fact that \$h_{Aim} = h - \frac{2}{20}\$ and \$D = 4\$:
$$\frac{(h - \frac{2}{20})\times 4}{h - (h - \frac{2}{20})} =$$
$$\frac{4h - \frac{8}{20}}{\frac{2}{20}} =$$
$$40h - 4$$
Thus, when the average damage of a hit before applying Deadly Aim is less than \$40h - 4\$, you would want to use Deadly Aim. To explain this in more detail:
- Calculate the chance that a regular attack (without using Deadly Aim) would hit: this gets you the value for \$h\$.
- Calculate the average damage your would deal on a hit (without using Deadly Aim); this is going to be the average damage that you would deal so it will typically amount to just adding all flat modifiers and then the average of all the dice you would roll.
- Calculate \$40h - 4\$ and compare this with your average damage from step 2. If the damage you calculated in step 2 is less than \$40h - 4\$, you should use Deadly Aim.
Examples of using the formula:
Say your attack before applying Deadly Aim has a 50% chance of hitting; using our formula we get:
Max = \$40(.5) - 4 = 16\$
If our average damage before applying Deadly Aim is less than 16, we would want to use Deadly Aim because it will increase our average damage output.
Say we had a 25% chance of hitting:
Max = \$40(.25) - 4 = 6\$
In this case, if our average damage is less than 6, we would want to use Deadly Aim.
A table of values
Hit Chance |
Maximum Damage |
5% |
Infinite |
10% |
???2 |
15% |
2 |
20% |
4 |
25% |
6 |
30% |
8 |
35% |
10 |
40% |
12 |
45% |
14 |
50% |
16 |
55% |
18 |
60% |
20 |
65% |
22 |
70% |
24 |
75% |
26 |
80% |
28 |
85% |
30 |
90% |
32 |
95% (2+) |
34 |
95% ("1"+) |
36 |
95% ("0"+) |
Infinite |
It is worth noting though that this formula doesn't apply to all hit chances: It only applies if the minimum number you would need on the die for a hit before applying Deadly Aim is between 1 and 18.
To explain this, imagine you could somehow roll a 0 on the die and even that would hit. In this case, taking a -2 penalty to the attack roll will always improve your damage since you would effectively change your minimum roll on the die for a hit to a 2, which was the case originally anyways.
For the case of hitting when rolling a 19+ on the die, taking a -2 penalty means you would need to roll a 21 or higher (so you would need to roll a 20); and for the case where you need a crit in order to hit originally, taking a penalty to your hit chance won't change that and will always be the better option. Basically, this formula doesn't account for the changes experienced at the extreme ends which is why the 10% field has "???" in the chart.2 That said, I can't imagine having a 5, 10, or 95 percent chance to hit comes up very often.
1 If we account for only the crits that result from rolling a 20, the maximum damage of every part of the chart increases by 2 except for the case where you have a 10% chance of hitting where instead the maximum damage increases to 8.
2 Manually calculating the 10% hit chance case gets us a maximum damage of 2.
3 A proof of the formula used at the start:
Let \$h\$ = Percent chance to hit before Deadly Aim
Let \$h_{Aim}\$ = Percent chance to hit after Deadly Aim
Let \$D\$ = Increase in damage from Deadly Aim
Let \$A\$ = Average damage before Deadly Aim
We can look at the following equation:
$$h_{aim}(A + D) - h(A)$$
This would be the expected damage when using Deadly Aim (the hit chance times the average damage) minus the expected damage when not using Deadly Aim (the hit chance times the average damage). Thus, whenever this function is positive, that is, when Deadly Aim deals more damage than not using Deadly Aim, we want to use Deadly Aim. In particular, because this function is always decreasing, when this equation equals zero, we have reached the maximum average damage where would want to use Deadly Aim. (The function is always decreasing because the derivative with respect to \$A\$ is \$h_{aim} - h\$ which is always non-positive (negative or zero) as \$h \ge h_{aim}\$). Thus we have a new equation that we can manipulate:
$$h_{aim}(A + D) - h(A) = 0$$
$$A(h_{aim}) + h_{aim}(D) - A(h) = 0$$
$$A(h_{aim} - h) = -h_{aim}\times D$$
$$A = \frac{-h_{aim}\times D}{h_{aim} - h}$$
$$A = \frac{h_{aim}\times D}{h - h_{aim}}$$