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

50 lines
1.2 KiB
Ucode

//=============================================================================
// KFDT_Ballistic_SW500
//=============================================================================
// SW500 revolver damage type
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// Jeff Robinson
//=============================================================================
class KFDT_Ballistic_SW500 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 )
{
switch ( InHitZoneName )
{
case 'lupperarm':
case 'rupperarm':
case 'chest':
case 'heart':
case 'lcalf':
case 'rcalf':
case 'lthigh':
case 'rthigh':
return true;
}
return false;
}
defaultproperties
{
GoreDamageGroup=DGT_Shotgun
KDamageImpulse=4500
KDeathUpKick=-700
KDeathVel=350
KnockdownPower=25
StumblePower=60
GunHitPower=200
WeaponDef=class'KFWeapDef_SW500'
ModifierPerkList(0)=class'KFPerk_Gunslinger'
ModifierPerkList(1)=class'KFPerk_Sharpshooter'
}