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

@@ -159,9 +159,9 @@ emp_act
if(user.eye_blind)
accuracy_penalty += 75
if(user.eye_blurry)
accuracy_penalty += 15
if(user.confused)
accuracy_penalty += 30
if(user.confused)
accuracy_penalty += 45
var/hit_zone = get_zone_with_miss_chance(target_zone, src, accuracy_penalty)

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))