This commit is contained in:
ZomgPonies
2015-11-21 10:46:16 -05:00
parent d96741eb8c
commit 66202ff4b6
3 changed files with 11 additions and 11 deletions
+6 -5
View File
@@ -109,11 +109,12 @@
return 1
else if(issilicon(M))
var/mob/living/silicon/robot/R = M
if(R.activated(/obj/item/borg/combat/shield))
add_logs(M, user, "flashed", object="[src.name]")
user.visible_message("<span class='disarm'>[user] tries to overloads [M]'s sensors with the [src.name], but if blocked by [M]'s shield!</span>", "<span class='danger'>You try to overload [M]'s sensors with the [src.name], but are blocked by his shield!</span>")
return 1
if(isrobot(M))
var/mob/living/silicon/robot/R = M
if(R.activated(/obj/item/borg/combat/shield))
add_logs(M, user, "flashed", object="[src.name]")
user.visible_message("<span class='disarm'>[user] tries to overloads [M]'s sensors with the [src.name], but if blocked by [M]'s shield!</span>", "<span class='danger'>You try to overload [M]'s sensors with the [src.name], but are blocked by his shield!</span>")
return 1
else
M.Weaken(rand(5,10))
add_logs(M, user, "flashed", object="[src.name]")