
EffectDefinition
{
	EffectComponent ParticleEffect "fireball_shoot_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[2.0,3.0]
		BlendMode		add
		Texture			"data/gfx/particles/fireball/fireball_ember_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=20
				duration=0.05
				delay=0
				orientation=[-360,360]
				speed=[200,400]
				rotationalSpeed=[-30,30]
				direction=[250,290]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-5,5]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,400)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				
			}
			
			Alpha
			{
				age=0, alpha=255				
				age=1, alpha=60
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=.2, scale=(0.6,0.4)
				age=.4, scale=(0.4,0.6)
				age=.6, scale=(0.5,0.3)
				age=.8, scale=(0.2,0.1)
				age=1, scale=(0.0,0.0)

				
			}
		}
	}

	EffectComponent ParticleEffect "fireball_solid_burst"
	{
		RepeatTime		0
		ParticleLifespan	[0.9,1.0]
		BlendMode		alpha
		Texture			"data/gfx/particles/fireball/fireball_base_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[-40,40]
				direction=[0,360]
				spawnOffsetAbsX=[-20,20]
				spawnOffsetAbsY=[-20,20]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				age=0.8, rgb=(255,150,150)
				age=0.9, rgb=(50,20,20)
				age=1, rgb=(10,0,0)
				
			}
			
			Alpha
			{
				age=0, alpha=220 				
				age=0.7, alpha=90 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(1.5,1.5)

				
			}
		}
	}
	

	EffectComponent ParticleEffect "fireball_add_burst"
	{
		RepeatTime		0
		ParticleLifespan	[0.5,0.7]
		BlendMode		add
		Texture			"data/gfx/particles/fireball/fireball_base_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[40,40]
				direction=[0,360]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=[-5,5]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				
			}
			
			Alpha
			{
				age=0, alpha=100 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(1.5,0.5)

				
			}
		}
	}

	EffectComponent ParticleEffect "fireball_dir_burst"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/fireball/fireball_ember_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[140,160]
				rotationalSpeed=[40,40]
				direction=[260,280]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[-2,2]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				
			}
			
			Alpha
			{
				age=0, alpha=150 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.0,2.0)
				age=1, scale=(1.0,1.0)

				
			}
		}
	}


	
}