Removed all global modifications of toxloss.

Added a setToxLoss() proc.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2653 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2011-12-10 14:36:08 +00:00
parent 46685aba5b
commit c2eaca7b29
11 changed files with 54 additions and 39 deletions

View File

@@ -40,10 +40,10 @@
paralysis = 0
weakened = 0
sleeping = 0
bruteloss = max(getBruteLoss(), 0)
toxloss = max(getToxLoss(), 0)
oxyloss = max(getOxyLoss(), 0)
fireloss = max(getFireLoss(), 0)
setBruteLoss(max(getBruteLoss(), 0))
setToxLoss(max(getToxLoss(), 0))
setOxyLoss(max(getOxyLoss(), 0))
setFireLoss(max(getFireLoss(), 0))
if(stat)
stat = 0
return