FP one hit kill fix
now they won't send you to hell when you attack them during hit animation
This commit is contained in:
parent
eb6ef56d79
commit
b8045655f1
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ function TakeDamageClient(int Damage, Pawn InstigatedBy, Vector Hitlocation, Vec
|
|||
PostNetReceive();
|
||||
Super.TakeDamageClient(Damage, instigatedBy, hitLocation, momentum, damageType, headshotLevel, lockonTime);
|
||||
TwoSecondDamageTotal += OldHealth - Health;
|
||||
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer &&
|
||||
// fixed their one hit kill ability when you spam attack during hit animation
|
||||
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && !bShotAnim &&
|
||||
(!(bWasBurning && bCrispified) || bFrustrated) )
|
||||
StartChargingFP(InstigatedBy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue