Skip to content

Commit

Permalink
Fix: Burton Knife Attack animation skip exploit (#2287)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Aug 25, 2023
1 parent 3c97265 commit da99e86
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Patch104pZH/Design/Changes/v1.0/2287_burton_insta_stab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
date: 2023-08-25

title: Fix USA Colonel Burton instant Knife Attack exploit

changes:
- fix: Fixes an exploit that allows USA Colonel Burton to skip the animation before the Knife Attack.

labels:
- bug
- minor
- usa
- v1.0

links:
- https://github.com/TheSuperHackers/GeneralsGamePatch/pull/2287

authors:
- commy2
2 changes: 1 addition & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ Weapon ColonelBurtonKnifeWeapon
ClipSize = 1 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 1367 ; how long to reload a Clip, msec
PreAttackDelay = 833 ; 833 is natural time of the stabbing animation.
PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target
PreAttackType = PER_CLIP ; Patch104p @bugfix commy2 24/08/2023 Don't use PER_ATTACK so pre attack delay cannot be skipped by using gun first. (#2287)
End

;------------------------------------------------------------------------------
Expand Down

0 comments on commit da99e86

Please sign in to comment.