Makes borgs not stunned when weakened

This commit is contained in:
Heroman
2023-03-29 05:23:04 +10:00
parent 84de2d7fcb
commit b1fbde01e6
@@ -87,7 +87,9 @@
death()
if (src.stat != 2) //Alive.
if (src.paralysis || src.stunned || src.weakened || !src.has_power) //Stunned etc.
if (src.weakened > 0) // Do not fullstun on weaken
AdjustWeakened(-1)
if (src.paralysis || src.stunned || !src.has_power) //Stunned etc.
src.set_stat(UNCONSCIOUS)
if (src.stunned > 0)
AdjustStunned(-1)