Revert "FP one hit kill fix"

This reverts commit b8045655f1.
This commit is contained in:
Shtoyan 2023-03-19 21:53:44 +04:00
parent 2135c0b46b
commit 33ce2f5ef5

View File

@ -132,8 +132,7 @@ function TakeDamageClient(int Damage, Pawn InstigatedBy, Vector Hitlocation, Vec
PostNetReceive();
Super.TakeDamageClient(Damage, instigatedBy, hitLocation, momentum, damageType, headshotLevel, lockonTime);
TwoSecondDamageTotal += OldHealth - Health;
// fixed their one hit kill ability when you spam attack during hit animation
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && !bShotAnim &&
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer &&
(!(bWasBurning && bCrispified) || bFrustrated) )
StartChargingFP(InstigatedBy);
}