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

49 lines
1.2 KiB
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFDT_Slashing_IonThrusterSpecial
//=============================================================================
// Killing Floor 2
// Copyright (C) 2019 Tripwire Interactive LLC
//=============================================================================
class KFDT_Slashing_IonThrusterSpecial extends KFDT_Slashing_IonThruster
2020-12-13 15:09:05 +00:00
abstract;
2020-12-13 15:01:13 +00:00
/** 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
{
// Physics
KDamageImpulse=5000
KDeathUpKick=2000
KDeathVel=3750
// Afflictions
KnockdownPower=500
StumblePower=500
MeleeHitPower=500
BurnPower=150
BurnDamageType = class'KFDT_Fire_IonThrusterDoT'
EffectGroup=FXG_Slashing_Ion
GoreDamageGroup=DGT_Fire
WeaponDef=class'KFWeapDef_IonThruster'
ModifierPerkList(0)=class'KFPerk_Berserker'
}