Updates Lightning Bolt Smite (#29662)

* Updates Lightning Bolt Smite

* Adds lightning bolt effect
This commit is contained in:
PollardTheDragon
2025-06-25 09:23:55 -04:00
committed by GitHub
parent 03b86c2625
commit 9947777511
+4 -3
View File
@@ -2169,10 +2169,11 @@
switch(punishment)
// These smiting types are valid for all living mobs
if("Lightning bolt")
M.electrocute_act(5, "Lightning Bolt", flags = SHOCK_NOGLOVES)
M.electrocute_act(50, "Lightning Bolt", flags = SHOCK_NOGLOVES)
playsound(get_turf(M), 'sound/magic/lightningshock.ogg', 50, TRUE, -1)
M.adjustFireLoss(75)
M.Weaken(10 SECONDS)
var/turf/simulated/T = get_turf(M)
new /obj/effect/temp_visual/thunderbolt(T)
M.adjustFireLoss(30)
to_chat(M, "<span class='userdanger'>The gods have punished you for your sins!</span>")
logmsg = "a lightning bolt."
if("Fire Death")