This commit is contained in:
kevinz000
2020-01-16 19:18:54 -07:00
parent b22e1a1cb4
commit 14aaca8fa5
13 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
to_chat(user, "<span class='notice'>You cannot [key] while dead.</span>")
return FALSE
var/mob/living/L = user
if(restraint_check && (istype(L) && !CHECK_MOBILITY(user, MOBILITY_USE)))
if(restraint_check && (istype(L) && !CHECK_MOBILITY(L, MOBILITY_USE)))
if(!intentional)
return FALSE
to_chat(user, "<span class='notice'>You cannot [key] while stunned.</span>")
+1 -1
View File
@@ -99,7 +99,7 @@
text_gain_indication = "<span class='danger'>You twitch.</span>"
/datum/mutation/human/tourettes/on_life(mob/living/carbon/human/owner)
if(prob(10) && owner.stat == CONSCIOUS && !owner.IsStun())
if(prob(10) && owner.stat == CONSCIOUS && !owner._REFACTORING_IsStun())
owner.Stun(200)
switch(rand(1, 3))
if(1)