Mobzy icon indicating copy to clipboard operation
Mobzy copied to clipboard

Change custom projectile accuracy to use Gaussian random instead of Uniform random

Open Norazan opened this issue 5 years ago • 1 comments

Gaussian random makes it so the projectile has a much higher chance of aiming at the target rather than to the sides (missing), regardless of the given angular diameter. Right now it uses a uniform random function which makes the sides (aka missing the target) just as likely as hitting the target. Gaussian just generally works nicer for mob projectile accuracy. NMS also uses gaussian for projectile aim.

Norazan avatar Feb 25 '21 02:02 Norazan

I'll tackle this soon(tm), just making a note of it.

Norazan avatar Feb 25 '21 02:02 Norazan