This commit is contained in:
Name
2019-03-06 04:35:12 -05:00
parent 62b332a658
commit 07f8558e1f
4 changed files with 14 additions and 8 deletions
+4
View File
@@ -73,6 +73,10 @@
if(damagetype & MANUAL_SUICIDE) //Assume the object will handle the death.
return
if(damagetype & MANUAL_SUICIDE_NONLETHAL)
set_suicide(FALSE)
return
//If something went wrong, just do normal oxyloss
if(!(damagetype & (BRUTELOSS | FIRELOSS | TOXLOSS | OXYLOSS) ))
adjustOxyLoss(max(200 - getToxLoss() - getFireLoss() - getBruteLoss() - getOxyLoss(), 0))