Implemented getToxLoss()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2528 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2011-11-17 23:42:09 +00:00
parent 5b81f6ffa3
commit 38d90773cc
41 changed files with 90 additions and 89 deletions

View File

@@ -41,7 +41,7 @@
weakened = 0
sleeping = 0
bruteloss = max(getBruteLoss(), 0)
toxloss = max(toxloss, 0)
toxloss = max(getToxLoss(), 0)
oxyloss = max(getOxyLoss(), 0)
fireloss = max(fireloss, 0)
if(stat)
@@ -50,7 +50,7 @@
proc/UpdateDamage()
health = 60 - (getOxyLoss() + toxloss + fireloss + getBruteLoss() + cloneloss)
health = 60 - (getOxyLoss() + getToxLoss() + fireloss + getBruteLoss() + cloneloss)
return