EffectDefinition
{
	EffectComponent ParticleEffect "lightning_line_base"
	{
		RepeatTime		0.5
		ParticleLifespan	0.8
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=-24
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=24
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(120,150,255)		
			}
			
			Alpha
			{

				age=0, alpha=0
				age=0.3, alpha=150
				age=0.7, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,10.5)		
				age=0.5, scale=(0.5,11.7)
				age=1.0, scale=(0.4,10.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "lightning_line_base add"
	{
		RepeatTime		0.5
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=-24
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=24
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(120,150,255)		
			}
			
			Alpha
			{

				age=0, alpha=0
				age=0.3, alpha=185
				age=0.7, alpha=185
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,10.5)		
				age=0.5, scale=(0.3,11.7)
				age=1.0, scale=(0.2,10.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	
	EffectComponent ParticleEffect "lightning_line_base sides"
	{
		RepeatTime		0.2
		ParticleLifespan	0.4
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=50
				rotationalSpeed=0
				direction=180
				spawnOffsetAbsX=-24
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=50
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=24
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(120,150,255)		
			}
			
			Alpha
			{

				age=0, alpha=85				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,10.5)		
				age=0.5, scale=(0.3,11.7)
				age=1.0, scale=(0.2,10.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "lightning_ball_electricity"
	{
		RepeatTime		0.15
		ParticleLifespan	1.3
		BlendMode		add
		AnimSequence		"lightning_small"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=250
				rotationalSpeed=150
				direction=270
				spawnOffsetAbsX=-24
				spawnOffsetAbsY=180
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=250
				rotationalSpeed=-150
				direction=270
				spawnOffsetAbsX=24
				spawnOffsetAbsY=180
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(100,130,200)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=215
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)		
				age=0.5, scale=(0.7,0.7)
				age=1.0, scale=(0.3,0.3)					
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	
	
}