Fix unintended fire damage buffs
This commit is contained in:
parent
b4b3111440
commit
da810d50f1
@ -15,12 +15,6 @@ static function class<Grenade> GetNadeType(KFPlayerReplicationInfo KFPRI){
|
|||||||
//return class'NiceMedicNadePoison';
|
//return class'NiceMedicNadePoison';
|
||||||
return class'NiceNade';
|
return class'NiceNade';
|
||||||
}
|
}
|
||||||
static function int AddFireDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn DamageTaker, int InDamage, class<NiceWeaponDamageType> DmgType){
|
|
||||||
if(class<NiceDamTypeFire>(DmgType) != none){
|
|
||||||
return float(InDamage) * 1.5;
|
|
||||||
}
|
|
||||||
return 0.0;
|
|
||||||
}
|
|
||||||
static function float GetHealthBarsDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
static function float GetHealthBarsDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
||||||
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
||||||
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
||||||
|
@ -219,8 +219,6 @@ static function int AddRegDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injure
|
|||||||
}
|
}
|
||||||
// Allows to buff only fire component of damage.
|
// Allows to buff only fire component of damage.
|
||||||
static function int AddFireDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn DamageTaker, int InDamage, class<NiceWeaponDamageType> DmgType){
|
static function int AddFireDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn DamageTaker, int InDamage, class<NiceWeaponDamageType> DmgType){
|
||||||
if(DmgType != none)
|
|
||||||
return InDamage * DmgType.default.heatPart;
|
|
||||||
return InDamage;
|
return InDamage;
|
||||||
}
|
}
|
||||||
static function float stunDurationMult(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn DamageTaker, class<NiceWeaponDamageType> DmgType){
|
static function float stunDurationMult(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn DamageTaker, class<NiceWeaponDamageType> DmgType){
|
||||||
|
@ -2,7 +2,7 @@ class NiceHFRPFire extends NiceFire;
|
|||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
ProjectileSpeed=1000.000000
|
ProjectileSpeed=2000.000000
|
||||||
FireAimedAnim="Fire_Iron"
|
FireAimedAnim="Fire_Iron"
|
||||||
RecoilRate=0.070000
|
RecoilRate=0.070000
|
||||||
maxVerticalRecoilAngle=70
|
maxVerticalRecoilAngle=70
|
||||||
|
Loading…
Reference in New Issue
Block a user