03-03-2018, 07:01 AM
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.
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.