Running into things while confused Weakens instead of Paralyzes.

Fixes incorrect use of take_organ_damage
This commit is contained in:
HarpyEagle
2016-04-20 16:49:14 +02:00
committed by Hubblenaut
parent a19fd7446b
commit bf3253ca28
+2 -2
View File
@@ -125,10 +125,10 @@ default behaviour is:
..()
if (!istype(AM, /atom/movable) || AM.anchored)
if(confused && prob(50) && m_intent=="run")
Paralyse(1)
Weaken(1)
playsound(loc, "punch", 25, 1, -1)
visible_message("<span class='warning'>[src] [pick("ran", "slammed")] into \the [AM]!</span>")
src.take_organ_damage(5)
src.apply_damage(5, BRUTE)
return
if (!now_pushing)
now_pushing = 1