mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
-Removed setBruteLoss and setFireLoss since they served no purpose.
-Overrided the proc for get[Fire/Brute]Loss and adjust[Fire/Brute]Loss for humans to use the total damage proc. -Removed redundant checks aka setBruteLoss(max(getBruteLoss(), 0) since the adjust brute proc already prevents it from going negative. -Commented out the UpdateDamage() procs contents as it did nothing. If problems arise we might have to investigate. Soon I will remove the proc entierly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2673 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -40,10 +40,6 @@
|
||||
paralysis = 0
|
||||
weakened = 0
|
||||
sleeping = 0
|
||||
setBruteLoss(max(getBruteLoss(), 0))
|
||||
setToxLoss(max(getToxLoss(), 0))
|
||||
setOxyLoss(max(getOxyLoss(), 0))
|
||||
setFireLoss(max(getFireLoss(), 0))
|
||||
if(stat)
|
||||
stat = 0
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user