Commit 903a8ce
committed
gameplay: make buffalo steak sandvich not reduce speed
the buffalo steak sandvich was made to not stack with other
movement speed bonuses. however, the way this was implemented
nullifies the greater of the two movement speed.
this fix makes it so if we are already above the berzerker speed cap,
we just don't apply berzerker speed at all and retain the faster speed.
if we are below the cap, then we boost by 35% speed like normal, up
to the berzerker cap of 135%
this only applies to MvM movement speed bonuses, since nothing
else can exceed the 135% cap in the base game.
ref: ValveSoftware/Source-1-Games#34761 parent 5e65c8a commit 903a8ce
File tree
1 file changed
+8
-3
lines changed1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10561 | 10561 | | |
10562 | 10562 | | |
10563 | 10563 | | |
10564 | | - | |
10565 | | - | |
| 10564 | + | |
| 10565 | + | |
| 10566 | + | |
| 10567 | + | |
| 10568 | + | |
| 10569 | + | |
| 10570 | + | |
| 10571 | + | |
10566 | 10572 | | |
10567 | 10573 | | |
10568 | 10574 | | |
10569 | | - | |
10570 | 10575 | | |
10571 | 10576 | | |
10572 | 10577 | | |
| |||
0 commit comments