[MIRROR] Fear and Phobias (#8857)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-09-02 11:56:38 -07:00
committed by GitHub
parent 521f33241f
commit 7425ef0b2c
13 changed files with 225 additions and 3 deletions

View File

@@ -677,6 +677,8 @@
if(H.species)
P.accuracy += H.species.gun_accuracy_mod
P.dispersion = max(P.dispersion + H.species.gun_accuracy_dispersion_mod, 0)
if(H.fear > 30)
P.accuracy -= 35
//does the actual launching of the projectile
/obj/item/weapon/gun/proc/process_projectile(obj/projectile, mob/user, atom/target, var/target_zone, var/params=null)