Undergrad Calculating Average Value of Damage w/ 30% Crit Chance

Click For Summary
SUMMARY

The average value of damage with a 30% critical hit chance and 150% damage on a crit can be calculated using the formula: Expected Damage = (0.3 * 1.5) + (0.7 * 1.0). This formula incorporates the probability of a critical hit (30%) and the corresponding damage multiplier (150%), while the remaining probability (70%) reflects normal damage (100%). The calculation results in a weighted average, confirming that the approach aligns with principles of probability and expected value.

PREREQUISITES
  • Understanding of probability theory, specifically binomial distribution
  • Familiarity with expected value calculations
  • Basic knowledge of critical hit mechanics in gaming
  • Ability to interpret damage multipliers and their impact on overall damage output
NEXT STEPS
  • Research the binomial distribution and its applications in gaming mechanics
  • Learn about expected value calculations in probability theory
  • Explore advanced critical hit mechanics in various game engines
  • Investigate damage scaling and multipliers in game design
USEFUL FOR

Game developers, mathematicians, and anyone involved in designing or analyzing combat mechanics in video games will benefit from this discussion.

benorin
Science Advisor
Insights Author
Messages
1,442
Reaction score
191
How do I calculate the average value of some damage values where there is say a 30% chance of critical hit and on a crit 150% damage is done? I run into this problem often, if I had to guess I'd say it's likely related to the binomial distribution because there's either a crit or not, fixed probability of success, and presumably a fixed number of trials. I should mention that what value a crit does 150% of is based on a fixed number ##\theta D## where ##\theta\in\left\{ .88, 1.12\right\}## is a random number but please try not to use that fact in the calulation if at all possible I'd like it in general terms please. Thanks!
 
Physics news on Phys.org
It is the expected value of the damage roll times 0.3*1.5+0.7*1.0
 
So 0.3 from the crit rate, 1.5 from the 150% dmg, I'm assuming the 0.7=1-0.3 and 1.0 for normal or 100% dmg, correct?
 
benorin said:
So 0.3 from the crit rate, 1.5 from the 150% dmg, I'm assuming the 0.7=1-0.3 and 1.0 for normal or 100% dmg, correct?
Yes, it is a weighted average.
 
If there are an infinite number of natural numbers, and an infinite number of fractions in between any two natural numbers, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and an infinite number of fractions in between any two of those fractions, and... then that must mean that there are not only infinite infinities, but an infinite number of those infinities. and an infinite number of those...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 76 ·
3
Replies
76
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K
Replies
8
Views
8K
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K