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

49 lines
1.2 KiB
Ucode

//=============================================================================
// KFDT_Ballistic_HRGBuckshot
//=============================================================================
// Ballistic damage with light impact energy, but stronger hit reactions
//=============================================================================
// Killing Floor 2
// Copyright (C) 2019 Tripwire Interactive LLC
//=============================================================================
class KFDT_Ballistic_HRGBuckshot extends KFDT_Ballistic_Shotgun
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
{
BloodSpread=0.4
BloodScale=0.6
KDamageImpulse=1250
KDeathUpKick=400
KDeathVel=300
GibImpulseScale=1.0
StumblePower=15
GunHitPower=25
WeaponDef=class'KFWeapDef_SW500_HRG'
}