Moves all beam icon states to beams.dmi

This commit is contained in:
Joan Lung
2016-09-10 13:09:44 -04:00
parent c7670b5dbe
commit fbe2430ff8
22 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -272,7 +272,7 @@
closest_mob = A
if(closest_mob)
var/shock_damage = C.powernet.avail * 0.08
src.Beam(closest_mob, icon_state="lightning[rand(1,12)]", icon='icons/effects/effects.dmi', time=5)
src.Beam(closest_mob, icon_state="lightning[rand(1,12)]", time=5)
closest_mob.electrocute_act(shock_damage, src, 1, tesla_shock = 1)//ZAP for 1/5000 of the amount of power, which is from 15-25 with 200000W
playsound(src.loc, 'sound/magic/LightningShock.ogg', 100, 1, extrarange = 5)
take_damage(tforce)