mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
[Ready] Refactors stuns and status effects. (#17579)
* Fixes reviver runtime * Confusion status effect * Dizzy status effect * Drowsiness status effect * decaying -> transient * Drunkenness status effect * why use timer when SSfastprocessing work good * stuns (mostly) * weaken and immobalise * stun/weaken times * update_flags redundancies. * Slowed() * Silence + fixes transient decay * Jittery * sleeping * Paralyze -> weaken * Cult sluring * paralyse * Stammer * slurring + projectile cleanups * losebreath * Hallucination * forgor this * eyeblurry * eye blind * Druggy * affected didn't like my spacing * review pass * second review pass * some cleanups * documentation and signal framework * confusion fix * Fixes spec_stun * rejuv fix * removes a TODO * conflicted myself * fixes * self review * review * removes TODOs * adminfreeze * TM fixes * hallucination fix + others * tones down alchol and runtime fixes * confusion overlay suggestion * more fixes * runtime fix * losebreath fix * clamp => directional bounded sum * steel review * oops Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * reduces the dizziness cycle rate * borg hotfix * sanctified decursening Co-authored-by: mochi <1496804+dearmochi@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
co-authored by
SteelSlayer
mochi
parent
b32fb92770
commit
0f7a8707ef
@@ -22,34 +22,25 @@
|
||||
if(prob(50))
|
||||
affected_mob.emote("laugh")
|
||||
if(prob(50))
|
||||
affected_mob.Jitter(25)
|
||||
affected_mob.Jitter(50 SECONDS)
|
||||
if(2)
|
||||
if(prob(50))
|
||||
affected_mob.visible_message("<span class='danger'>[affected_mob] laughs uncontrollably!</span>")
|
||||
affected_mob.Stun(10)
|
||||
affected_mob.Weaken(10)
|
||||
affected_mob.Jitter(250)
|
||||
affected_mob.drop_l_hand()
|
||||
affected_mob.drop_r_hand()
|
||||
affected_mob.Weaken(20 SECONDS)
|
||||
affected_mob.Jitter(500 SECONDS)
|
||||
if(3)
|
||||
if(prob(25))
|
||||
to_chat(affected_mob, "<span class='danger'>You feel like you are about to drop dead!</span>")
|
||||
to_chat(affected_mob, "<span class='danger'>Your body convulses painfully!</span>")
|
||||
affected_mob.drop_l_hand()
|
||||
affected_mob.drop_r_hand()
|
||||
affected_mob.adjustBruteLoss(5)
|
||||
affected_mob.adjustOxyLoss(5)
|
||||
affected_mob.Stun(10)
|
||||
affected_mob.Weaken(10)
|
||||
affected_mob.Jitter(250)
|
||||
affected_mob.Weaken(20 SECONDS)
|
||||
affected_mob.Jitter(500 SECONDS)
|
||||
affected_mob.visible_message("<span class='danger'>[affected_mob] laughs uncontrollably!</span>")
|
||||
if(4)
|
||||
if(prob(25))
|
||||
to_chat(affected_mob, "<span class='danger'>You feel like you are going to die!</span>")
|
||||
affected_mob.adjustOxyLoss(75)
|
||||
affected_mob.adjustBruteLoss(75)
|
||||
affected_mob.drop_l_hand()
|
||||
affected_mob.drop_r_hand()
|
||||
affected_mob.Stun(10)
|
||||
affected_mob.Weaken(10)
|
||||
affected_mob.Weaken(20 SECONDS)
|
||||
affected_mob.visible_message("<span class='danger'>[affected_mob] laughs uncontrollably!</span>")
|
||||
|
||||
Reference in New Issue
Block a user