anchor.diff:  	user.Beam(target,icon_state="lightning",icon='icons/effects/effects.dmi',time=5)
   
   	switch(energy)
  -		if(0 to 25)
  +		if(1 to 25)
   			target.electrocute_act(10,"Lightning Bolt")
   			playsound(get_turf(target), 'sound/machines/defib_zap.ogg', 50, 1, -1)
   		if(25 to 75)
  
positive.code: 
  
  /obj/effect/proc_holder/spell/targeted/lightning/cast(list/targets, mob/user = usr)
  
  	var/mob/living/carbon/target = targets[1]
  
  	if(get_dist(user,target)>range)
  
negative.code: 	user.overlays.Add(halo)
  	spawn(0)
  		while(ready)
  			energy++
  			if(energy >= 100 && ready)
  				Discharge()
  			sleep(1)
  
  obj/effect/proc_holder/spell/targeted/lightning/proc/Reset(mob/user = usr)
  	ready = 0
  