Skip to content

Commit

Permalink
Gunslinger fix (#3081)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Revolvers no longer clamp their gunslinger spread bonus since negative
recoil is applied effectively later

## Why It's Good For The Game

This side towards enemy

## Changelog

:cl:
fix: gunslinger applies its spread reduction effect to revolvers
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Jun 7, 2024
1 parent 5474eac commit af3f029
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/modules/projectiles/guns/ballistic/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@

if(HAS_TRAIT(user, TRAIT_GUNSLINGER)) //gunslinger bonus
total_spread += gunslinger_bonus
total_spread = clamp(total_spread,0,INFINITY)

return ..(user, total_spread)

Expand Down

0 comments on commit af3f029

Please sign in to comment.