Re: [VALIDATION NEEDED] Healing other time
adverserath;591081 said:
these are the times that should come through.
10 3.791666667
20 3.583333333
30 3.375
40 3.166666667
50 2.958333333
60 2.75
70 2.541666667
80 2.333333333
90 2.125
100 1.916666667
110 1.708333333
120 1.5
130 1.291666667
140 1.083333333
If youre having a lil trouble getting these dex/delay to work, look at it like this
By extrapolating your numbers, its easy to see that at 0 dex you would have exactly 4 second heal time.
So, start with 0 dex = 4, and 140 dex = 1.0833. The difference over 140 dex range is ~2.967 seconds. 2.967secs/140 dex == the change per dex == 0.020833 sec / dex. Your test results above completely support a linear ~0.21/10dex.
That change in ten-dex increments (0.020834*10) is pretty damn close to the differences between each of your tens. Extrapolate this the other way and you can assume that 190 dex would == 0 delay.
Try: delay = (4 - ( dex * ( 4/190 )))
This formula would get you within 10s of milliseconds of your recorded times.