41 lines
981 B
Ucode
41 lines
981 B
Ucode
//=============================================================================
|
|
// KFDT_Slashing_KatanaHeavy
|
|
//=============================================================================
|
|
// Killing Floor 2
|
|
// Copyright (C) 2015 Tripwire Interactive LLC
|
|
//=============================================================================
|
|
|
|
class KFDT_Slashing_KatanaHeavy extends KFDT_Slashing_Katana
|
|
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':
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
KDamageImpulse=300
|
|
KDeathUpKick=400
|
|
|
|
StumblePower=50
|
|
MeleeHitPower=100
|
|
|
|
WeaponDef=class'KFWeapDef_Katana'
|
|
|
|
ModifierPerkList(0)=class'KFPerk_Berserker'
|
|
} |