mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 05:51:56 +00:00
AI now handles EMP-stun like other creatures do in their life.dm file
Previously AI would be stunned indefinitely after being hit with an EMP-blast. This would prevent emergency shutters from being operated. The stun status is now adjusted down in the Life()-proc like is done in the base living.dm, which the AI living.dm does not ..() call.
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
// Gain Power
|
||||
adjustOxyLoss(-1)
|
||||
|
||||
// Handle EMP-stun
|
||||
if(stunned)
|
||||
AdjustStunned(-1)
|
||||
|
||||
//stage = 1
|
||||
//if (istype(src, /mob/living/silicon/ai)) // Are we not sure what we are?
|
||||
var/blind = 0
|
||||
|
||||
Reference in New Issue
Block a user