[510] Flashes work now, and don't permastun

This commit is contained in:
Tigercat2000
2016-02-28 19:13:55 -08:00
parent 131c9a2c85
commit 902bac2ca6
+1 -1
View File
@@ -115,7 +115,7 @@
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
add_logs(M, user, "flashed", object="[src.name]")
if(M.flash_eyes())
if(M.flash_eyes(affect_silicon = 1))
M.Weaken(rand(5,10))
user.visible_message("<span class='disarm'>[user] overloads [M]'s sensors with the [src.name]!</span>", "<span class='danger'>You overload [M]'s sensors with the [src.name]!</span>")
return 1