Change Medic and Commando perks to be one perk
This commit is contained in:
parent
e7d1c539e8
commit
ae28c24ef6
17 changed files with 103 additions and 43 deletions
5
sources/Perks/Commando/NiceDamTypeMedicDart.uc
Normal file
5
sources/Perks/Commando/NiceDamTypeMedicDart.uc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class NiceDamTypeMedicDart extends NiceDamageTypeVetCommando
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
}
|
||||
|
|
@ -9,15 +9,23 @@ static function int GetStatValueInt(ClientPerkRepLink StatOther, byte ReqNum){
|
|||
static function array<int> GetProgressArray(byte ReqNum, optional out int DoubleScalingBase){
|
||||
return default.progressArray0;
|
||||
}
|
||||
static function class<Grenade> GetNadeType(KFPlayerReplicationInfo KFPRI){
|
||||
/*if(KFPRI != none && class'NiceVetFieldMedic'.static.hasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillMedicArmament'))
|
||||
return class'NicePack.NiceMedicNade';*/
|
||||
return class'NiceMedicNadePoison';
|
||||
}
|
||||
static function float GetHealthBarsDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
||||
if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
||||
return class'NiceSkillCommandoStrategist'.default.visionRadius;
|
||||
return 0.0;
|
||||
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
||||
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
||||
return 1.0;
|
||||
}
|
||||
static function float GetStalkerViewDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
||||
if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
||||
return class'NiceSkillCommandoStrategist'.default.visionRadius;
|
||||
return 0.0;
|
||||
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
||||
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
||||
return 1.0;
|
||||
}
|
||||
static function bool CanCookNade(KFPlayerReplicationInfo KFPRI, Weapon Weap){
|
||||
return GetNadeType(KFPRI) != class'NicePack.NiceMedicNadePoison';
|
||||
}
|
||||
static function float GetMagCapacityMod(KFPlayerReplicationInfo KFPRI, KFWeapon Other){
|
||||
local class<NiceWeaponPickup> pickupClass;
|
||||
|
|
@ -26,13 +34,24 @@ static function float GetMagCapacityMod(KFPlayerReplicationInfo KFPRI, KFWeapon
|
|||
return class'NiceSkillCommandoLargerMags'.default.sizeBonus;
|
||||
return 1.0;
|
||||
}
|
||||
static function float GetSyringeChargeRate(KFPlayerReplicationInfo KFPRI){
|
||||
return 3.0;
|
||||
}
|
||||
static function float GetHealPotency(KFPlayerReplicationInfo KFPRI){
|
||||
local float potency;
|
||||
potency = 1.5;
|
||||
return potency;
|
||||
}
|
||||
static function float GetMovementSpeedModifier(KFPlayerReplicationInfo KFPRI, KFGameReplicationInfo KFGRI){
|
||||
return 1.1;
|
||||
}
|
||||
static function float GetReloadSpeedModifierStatic(KFPlayerReplicationInfo KFPRI, class<KFWeapon> Other){
|
||||
return 1.3;
|
||||
}
|
||||
static function int ZedTimeExtensions(KFPlayerReplicationInfo KFPRI){
|
||||
if(HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoTactitian'))
|
||||
return class'NiceSkillCommandoTactitian'.default.bonusExt + 3;
|
||||
return 3;
|
||||
/*if(HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoTactitian'))
|
||||
return class'NiceSkillCommandoTactitian'.default.bonusExt + 3;*/
|
||||
return 4;
|
||||
}
|
||||
static function string GetCustomLevelInfo(byte Level){
|
||||
return default.CustomLevelInfo;
|
||||
|
|
@ -40,16 +59,16 @@ static function string GetCustomLevelInfo(byte Level){
|
|||
defaultproperties
|
||||
{
|
||||
bNewTypePerk=True
|
||||
SkillGroupA(0)=Class'NicePack.NiceSkillCommandoTactitian'
|
||||
SkillGroupA(1)=Class'NicePack.NiceSkillCommandoCriticalFocus'
|
||||
SkillGroupA(2)=Class'NicePack.NiceSkillCommandoLargerMags'
|
||||
SkillGroupA(3)=Class'NicePack.NiceSkillCommandoPerfectExecution'
|
||||
SkillGroupA(0)=Class'NicePack.NiceSkillCommandoExplosivePower'
|
||||
SkillGroupA(1)=Class'NicePack.NiceSkillCommandoLargerMags'
|
||||
SkillGroupA(2)=Class'NicePack.NiceSkillCommandoPerfectExecution'
|
||||
//SkillGroupA(3)=Class'NicePack.'
|
||||
SkillGroupA(4)=Class'NicePack.NiceSkillCommandoZEDProfessional'
|
||||
SkillGroupB(0)=Class'NicePack.NiceSkillCommandoStrategist'
|
||||
SkillGroupB(1)=Class'NicePack.NiceSkillCommandoTrashCleaner'
|
||||
SkillGroupB(2)=Class'NicePack.NiceSkillCommandoExplosivePower'
|
||||
SkillGroupB(3)=Class'NicePack.NiceSkillCommandoGiantSlayer'
|
||||
SkillGroupB(4)=Class'NicePack.NiceSkillCommandoZEDEvisceration'
|
||||
SkillGroupB(0)=Class'NicePack.NiceSkillCommandoAdrenalineShot'
|
||||
SkillGroupB(1)=Class'NicePack.NiceSkillCommandoRegeneration'
|
||||
SkillGroupB(2)=Class'NicePack.NiceSkillCommandoTranquilizer'
|
||||
//SkillGroupB(3)=Class'NicePack.'
|
||||
SkillGroupB(4)=Class'NicePack.NiceSkillCommandoZEDHeavenCanceller'
|
||||
progressArray0(0)=100
|
||||
progressArray0(1)=1000
|
||||
progressArray0(2)=3000
|
||||
|
|
@ -64,7 +83,7 @@ defaultproperties
|
|||
OnHUDIcons(3)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Blue',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Blue',DrawColor=(B=255,G=255,R=255,A=255))
|
||||
OnHUDIcons(4)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Purple',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Purple',DrawColor=(B=255,G=255,R=255,A=255))
|
||||
OnHUDIcons(5)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Orange',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Orange',DrawColor=(B=255,G=255,R=255,A=255))
|
||||
CustomLevelInfo="Level up by doing damage with perked weapons|30% faster reload with all weapons|You get three additional Zed-Time Extensions"
|
||||
CustomLevelInfo="Level up by doing damage with perked weapons|30% faster reload with all weapons|10% faster movement speed|You get four additional Zed-Time Extensions|See health and cloacked zeds from 16 meters distance|50% more potent medical injections|Better Syringe handling"
|
||||
PerkIndex=3
|
||||
OnHUDIcon=Texture'KillingFloorHUD.Perks.Perk_Commando'
|
||||
OnHUDGoldIcon=Texture'KillingFloor2HUD.Perk_Icons.Perk_Commando_Gold'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
class NiceSkillCommandoAdrenalineShot extends NiceSkill
|
||||
abstract;
|
||||
var float boostTime;
|
||||
var float minHealth;
|
||||
var float speedBoost, resistBoost;
|
||||
defaultproperties
|
||||
{
|
||||
boostTime=1.000000
|
||||
minHealth=50.000000
|
||||
speedBoost=2.000000
|
||||
resistBoost=1.500000
|
||||
SkillName="Adrenaline shot"
|
||||
SkillEffects="Wounded players healed by you gain boost in speed (up to 100%) and damage resistance (up to 50%) for one second."
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
class NiceSkillCommandoRegeneration extends NiceSkill
|
||||
abstract;
|
||||
var float regenFrequency;
|
||||
defaultproperties
|
||||
{
|
||||
regenFrequency=0.500000
|
||||
SkillName="Regeneration"
|
||||
SkillEffects="You regenerate 2 hp per second."
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
class NiceSkillCommandoTranquilizer extends NiceSkill
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
SkillName="Tranquilizer"
|
||||
SkillEffects="Zeds hit by your darts can be stunned by head-damage, but your darts lose 25% of their healing efficiency."
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
class NiceSkillCommandoZEDHeavenCanceller extends NiceSkill
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
SkillName="Heaven canceller"
|
||||
SkillEffects="During zed-time your darts instantly restore health of your teammates and make them invincible for it's duration."
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
class NiceDamTypeMedicDart extends NiceDamageTypeVetMedic
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue