TG update: 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-24 22:07:37 +02:00
committed by Albert Iordache
parent ea79e4b272
commit fac10fb031
11 changed files with 54 additions and 39 deletions
@@ -233,10 +233,10 @@
O.loc = usr.loc
O.name = text("monkey ([])",copytext(md5(usr.real_name), 2, 6))
O.toxloss = usr.getToxLoss()
O.bruteloss = usr.getBruteLoss()
O.oxyloss = usr.getOxyLoss()
O.fireloss = usr.getFireLoss()
O.setToxLoss(usr.getToxLoss())
O.setBruteLoss(usr.getBruteLoss())
O.setOxyLoss(usr.getOxyLoss())
O.setFireLoss(usr.getFireLoss())
O.stat = usr.stat
O.a_intent = "hurt"
for (var/obj/item/weapon/implant/I in implants)
@@ -328,10 +328,10 @@
updateappearance(O,O.dna.uni_identity)
domutcheck(O, null)
O.toxloss = usr.getToxLoss()
O.bruteloss = usr.getBruteLoss()
O.oxyloss = usr.getOxyLoss()
O.fireloss = usr.getFireLoss()
O.setToxLoss(usr.getToxLoss())
O.setBruteLoss(usr.getBruteLoss())
O.setOxyLoss(usr.getOxyLoss())
O.setFireLoss(usr.getFireLoss())
O.stat = usr.stat
for (var/obj/item/weapon/implant/I in implants)
I.loc = O
@@ -372,10 +372,10 @@
spawn(1200)
usr.stat = 0
//usr.fireloss = 0
usr.toxloss = 0
usr.setToxLoss(0)
//usr.bruteloss = 0
usr.oxyloss = 0
usr.cloneloss = 0
usr.setOxyLoss(0)
usr.setCloneLoss(0)
usr.paralysis = 0
usr.stunned = 0
usr.weakened = 0