1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFDT_Slashing_FireAxeHeavy.uc
2020-12-13 18:09:05 +03:00

43 lines
1011 B
Ucode

//=============================================================================
// KFDT_Slashing_FireAxeHeavy
//=============================================================================
// Killing Floor 2
// Copyright (C) 2017 Tripwire Interactive LLC
//=============================================================================
class KFDT_Slashing_FireAxeHeavy extends KFDT_Slashing_FireAxe
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=2500
KDeathUpKick=700
KDeathVel=700
StumblePower=75
StunPower=100 //75
MeleeHitPower=100
WeaponDef=class'KFWeapDef_FireAxe'
ModifierPerkList(0)=class'KFPerk_Berserker'
}