Merge pull request #23586 from KorPhaeron/removesdumbvar

Removes weakeyes
This commit is contained in:
oranges
2017-02-03 00:28:46 +13:00
committed by GitHub
7 changed files with 1 additions and 33 deletions
@@ -99,8 +99,6 @@
//20% chance to actually hit the eyes
if(prob(effectchance * diode.rating) && C.flash_act(severity))
outmsg = "<span class='notice'>You blind [C] by shining [src] in their eyes.</span>"
if(C.weakeyes)
C.Stun(1)
else
outmsg = "<span class='warning'>You fail to blind [C] by shining [src] at their eyes!</span>"
@@ -24,13 +24,7 @@
var/distance = max(0,get_dist(get_turf(src),T))
//Flash
if(M.weakeyes)
M.visible_message("<span class='disarm'><b>[M]</b> screams and collapses!</span>")
M << "<span class='userdanger'><font size=3>AAAAGH!</font></span>"
M.Weaken(15) //hella stunned
M.Stun(15)
M.adjust_eye_damage(8)
else if(M.flash_act(affect_silicon = 1))
if(M.flash_act(affect_silicon = 1))
M.Stun(max(10/max(1,distance), 3))
M.Weaken(max(10/max(1,distance), 3))
//Bang