//=============================================================================
// DamTypeSealSquealExplosion
//=============================================================================
// Damage type for the seal squeal harpoon bomb launcher
//=============================================================================
// Killing Floor Source
// Copyright (C) 2013 Tripwire Interactive LLC
// - John "Ramm-Jaeger" Gibson
//=============================================================================
class DamTypeSealSquealExplosion extends KFWeaponDamageType;

static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth)
{
	HitEffects[0] = class'HitSmoke';
	if( VictimHealth <= 0 )
		HitEffects[1] = class'KFHitFlame';
	else if ( FRand() < 0.8 )
		HitEffects[1] = class'KFHitFlame';
}

defaultproperties
{
    WeaponClass=Class'KFMod.SealSquealHarpoonBomber'
    DeathString="%o filled %k's body with shrapnel."
    FemaleSuicide="%o blew up."
    MaleSuicide="%o blew up."
    bKUseOwnDeathVel=True
    DamageThreshold=1
    bIsPowerWeapon=false
    bCheckForHeadShots=false
    bLocationalHit=false
	KDamageImpulse=3000
    KDeathVel=300
	KDeathUpKick=250
	bExtraMomentumZ=true
    bThrowRagdoll=True
    bIsExplosive=True

	HumanObliterationThreshhold=150

	DeathOverlayMaterial=Material'Effects_Tex.PlayerDeathOverlay'
	DeathOverlayTime=999
}

