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

44 lines
1.0 KiB
Ucode

//=============================================================================
// KFDT_Slashing_ZweihanderHeavy
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
//=============================================================================
class KFDT_Slashing_ZweihanderHeavy 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=1600
KDeathUpKick=200
KDeathVel=500
KnockdownPower=0
StunPower=0
StumblePower=100
MeleeHitPower=100
WeaponDef=class'KFWeapDef_Zweihander'
ModifierPerkList(0)=class'KFPerk_Berserker'
}