Bad indentation causing robot modules to embed

Conflicts:
	code/modules/mob/living/carbon/human/human_damage.dm
This commit is contained in:
mwerezak
2014-07-15 01:55:24 -04:00
committed by ZomgPonies
parent be448d9c73
commit b36ce010ad
@@ -316,10 +316,12 @@ This function restores all organs.
//blunt objects should really not be embedding in things unless a huge amount of force is involved
var/embed_chance = sharp? damage/W.w_class : damage/(W.w_class*3)
var/embed_threshold = sharp? 5*W.w_class : 15*W.w_class
//Sharp objects will always embed if they do enough damage.
if((sharp && damage > (10*W.w_class)) || (sharp && !ismob(W.loc)) || (damage > embed_threshold && prob(embed_chance)))
organ.embed(W)
else if( (damage > (5*W.w_class)) && ((!ismob(W.loc) && !sharp)) || (prob((damage - 2)/W.w_class) ) )
organ.embed(W)
return 1