Some more work/bugfixes on Metroids.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1794 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2011-07-07 07:56:00 +00:00
parent 9bd966bf01
commit 4ccc71f047
9 changed files with 156 additions and 21 deletions

View File

@@ -1419,8 +1419,11 @@ datum
on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
M:bodytemperature += 5
if(prob(40))
if(prob(40) && !istype(M, /mob/living/carbon/metroid))
M.take_organ_damage(0, 1)
if(istype(M, /mob/living/carbon/metroid))
M:bodytemperature += rand(5,10)
..()
return
@@ -1435,6 +1438,9 @@ datum
M:bodytemperature -= 5
if(prob(40))
M.take_organ_damage(0, 1)
if(prob(80) && istype(M, /mob/living/carbon/metroid))
M.fireloss += rand(15,30)
if(prob(5)) M << "\red You feel a terrible chill inside your body!"
..()
return