Add changed for updates 001 and 002

This commit is contained in:
Anton Tarasenko 2021-07-16 16:00:48 +07:00
commit 0ee6e2e0ca
16 changed files with 112 additions and 93 deletions

View file

@ -186,13 +186,13 @@ simulated function ZoomIn(bool bAnimateTransition)
scopePortalFOVHigh = default.scopePortalFOVHigh;
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(instigator != none && instigator.bIsCrouched && class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched && class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched){
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
}
super(BaseKFWeapon).ZoomIn(bAnimateTransition);
@ -213,12 +213,12 @@ simulated function ZoomOut(bool bAnimateTransition)
scopePortalFOVHigh = default.scopePortalFOVHigh;
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
super.ZoomOut(bAnimateTransition);
bAimingRifle = False;