mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Adds emp act for viscerators (#5832)
* Adds emp act for viscerators * use a timer * Lose the target and bump the time
This commit is contained in:
@@ -172,3 +172,13 @@
|
||||
new /obj/effect/gibspawner/robot(T)
|
||||
spark(T, 3, alldirs)
|
||||
qdel(src)
|
||||
|
||||
/mob/living/simple_animal/hostile/viscerator/proc/wakeup()
|
||||
stance = HOSTILE_STANCE_IDLE
|
||||
|
||||
/mob/living/simple_animal/hostile/viscerator/emp_act(severity)
|
||||
LoseTarget()
|
||||
stance = HOSTILE_STANCE_TIRED
|
||||
addtimer(CALLBACK(src, .proc/wakeup), 150)
|
||||
if(severity == 1.0)
|
||||
apply_damage(5)
|
||||
Reference in New Issue
Block a user