mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 03:22:12 +00:00
Catching is no longer guaranteed, accuracy code is more general
This commit is contained in:
@@ -590,13 +590,7 @@
|
||||
P.accuracy = accuracy + acc_mod
|
||||
P.dispersion = disp_mod
|
||||
|
||||
// Certain statuses make it harder to aim, blindness especially. Same chances as melee, however guns accuracy uses multiples of 15.
|
||||
if(user.eye_blind)
|
||||
P.accuracy -= 75
|
||||
if(user.eye_blurry)
|
||||
P.accuracy -= 30
|
||||
if(user.confused)
|
||||
P.accuracy -= 45
|
||||
P.accuracy -= user.get_accuracy_penalty()
|
||||
|
||||
//accuracy bonus from aiming
|
||||
if (aim_targets && (target in aim_targets))
|
||||
|
||||
Reference in New Issue
Block a user