Any Math Experts Out There?
Posted: Sat Jan 13, 2018 8:00 am
As a high-school drop out whose best certification is a GED, I don't claim to be a math expert, so there may be some errors with this formula.
I'm trying to create a math formula that can calculate average damage per hit including Chance to Hit/Miss, ThreatRange and ThreatRolls.
This is the best I've gotten so far, and I was wondering if anyone more qualified could look it over and give feedback. (I think the math is right..? *fingers crossed*)
[D×(20-T-N) + (D×T×{N×5÷100}) + (D×M×T×{H×5÷100})] ÷ 20
^NormalHits^ . ^ Crits that fail ^ . ^ Crits that Succeed ^
D= Average Damage per Hit
T= Number of Rolls that Crit
M= Multiplier
H= Number of Rolls that Hit
N= Number of Rolls that Miss
Example:
AttackerAB = 20
EnemyAC = 30
Crits = 18-20/x2
Avg.Damage = 10 (for simplicity sake)
T=3
H=11
N=9
[D×(20-T-N)+(D×T×{N×5÷100})+(D×M×T×{H×5÷100})]÷20
[10×(20-3-9)+(10×3×{9×5÷100})+(10×2×3×{11×5÷100})]÷20
[10×(8)+(30×.45)+(60×.55)]÷20
[80+13.5+33]÷20
126.5÷20
6.325 avg damage per hit, including misses, crits, threat rolls, etc.
.. Did I do this right, or did I mess up horribly at some point?
I'm trying to create a math formula that can calculate average damage per hit including Chance to Hit/Miss, ThreatRange and ThreatRolls.
This is the best I've gotten so far, and I was wondering if anyone more qualified could look it over and give feedback. (I think the math is right..? *fingers crossed*)
[D×(20-T-N) + (D×T×{N×5÷100}) + (D×M×T×{H×5÷100})] ÷ 20
^NormalHits^ . ^ Crits that fail ^ . ^ Crits that Succeed ^
D= Average Damage per Hit
T= Number of Rolls that Crit
M= Multiplier
H= Number of Rolls that Hit
N= Number of Rolls that Miss
Example:
AttackerAB = 20
EnemyAC = 30
Crits = 18-20/x2
Avg.Damage = 10 (for simplicity sake)
T=3
H=11
N=9
[D×(20-T-N)+(D×T×{N×5÷100})+(D×M×T×{H×5÷100})]÷20
[10×(20-3-9)+(10×3×{9×5÷100})+(10×2×3×{11×5÷100})]÷20
[10×(8)+(30×.45)+(60×.55)]÷20
[80+13.5+33]÷20
126.5÷20
6.325 avg damage per hit, including misses, crits, threat rolls, etc.
.. Did I do this right, or did I mess up horribly at some point?