//=============================================================================
// Flame
//=============================================================================
class FlameSpray extends FlameTendril;


simulated function Explode(vector HitLocation,vector HitNormal)
{

    if ( Role == ROLE_Authority )
    {
        HurtRadius(Damage, DamageRadius, MyDamageType, MomentumTransfer, HitLocation );
    }

   	//PlaySound(ImpactSound, SLOT_Misc);
	if ( EffectIsRelevant(Location,false) )
	{
	    Spawn(ExplosionDecal,,, Location);

	    //Spawn(class'Exp',,, Location, Rotation);
	    //Spawn(class'InvisBullet',,, Location);


	}
    SetCollisionSize(0.0, 0.0);
	Destroy();
}


simulated function PostBeginPlay()
{
	Super.PostBeginPlay();

	Velocity = Speed * Vector(Rotation); // starts off slower so combo can be done closer

    SetTimer(0.4, false);

    /*

    if ( Level.NetMode != NM_DedicatedServer )
    {
        if ( !PhysicsVolume.bWaterVolume )
        {

            //Trail = Spawn(class'KFMonsterFlame',self);
            Trail.Lifespan = Lifespan;
        }

    }
    */
}

function Timer()
{
    SetCollisionSize(20, 20);
}



defaultproperties
{
     DamageAtten=5.000000
     PenDamageReduction=0
     Speed=1500.000000
     MaxSpeed=2000.000000
     Damage=10.000000
     DamageRadius=50.000000
     MomentumTransfer=0.000000
     MyDamageType=Class'DamTypeBurned'

}
