Skip to content

Commit

Permalink
Fix Critical Issue with Rage Gain [M]
Browse files Browse the repository at this point in the history
  • Loading branch information
Batfoxkid committed Mar 23, 2024
1 parent 7057bae commit d72412d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/freak_fortress_2/events.sp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public Action Events_PlayerHurt(Event event, const char[] name, bool dontBroadca
if(debuff != 1.0)
Client(victim).RageDebuff = 1.0;

rage += (damage * 100.0 * debuff / rage);
rage = (damage * 100.0 * debuff / rage);
if(rage > maxrage)
rage = maxrage;

Expand Down

0 comments on commit d72412d

Please sign in to comment.