Skip to content

Commit

Permalink
Update _ranged.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitsunemitsu committed Dec 5, 2024
1 parent bb3bab8 commit 3d4b187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModularTegustation/ego_weapons/ranged/_ranged.dm
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
//Get a bonus of up to 40% reload speed to fortitude
var/passreload = clamp((get_attribute_level(user, FORTITUDE_ATTRIBUTE)-20)/110, 0.01, 1)

passreload = reloadtime - reloadtime/passreload*0.3
passreload = reloadtime - reloadtime*passreload*0.4

if(do_after(user, passreload, src)) //gotta reload
playsound(src, 'sound/weapons/gun/general/bolt_rack.ogg', 50, TRUE)
Expand Down Expand Up @@ -353,7 +353,7 @@

//And get a bonus to scatter up to about 40% less when you're at maximum prudence. Clerks get a scatter increase
var/scatter_reduction = min((get_attribute_level(user, PRUDENCE_ATTRIBUTE)-20)/110, 1)
bonus_spread -= scatter_reduction*0.4
bonus_spread -= scatter_reduction*0.7

return process_fire(target, user, TRUE, params, null, bonus_spread)

Expand Down

0 comments on commit 3d4b187

Please sign in to comment.