Sec levels + dodgeball work

This commit is contained in:
ZomgPonies
2013-11-26 07:35:50 -05:00
parent 311adbd374
commit d7e91ed2ee
5 changed files with 23 additions and 21 deletions
+3 -3
View File
@@ -67,14 +67,14 @@
/obj/item/weapon/beach_ball/dodgeball/throw_impact(atom/hit_atom)
if((ishuman(hit_atom)))
var/mob/living/carbon/M = hit_atom
if(dir&get_dir(src,M))
if(!dir&get_dir(src,M))
if(M.in_throw_mode && !M.get_active_hand()) //empty active hand and we're in throw mode
if(M.canmove && !M.restrained())
M.hitby(src)
else
playsound(src, 'sound/items/dodgeball.ogg', 50, 1)
visible_message("\red [M] HAS BEEN ELIMINATED!!", 3)
spawn(0)
/* spawn(0)
var/mobloc = get_turf(M.loc)
var/atom/movable/overlay/animation = new /atom/movable/overlay( mobloc )
animation.name = "water"
@@ -84,4 +84,4 @@
animation.icon_state = "liquify"
animation.layer = 5
// animation.master = holder
del(M)
del(M)*/