Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minor Throwing overrides last stun
#1
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.


Messages In This Thread
Throwing overrides last stun - by Tombi - 03-03-2018, 07:01 AM
RE: Throwing overrides last stun - by Superlagg - 03-03-2018, 03:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)