
EffectDefinition
{
	EffectComponent ParticleEffect "smoke"
	{
		RepeatTime		.1
		ParticleLifespan	[0.8,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=[10,20]
				rotationalSpeed=[10,30]
				direction=[260, 280]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=-20
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(2.0,2.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		.2
		ParticleLifespan	[0.8,1.2]
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=[10,20]
				rotationalSpeed=[10,30]
				direction=[260, 280]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.6, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.2,2.2)
				age=1, scale=(4.0,4.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			

		}
	}

	EffectComponent ParticleEffect "crystal ball glow"
	{
		RepeatTime			3
		ParticleLifespan	2.5
		BlendMode			add
		Texture				"data/gfx/particles/blurcircle_01"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				delay=.9
				count=2
				spawnOffsetAbsY=3
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.9, alpha=200
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
			Scale
			{
				age=0, scale=(1,1)
			}
		}
	}

/*
	EffectComponent ParticleEffect "lightning"
	{
		RepeatTime		1
		ParticleLifespan	1.1
		BlendMode		add
		AnimSequence		"lightning_small"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0.4
				orientation=[0,360]
				speed=0
				rotationalSpeed=[50,90]
				direction=270
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=100				
				age=0.7, alpha=100				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.8,0.8)
				age=0.5, scale=(0.9,0.9)
				age=1, scale=(0.8,0.8)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}
*/
	EffectComponent ParticleEffect "halo glow"
	{
		RepeatTime		2
		ParticleLifespan	2.3
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}			


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)			
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=60				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.0, 2.0)
				age=0.5, scale=(2.2, 2.2)
				age=1, scale=(2.0, 2.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}

	EffectComponent ParticleEffect "wing shine sparkle"
	{
		RepeatTime		3
		ParticleLifespan	0.75
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=0
				speed=200
				rotationalSpeed=-50
				direction=0
				spawnOffsetAbsX=-20
				spawnOffsetAbsY=-15
			}
			
			// right
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=0
				speed=200
				rotationalSpeed=50
				direction=180
				spawnOffsetAbsX=20
				spawnOffsetAbsY=-15
			}


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-35)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 220, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=200				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4, 0.4)
				age=0, scale=(1.1, 1.1)
				age=1, scale=(0.5, 0.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}

	EffectComponent ParticleEffect "wing shine"
	{
		RepeatTime		3
		ParticleLifespan	0.75
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=0
				speed=200
				rotationalSpeed=-50
				direction=0
				spawnOffsetAbsX=-20
				spawnOffsetAbsY=15
			}
			
			// right
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=0
				speed=200
				rotationalSpeed=50
				direction=180
				spawnOffsetAbsX=20
				spawnOffsetAbsY=15
			}


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 220, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=120				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.8, 1.5)				
				age=1, scale=(0.5, 0.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}
		
}