mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +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
@@ -127,7 +127,7 @@
|
||||
desc = "A synthetic banana peel."
|
||||
|
||||
/obj/item/grown/bananapeel/specialpeel/ComponentInitialize()
|
||||
AddComponent(/datum/component/slippery, src, 2, 2, 100, 0, FALSE)
|
||||
AddComponent(/datum/component/slippery, src, 4 SECONDS, 100, 0, FALSE)
|
||||
|
||||
/obj/item/grown/bananapeel/specialpeel/after_slip(mob/living/carbon/human/H)
|
||||
. = ..()
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
/obj/item/grown/nettle/death/pickup(mob/living/carbon/user)
|
||||
if(..())
|
||||
if(prob(50))
|
||||
user.Weaken(5)
|
||||
user.Weaken(10 SECONDS)
|
||||
to_chat(user, "<span class='userdanger'>You are stunned by the Deathnettle when you try picking it up!</span>")
|
||||
|
||||
/obj/item/grown/nettle/death/attack(mob/living/carbon/M, mob/user)
|
||||
@@ -108,8 +108,10 @@
|
||||
to_chat(M, "<span class='danger'>You are stunned by the powerful acid of the Deathnettle!</span>")
|
||||
add_attack_logs(user, M, "Hit with [src]")
|
||||
|
||||
M.AdjustEyeBlurry(force/7)
|
||||
M.AdjustEyeBlurry((force / 7) STATUS_EFFECT_CONSTANT)
|
||||
if(prob(20))
|
||||
M.Paralyse(force / 6)
|
||||
M.Weaken(force / 15)
|
||||
var/paralyze_time = (force * 10 / 3) SECONDS
|
||||
var/stun_time = (force / 7.5) SECONDS
|
||||
M.Paralyse(paralyze_time)
|
||||
M.Weaken(stun_time)
|
||||
M.drop_item()
|
||||
|
||||
Reference in New Issue
Block a user