Immovable rods can now hit mobs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@979 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-07 06:49:07 +00:00
parent 9fab076d4b
commit 58606c1011
2 changed files with 6 additions and 3 deletions
@@ -884,7 +884,10 @@
var/dam_zone = pick("chest", "chest", "chest", "head", "groin")
if (istype(src.organs[dam_zone], /datum/organ/external))
var/datum/organ/external/temp = src.organs[dam_zone]
temp.take_damage((istype(O, /obj/meteor/small) ? 10 : 25), 30)
if (istype(O, /obj/immovablerod))
temp.take_damage(101, 0)
else
temp.take_damage((istype(O, /obj/meteor/small) ? 10 : 25), 30)
src.UpdateDamageIcon()
src.updatehealth()
return