Merge pull request #2204 from Yoshax/accuracypenalty

Increases accuracy penalties in detrimental states
This commit is contained in:
Anewbe
2016-07-25 16:44:46 -05:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -334,12 +334,12 @@
P.dispersion = dispersion
// Certain statuses make it harder to aim, blindness especially. Same chances as melee, however guns accuracy uses multiples of 15.
if(user.confused)
accuracy -= 2
if(user.eye_blind)
accuracy -= 5
if(user.eye_blurry)
accuracy -= 1
accuracy -= 2
if(user.confused)
accuracy -= 3
//accuracy bonus from aiming
if (aim_targets && (target in aim_targets))