make knockdown stat stumble enemies in addition

This commit is contained in:
unknown 2021-08-21 10:14:37 -07:00
parent d36068787a
commit 754262c61d
2 changed files with 15 additions and 0 deletions

View File

@ -1313,6 +1313,11 @@ function float GetStunPowerModifier(optional class<DamageType> DamageType, optio
return Modifiers[7];
}
function float GetStumblePowerModifier( optional KFPawn KFP, optional class<KFDamageType> DamageType, optional out float CooldownModifier, optional byte BodyPart )
{
return Modifiers[7];
}
simulated function ModifyMeleeAttackSpeed(out float InDuration);
function AddDefaultInventory(KFPawn P)

View File

@ -28,6 +28,16 @@ simulated function float GetZedTimeModifier(KFWeapon W)
return 0.f;
}
function float GetStumblePowerModifier( optional KFPawn KFP, optional class<KFDamageType> DamageType, optional out float CooldownModifier, optional byte BodyPart )
{
if( bRapidAssault)
{
return 2.f*Modifiers[7];
}
return Modifiers[7];
}
defaultproperties
{
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_SWAT'