Fire damage no longer pretends to heal over time while leaving the actual injuries intact to reassert themselves when something calls your mob's updatehamage() proc.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1080 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-20 22:05:40 +00:00
parent 97ac5d3f1a
commit 4b47e64fd4

View File

@@ -144,12 +144,15 @@
handle_mutations_and_radiation()
if(src.fireloss)
if(src.mutations & 2 || prob(50))
switch(src.fireloss)
if(1 to 50)
src.fireloss--
if(51 to 100)
src.fireloss -= 5
for(var/A in src.organs)
if(!src.organs[A]) continue
var/datum/organ/external/affecting = src.organs[A]
if(!istype(affecting)) continue
if(src.mutations & 2 || (prob(1) && prob(75)))
affecting.heal_damage(0,1)
src.UpdateDamageIcon()
src.updatehealth()
if (src.mutations & 8 && src.health <= 25)
src.mutations &= ~8