1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFDT_Ballistic_Deagle.uc
2020-12-13 18:01:13 +03:00

49 lines
1.2 KiB
Ucode

//=============================================================================
// KFDT_Ballistic_Deagle
//=============================================================================
// Pistol damage type for the desert eagle pistol
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// John "Ramm-Jaeger" Gibson
//=============================================================================
class KFDT_Ballistic_Deagle extends KFDT_Ballistic_Handgun
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':
case 'chest':
case 'heart':
return true;
}
return false;
}
defaultproperties
{
KDamageImpulse=2500
KDeathUpKick=-500
KDeathVel=250
KnockdownPower=20
StumblePower=30
GunHitPower=150
WeaponDef=class'KFWeapDef_Deagle'
ModifierPerkList(0)=class'KFPerk_Gunslinger'
}