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

54 lines
1.3 KiB
Ucode

//=============================================================================
// KFDT_Ballistic_HX25SubmunitionImpact
//=============================================================================
// Submunition impact damage type for the HX25 Grenade pistol
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// John "Ramm-Jaeger" Gibso
//=============================================================================
class KFDT_Ballistic_HX25SubmunitionImpact 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
EffectGroup=FXG_UnexplodedGrenade
KDamageImpulse=350
KDeathUpKick=120
KDeathVel=10
KnockdownPower=0
StumblePower=75
GunHitPower=0
WeaponDef=class'KFWeapDef_HX25'
//Perk
ModifierPerkList(0)=class'KFPerk_Demolitionist'
}