Prevents golems and skeletons from dropping due to shards and mousetraps

This commit is contained in:
Firecage
2015-05-07 15:44:17 +02:00
parent dfaf90c79e
commit 1fb8dcecd1
4 changed files with 11 additions and 2 deletions
@@ -332,6 +332,8 @@
playsound(loc, 'sound/effects/glass_step.ogg', 50, 1)
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(HARDFEET in H.dna.species.specflags)
return 0
if(!H.shoes)
H.apply_damage(5,BRUTE,(pick("l_leg", "r_leg")))
H.Weaken(3)