1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFDT_Ballistic_CenterfireMB464.uc

47 lines
1.3 KiB
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFDT_Ballistic_CenterfireMB464
//=============================================================================
// Ballistic damage with light impact energy, but stronger hit reactions
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
//=============================================================================
class KFDT_Ballistic_CenterfireMB464 extends KFDT_Ballistic_Rifle
abstract
hidedropdown;
/** Allows the damage type to customize exactly which hit zones it can dismember */
static simulated function bool CanDismemberHitZone( name InHitZoneName )
{
if( super.CanDismemberHitZone( InHitZoneName ) )
{
return true;
}
switch ( InHitZoneName )
{
case 'lupperarm':
case 'rupperarm':
return true;
}
return false;
}
defaultproperties
{
KDamageImpulse=2000
KDeathUpKick=400
KDeathVel=250
KnockdownPower=20
StunPower=25 //25
StumblePower=85
GunHitPower=80 //100
MeleeHitPower=0
ModifierPerkList(0)=class'KFPerk_Sharpshooter'
ModifierPerkList(1)=class'KFPerk_Gunslinger'
WeaponDef=class'KFWeapDef_CenterfireMB464'
}