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
140a70513d
commit
f02a842540
@ -132,7 +132,7 @@ 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 &&
|
||||
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && !bShotAnim &&
|
||||
(!(bWasBurning && bCrispified) || bFrustrated) )
|
||||
StartChargingFP(InstigatedBy);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user