Update mirror.dm

This commit is contained in:
Buggy123
2016-01-10 01:38:44 -05:00
parent 6c9fa9eb72
commit 2d6ba27ce8
+6 -1
View File
@@ -11,6 +11,7 @@
/obj/structure/mirror/attack_hand(mob/user)
if(shattered)
user.changeNext_move(CLICK_CD_MELEE)
return
if(ishuman(user))
@@ -61,6 +62,7 @@
/obj/structure/mirror/attackby(obj/item/I, mob/living/user, params)
user.changeNext_move(CLICK_CD_MELEE)
user.do_attack_animation(src)
if(I.damtype == STAMINA)
return
@@ -90,6 +92,7 @@
/obj/structure/mirror/attack_alien(mob/living/user)
user.changeNext_move(CLICK_CD_MELEE)
user.do_attack_animation(src)
if(islarva(user))
return
@@ -106,6 +109,7 @@
var/mob/living/simple_animal/M = user
if(M.melee_damage_upper <= 0)
return
user.changeNext_move(CLICK_CD_MELEE)
M.do_attack_animation(src)
if(shattered)
playsound(src.loc, 'sound/effects/hit_on_shattered_glass.ogg', 70, 1)
@@ -115,6 +119,7 @@
/obj/structure/mirror/attack_slime(mob/living/user)
user.changeNext_move(CLICK_CD_MELEE)
user.do_attack_animation(src)
if(shattered)
playsound(src.loc, 'sound/effects/hit_on_shattered_glass.ogg', 70, 1)
@@ -246,4 +251,4 @@
if(new_eye_color)
H.eye_color = sanitize_hexcolor(new_eye_color)
H.dna.update_ui_block(DNA_EYE_COLOR_BLOCK)
H.update_body()
H.update_body()