This commit is contained in:
unknown 2021-08-21 07:25:27 -07:00
parent d36068787a
commit 0656855070
2 changed files with 10 additions and 0 deletions

View File

@ -516,6 +516,11 @@ simulated function ModifyRecoil(out float CurrentRecoilModifier, KFWeapon KFW)
CurrentPerk.ModifyRecoil(CurrentRecoilModifier,KFW); CurrentPerk.ModifyRecoil(CurrentRecoilModifier,KFW);
} }
simulated function float GetCameraViewShakeModifier(KFWeapon KFW)
{
return (CurrentPerk!=None ? CurrentPerk.GetCameraViewShakeModifier( KFW) : 1.f);
}
simulated function ModifySpread(out float InSpread) simulated function ModifySpread(out float InSpread)
{ {
if (CurrentPerk!=None) if (CurrentPerk!=None)

View File

@ -1293,6 +1293,11 @@ simulated function float GetReloadRateScale(KFWeapon KFW)
return (IsWeaponOnPerk(KFW) ? Modifiers[5] : 1.f); return (IsWeaponOnPerk(KFW) ? Modifiers[5] : 1.f);
} }
simulated function float GetCameraViewShakeModifier(KFWeapon KFW)
{
return Modifiers[2];
}
function ModifyHealth(out int InHealth) function ModifyHealth(out int InHealth)
{ {
InHealth *= Modifiers[6]; InHealth *= Modifiers[6];