Added a getBruteLoss() proc to mob.dm and then replaced all calls of bruteloss with it. Except for the ones commented out.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2505 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2011-11-10 14:45:25 +00:00
parent e3320d9cb1
commit ff84314ce6
58 changed files with 640 additions and 269 deletions

View File

@@ -40,7 +40,7 @@
paralysis = 0
weakened = 0
sleeping = 0
bruteloss = max(bruteloss, 0)
bruteloss = max(getBruteLoss(), 0)
toxloss = max(toxloss, 0)
oxyloss = max(oxyloss, 0)
fireloss = max(fireloss, 0)
@@ -50,7 +50,7 @@
proc/UpdateDamage()
health = 60 - (oxyloss + toxloss + fireloss + bruteloss + cloneloss)
health = 60 - (oxyloss + toxloss + fireloss + getBruteLoss() + cloneloss)
return