Goonstation Forums
Minor Throwing overrides last stun - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Bug Reports (https://forum.ss13.co/forumdisplay.php?fid=9)
+--- Thread: Minor Throwing overrides last stun (/showthread.php?tid=10088)



Throwing overrides last stun - Tombi - 03-03-2018

Stunning a mob and  then throwing them seems to remove the last stun they had instantly. I am guessing the throw proc overrides the stun rather than checking which lasts longer.

EDIT
Seems to occur in /mob/living/carbon/human/proc/throw_item(atom/target) on the line:
            if ( ishuman© )
                C.weakened = max(src.weakened, 1)


Unsure what is then overriding the stun from this, but when I removed the line the bug stopped happening.


RE: Throwing overrides last stun - Superlagg - 03-03-2018

Hmm. Sounds like a much more effective (and violent) alternative to Help intent!