Fixes Jestosteron and Clipboard runtime (#17509)

* clipboard fix

* jestosterone runtime fix
This commit is contained in:
Sirryan2002
2022-03-27 11:33:03 +01:00
committed by GitHub
parent be3f80591e
commit a3e7a0a700
2 changed files with 7 additions and 11 deletions
@@ -464,12 +464,12 @@
C.AddElement(/datum/element/waddling)
/datum/reagent/jestosterone/on_mob_life(mob/living/carbon/M)
if(!istype(M))
return ..()
var/update_flags = STATUS_UPDATE_NONE
if(prob(10))
M.emote("giggle")
if(M?.mind.assigned_role == "Clown")
if(!M.mind)
return ..() | update_flags
if(M.mind.assigned_role == "Clown")
update_flags |= M.adjustBruteLoss(-1.5 * REAGENTS_EFFECT_MULTIPLIER) //Screw those pesky clown beatings!
else
M.AdjustDizzy(10, 0, 500)
@@ -489,7 +489,7 @@
"Your legs feel like jelly.",
"You feel like telling a pun.")
to_chat(M, "<span class='warning'>[pick(clown_message)]</span>")
if(M?.mind.assigned_role == "Mime")
if(M.mind.assigned_role == "Mime")
update_flags |= M.adjustToxLoss(1.5 * REAGENTS_EFFECT_MULTIPLIER)
return ..() | update_flags