mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Updates Lightning Bolt Smite (#29662)
* Updates Lightning Bolt Smite * Adds lightning bolt effect
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user