Need some line tracing help

Ok so i have basic line tracing and projectile movements all good, i just need some advice on how to make the line tracing more inaccurate as i keep firing, then go back to normal after a bit of time not firing