This commit is contained in:
kevinz000
2020-02-24 01:59:45 -07:00
parent f6542b381c
commit 424eb48d9e
11 changed files with 95 additions and 57 deletions
+2 -4
View File
@@ -107,9 +107,7 @@
if(P && !ismob(P) && P.density)
mob.setDir(turn(mob.dir, 180))
///Process_Grab()
///Called by client/Move()
///Checks to see if you are being grabbed and if so attemps to break it
/// Process_Grab(): checks for grab, attempts to break if so. Return TRUE to prevent movement.
/client/proc/Process_Grab()
if(mob.pulledby)
if(mob.incapacitated(ignore_restraints = 1))
@@ -120,7 +118,7 @@
to_chat(src, "<span class='warning'>You're restrained! You can't move!</span>")
return TRUE
else
return mob.resist_grab(1)
return !mob.attempt_resist_grab(TRUE)
///Process_Incorpmove
///Called by client/Move()