Buff M41A's stun capabilities
This commit is contained in:
parent
d9dce6a29d
commit
64e40d58c9
@ -14,6 +14,7 @@ var float prReqPrecise; // How precise must head-shot be
|
||||
var float lockonTime;
|
||||
var float flinchMultiplier; // How effective is weapon for flinching zeds
|
||||
var float stunMultiplier; // How effective is weapon for stunning zeds
|
||||
var float stunLengthMultiplier; // For how long is weapon going to stun zeds
|
||||
var float heatPart; // How much of this damage should be a heat component?
|
||||
var float freezePower; // How good is weapon at freezing?
|
||||
var float bodyDestructionMult; // How much more damage do to body on a head-shot?
|
||||
@ -84,6 +85,7 @@ defaultproperties
|
||||
prReqPrecise=0.750000
|
||||
flinchMultiplier=1.000000
|
||||
stunMultiplier=1.000000
|
||||
stunLengthMultiplier=1.000000
|
||||
bodyDestructionMult=1.000000
|
||||
headSizeModifier=1.000000
|
||||
BigZedPenDmgReduction=0.500000
|
||||
|
@ -10,4 +10,6 @@ defaultproperties
|
||||
KDeathVel=1400.000000
|
||||
KDeathUpKick=150.000000
|
||||
VehicleDamageScaling=0.700000
|
||||
stunMultiplier=3.0
|
||||
stunLengthMultiplier=2.0
|
||||
}
|
||||
|
@ -1286,8 +1286,9 @@ function float GetstunDurationMult( Pawn instigatedBy,
|
||||
if(KFPRI == none) return stunDurationMultiplier;
|
||||
niceVet = class<NiceVeterancyTypes>(KFPRI.ClientVeteranSkill);
|
||||
if(niceVet == none) return stunDurationMultiplier;
|
||||
if(damageType == none) return stunDurationMultiplier;
|
||||
// Perk's bonuses out
|
||||
return stunDurationMultiplier *
|
||||
return stunDurationMultiplier * damageType.default.stunLengthMultiplier *
|
||||
niceVet.static.stunDurationMult( KFPRI, self, KFPawn(instigatedBy),
|
||||
damageType);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user