mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Converts jittering to status effect, striking yet another mob level status value (#66852)
Converts jittering to status effect, striking yet another mob level status value
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
var/mob/living/carbon/human/U = user
|
||||
if(!istype(U.dna.species, /datum/species/skeleton))
|
||||
U.adjustStaminaLoss(35) //Extra Damage
|
||||
U.Jitter(35)
|
||||
U.set_timed_status_effect(70 SECONDS, /datum/status_effect/jitter, only_if_higher = TRUE)
|
||||
U.set_timed_status_effect(40 SECONDS, /datum/status_effect/speech/stutter)
|
||||
if(U.getStaminaLoss() > 95)
|
||||
to_chat(U, "<font color ='red', size ='4'><B>Your ears weren't meant for this spectral sound.</B></font>")
|
||||
@@ -35,7 +35,7 @@
|
||||
if(istype(H.dna.species, /datum/species/zombie))
|
||||
H.adjustStaminaLoss(25)
|
||||
H.Paralyze(15) //zombies can't resist the doot
|
||||
C.Jitter(35)
|
||||
C.set_timed_status_effect(70 SECONDS, /datum/status_effect/jitter, only_if_higher = TRUE)
|
||||
C.set_timed_status_effect(40 SECONDS, /datum/status_effect/speech/stutter)
|
||||
if((!istype(H.dna.species, /datum/species/skeleton)) && (!istype(H.dna.species, /datum/species/golem)) && (!istype(H.dna.species, /datum/species/android)) && (!istype(H.dna.species, /datum/species/jelly)))
|
||||
C.adjustStaminaLoss(25) //boneless humanoids don't lose the will to live
|
||||
@@ -43,7 +43,7 @@
|
||||
INVOKE_ASYNC(src, .proc/spectral_change, H)
|
||||
|
||||
else //the sound will spook monkeys.
|
||||
C.Jitter(15)
|
||||
C.set_timed_status_effect(30 SECONDS, /datum/status_effect/jitter, only_if_higher = TRUE)
|
||||
C.set_timed_status_effect(40 SECONDS, /datum/status_effect/speech/stutter)
|
||||
|
||||
/datum/element/spooky/proc/spectral_change(mob/living/carbon/human/H, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user