Quote:
Originally Posted by abcde123123
n = number of shots
d = damage per shot
crth = 0.22
crtd = 180
n * crth * d * crtd + n * (1  crth) * d => n * d * ( crth * crtd + (1  crth) )
assuming n, d are scalar constants the damage function becomes
crth * crtd + (1  crth) => (crth : x, crtd : y) =>
Our final function of damage over crth and crtd
dmg = x * y + (1x)

You made a mistake. The expected damage is
n * crth * d * (1 + crtd) + n * (1  crth) * d.