mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #2204 from Yoshax/accuracypenalty
Increases accuracy penalties in detrimental states
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user