Author Topic: A clarification request for Shock Damage  (Read 2750 times)

0 Members and 1 Guest are viewing this topic.

Offline SerBeardian (OP)

  • Warrant Officer, Class 1
  • *****
  • Posts: 75
  • Thanked: 37 times
A clarification request for Shock Damage
« on: August 18, 2018, 07:15:59 AM »
Hey, hoping to clarify something if it hasn't been answered before:

In the 6. 3 changelog, Steve provided the following numbers as the chances to deal at least 1 point of shock damage for a given hit:

Quote
1: 0%
2: 0%
3: 0. 03%
4: 1. 25%
5: 2. 8%
6: 4. 5%
7: 6. 3%
8: 8. 1%
9: 10. 7%
10: 12. 6%
12: 18. 0%
16: 28. 4%
20: 40. 1%
24: 53. 4%
30: 73. 8%
36: 95. 3%

But throwing the damage values into the Shock Chance equation of Damage^1. 3 yields chances significantly higher than the ones given.  As an example:

12: 25. 2%
16: 36. 7%
20: 49. 1%
reaching 100% at 35.

At first I thought it was related to the "at least one point of damage", but unless the "random percentage" includes 0%, any hit above about 9 damage should yield at least 1 damage reasonably consistently.  A 16-damage hit would yield base Shock of 16/3=5. 3, which would need to allow the random percentage to go as low as 18% to fall below 1, and does not account for disparity in chances of Shock damage.

What am I missing here?

On a related note, what IS the range of that "random percentage"?
 

Offline Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 11649
  • Thanked: 20349 times
Re: A clarification request for Shock Damage
« Reply #1 on: September 04, 2018, 12:43:42 PM »
I've checked the code and the chance is simply rounded, not rounded down, which leads to the numbers you quoted.
 

Offline SerBeardian (OP)

  • Warrant Officer, Class 1
  • *****
  • Posts: 75
  • Thanked: 37 times
Re: A clarification request for Shock Damage
« Reply #2 on: September 04, 2018, 04:07:18 PM »
Ok, so my percentages are correct then? Excellent, that makes shock damage even more viable :)

Also, are there any numbers for the range of the "random percentage" for the damage roll?