mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Confusion will no longer continue to confuse after being cured (#52286)
* Confusion will no longer continue to confuse after being cured * Grammar comment fix * Move to status effect * Remove test per request * Make confusion a status effect, confusion curing now completely neuters the confusion * set_confusion changes, get_confusion * Fix confusion going down twice per tick * Change strength = to proc * Move procs to status_procs
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
return
|
||||
var/mob/living/carbon/human/H = AM
|
||||
if(has_gravity(loc) && HAS_TRAIT(H, TRAIT_CLUMSY) && !H.resting)
|
||||
H.confused = max(H.confused, 10)
|
||||
H.set_confusion(max(H.get_confusion(), 10))
|
||||
H.Stun(20)
|
||||
playsound(src, 'sound/weapons/punch4.ogg', 50, TRUE)
|
||||
H.visible_message("<span class='warning'>[H] steps on [src] causing the handle to hit [H.p_them()] right in the face!</span>", \
|
||||
|
||||
Reference in New Issue
Block a user