Wand of Death now gibs people

This commit is contained in:
TullyBurnalot
2017-01-05 22:39:38 +00:00
parent f915b24de4
commit 77371a6730
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -67,7 +67,8 @@
var/message ="<span class='warning'>You irradiate yourself with pure energy! "
message += pick("Do not pass go. Do not collect 200 zorkmids.</span>","You feel more confident in your spell casting skills.</span>","You Die...</span>","Do you want your possessions identified?</span>")
to_chat(user, message)
user.adjustFireLoss(500)
user.gib()
visible_message("<span class='danger'>[user] has paid the ultimate price for innapropriate wand discipline!")
charges--
..()
@@ -21,6 +21,12 @@
damage_type = BRUTE
nodamage = 0
/obj/item/projectile/magic/death/on_hit(var/mob/living/carbon/G)
. = ..()
if(ismob(G))
G.gib()
visible_message("<span class='danger'>[G] explodes violently!")
/obj/item/projectile/magic/fireball/Range()
var/turf/T1 = get_step(src,turn(dir, -45))
var/turf/T2 = get_step(src,turn(dir, 45))