<Entity 
  name="$projectile_default" 
   >

	<Base file="data/entities/base_projectile.xml" >
		<VelocityComponent
    		gravity_y="0"
			air_friction="-1"
			mass="550.9"
			>
    	</VelocityComponent> 
	</Base>

  <ProjectileComponent 
    _enabled="1" 
	lob_min="0.8"
  	lob_max="1.0"
  	speed_min="400"
  	speed_max="420"
    die_on_low_velocity="0"
    on_death_explode="1"
    on_death_gfx_leave_sprite="0" 
    on_lifetime_out_explode="1"
	explosion_dont_damage_shooter="0"
    damage="2"
    on_collision_die="1"
	spawn_entity="data/clockwork_gfx/spells/infinity_stones/projectile/PSPB.xml"
    lifetime="100"
	shoot_light_flash_r="147"
    shoot_light_flash_g="112"
    shoot_light_flash_b="219"
    shoot_light_flash_radius="360"
	knockback_force="5.0"
	>
    <damage_by_type 
		electricity="2.5"
        fire="1"		
	>
    </damage_by_type>
    <config_explosion
      never_cache="1" 
      camera_shake="40.5" 
      explosion_radius="65" 
      explosion_sprite="data/clockwork_gfx/spells/infinity_stones/projectile/power_stone_gfx/power_arc_A.xml"
	  load_this_entity="data/entities/particles/particle_explosion/main_pink.xml,data/entities/misc/loose_ground.xml"
      explosion_sprite_lifetime="0.0" 
      create_cell_probability="90" 
      create_cell_material="plasma_fading_pink" 
	  explosion_sprite_emissive="1"
	  explosion_sprite_additive="1"
	  ray_energy="999999"
      hole_destroy_liquid="1" 
      hole_enabled="1" 
	  damage="4.8"
      hole_image="data/temp/explosion_hole.png" 
      particle_effect="0" 
      damage_mortals="1" 
	  physics_explosion_power.min="4.5"
      physics_explosion_power.max="5.6" 
	  physics_throw_enabled="1"
      shake_vegetation="1"  
      sparks_enabled="1" 
      sparks_count_max="8000" 
      sparks_count_min="9000"
	  spark_material="spark_purple"
      light_fade_time="1.2" 
	  light_r="147"
	  light_g="112"
      light_b="219"
      stains_enabled="1" 
      stains_image="data/temp/explosion_stain.png" >
    </config_explosion>
  </ProjectileComponent>
  
  <SpriteComponent 
    _enabled="1" 
    alpha="1" 
    image_file="data/clockwork_gfx/spells/infinity_stones/projectile/power_stone_gfx/powerball.xml" 
    next_rect_animation="" 
    offset_x="8" 
    offset_y="8" 
    rect_animation="fireball" 
	emissive="1"
    additive="1"
     
	update_transform_rotation="0"
	>
  </SpriteComponent>
  
  <LightComponent 
    _enabled="1" 
    radius="150" 
    r="147"
    g="112"
    b="219">
  </LightComponent>
  
  <SpriteParticleEmitterComponent
    sprite_file="data/clockwork_gfx/spells/infinity_stones/projectile/power_stone_gfx/power_arc_B.xml"
    delay="0"
    lifetime="0"
    color.r="1" color.g="1" color.b="1" color.a="1"
    color_change.r="0" color_change.g="0" color_change.b="0" color_change.a="0"
    velocity.x="0" velocity.y="0"
    gravity.x="0" gravity.y="10"
    velocity_slowdown="0"
    rotation="0"
    angular_velocity="0"
    use_velocity_as_rotation="0"
    scale.x="1" scale.y="1"
    scale_velocity.x="0" scale_velocity.y="0"
    emission_interval_min_frames="1"
    emission_interval_max_frames="2"
    count_min="1" count_max="3"
    randomize_rotation.min="-3.1415"
    randomize_rotation.max="3.1415"
    randomize_position.min_x="-14"
    randomize_position.max_x="14"
    randomize_position.min_y="-14"
    randomize_position.max_y="14"
    >
  </SpriteParticleEmitterComponent>

  <AudioLoopComponent
      file="data/audio/Desktop/projectiles.snd"
      event_name="projectiles/electric/loop"
      auto_play="1">
  </AudioLoopComponent>
 </Entity>