class UDamageCoronaV expands Effects;

#exec TEXTURE IMPORT NAME=UDamageCoronaV FILE=SKINS\UDamageCoronaV.bmp GROUP=Coronas FLAGS=2
#exec TEXTURE IMPORT NAME=UDamageCoronaV FILE=SKINS\UDamageCoronaV.bmp GROUP=Coronas PALETTE=UDamageCoronaV

simulated function Tick( float DeltaTime)
{
	if (LifeSpan < 2.15)
		LifeSpan = 4.0;

	if (LifeSpan < 3.5 && LifeSpan >= 3.2)
		DrawScale = Default.DrawScale + Default.DrawScale * (3.5 - LifeSpan) * 2.5;
	else if (LifeSpan < 3.2 && LifeSpan >= 2.9)
		DrawScale = Default.DrawScale + Default.DrawScale * (LifeSpan * 0.3 / 3.2) * 2.5;

	bHidden = Owner.bHidden;
}

defaultproperties
{
	DrawType=DT_Sprite
	RemoteRole=ROLE_None
	Texture=UDamageCoronaV
	bUnlit=True
	Style=STY_Translucent
	DrawScale=0.100000
	Physics=PHYS_Trailer
	ScaleGlow=2.000000
	LifeSpan=4.000000
	SpriteProjForward=0.000000
}

