parent
2135c0b46b
commit
33ce2f5ef5
1 changed files with 1 additions and 2 deletions
|
|
@ -132,8 +132,7 @@ function TakeDamageClient(int Damage, Pawn InstigatedBy, Vector Hitlocation, Vec
|
||||||
PostNetReceive();
|
PostNetReceive();
|
||||||
Super.TakeDamageClient(Damage, instigatedBy, hitLocation, momentum, damageType, headshotLevel, lockonTime);
|
Super.TakeDamageClient(Damage, instigatedBy, hitLocation, momentum, damageType, headshotLevel, lockonTime);
|
||||||
TwoSecondDamageTotal += OldHealth - Health;
|
TwoSecondDamageTotal += OldHealth - Health;
|
||||||
// fixed their one hit kill ability when you spam attack during hit animation
|
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer &&
|
||||||
if( !bDecapitated && TwoSecondDamageTotal > RageDamageThreshold && !bChargingPlayer && !bShotAnim &&
|
|
||||||
(!(bWasBurning && bCrispified) || bFrustrated) )
|
(!(bWasBurning && bCrispified) || bFrustrated) )
|
||||||
StartChargingFP(InstigatedBy);
|
StartChargingFP(InstigatedBy);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue