Patch [Version 0.3.4 "Private balance round #3"]

This commit is contained in:
Anton Tarasenko 2021-06-11 21:10:09 +07:00
commit c536198a52
76 changed files with 376 additions and 154 deletions

View file

@ -44,6 +44,29 @@ static function float GetMovementSpeedModifier(KFPlayerReplicationInfo KFPRI, KF
static function float GetReloadSpeedModifierStatic(KFPlayerReplicationInfo KFPRI, class<KFWeapon> Other){
return 1.3;
}
static function float GetFireSpeedModStatic(KFPlayerReplicationInfo KFPRI, class<Weapon> other){
local float fireSpeed;
local NicePlayerController nicePlayer;
local class<NiceWeaponPickup> pickupClass;
pickupClass = GetPickupFromWeapon(other);
if(KFPRI.Owner == none)
return 1.0;
if(IsPerkedPickup(pickupClass) && HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoOverclocking'))
fireSpeed = class'NiceSkillHeavyOverclocking'.default.fireSpeedMult;
else
fireSpeed = 1.0;
nicePlayer = NicePlayerController(KFPRI.Owner);
return fireSpeed;
}
static function float ModifyRecoilSpread(KFPlayerReplicationInfo KFPRI, WeaponFire other, out float Recoil){
local class<NiceWeaponPickup> pickupClass;
pickupClass = GetPickupFromWeaponFire(other);
if(IsPerkedPickup(pickupClass) && HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoOverclocking'))
Recoil = class'NiceSkillCommandoOverclocking'.default.fireSpeedMult;
else
Recoil = 1.0;
return Recoil;
}
static function int ZedTimeExtensions(KFPlayerReplicationInfo KFPRI){
/*if(HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoTactitian'))
return class'NiceSkillCommandoTactitian'.default.bonusExt + 3;*/
@ -60,9 +83,9 @@ defaultproperties
SkillGroupA(2)=Class'NicePack.NiceSkillCommandoPerfectExecution'
//SkillGroupA(3)=Class'NicePack.'
SkillGroupA(4)=Class'NicePack.NiceSkillCommandoZEDProfessional'
SkillGroupB(0)=Class'NicePack.NiceSkillCommandoAdrenalineShot'
SkillGroupB(1)=Class'NicePack.NiceSkillCommandoRegeneration'
SkillGroupB(2)=Class'NicePack.NiceSkillCommandoTranquilizer'
SkillGroupB(0)=Class'NicePack.NiceSkillCommandoRegeneration'
SkillGroupB(1)=Class'NicePack.NiceSkillCommandoQuickermags'
SkillGroupB(2)=Class'NicePack.NiceSkillCommandoOverclocking'
//SkillGroupB(3)=Class'NicePack.'
SkillGroupB(4)=Class'NicePack.NiceSkillCommandoZEDHeavenCanceller'
progressArray0(0)=100

View file

@ -3,7 +3,7 @@ class NiceSkillCommandoExplosivePower extends NiceSkill
var float dmgMod;
defaultproperties
{
dmgMod=1.200000
dmgMod=1.000000
SkillName="Explosive power"
SkillEffects="Burst fire deals 20% more damage and has reduced delay between shots."
SkillEffects="Burst fire shots one more bullet."
}

View file

@ -0,0 +1,9 @@
class NiceSkillCommandoOverclocking extends NiceSkill
abstract;
var float fireSpeedMult;
defaultproperties
{
fireSpeedMult=1.300000
SkillName="Overclocking"
SkillEffects="+30% fire speed with perked weapons. Don't ask, it just works."
}

View file

@ -0,0 +1,9 @@
class NiceSkillCommandoQuickerMags extends NiceSkill
abstract;
var float speedBonus;
defaultproperties
{
speedBonus=2.000000
SkillName="Quicker mags"
SkillEffects="Active reload speed is twice as fast."
}