//============================================================================= // KFDT_Slashing_Knife_Medic //============================================================================= // Class Description //============================================================================= // Killing Floor 2 // Copyright (C) 2015 Tripwire Interactive LLC // - Christian "schneidzekk" Schneider 1/8/2015 //============================================================================= class KFDT_Slashing_Knife_Medic extends KFDT_Slashing_Knife abstract hidedropdown; /** Called when damage is dealt to apply additional damage type (e.g. Damage Over Time) */ static function ApplySecondaryDamage( KFPawn Victim, int DamageTaken, optional Controller InstigatedBy ) { local class ToxicDT; ToxicDT = class'KFDT_Ballistic_Assault_Medic'.static.GetMedicToxicDmgType( DamageTaken, InstigatedBy ); if ( ToxicDT != None ) { Victim.ApplyDamageOverTime(DamageTaken, InstigatedBy, ToxicDT); } } defaultproperties { GunHitPower=44 }