Fixes IPC and Diona Knockdown Immunity

This commit is contained in:
Fox-McCloud
2017-07-20 21:01:55 -04:00
parent 3aa2558b98
commit 02f74932e2
25 changed files with 76 additions and 124 deletions
-4
View File
@@ -12,8 +12,6 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
if(affected == null)
return 0
if(affected.status & ORGAN_DESTROYED)
return 0
if(affected.status & ORGAN_ROBOT)
return 0
return 1
@@ -215,8 +213,6 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
if(affected == null)
return 0
if(affected.status & ORGAN_DESTROYED)
return 0
return !affected.cannot_amputate
/datum/surgery_step/generic/amputate/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool,datum/surgery/surgery)