Skip to content

Commit

Permalink
preserve!
Browse files Browse the repository at this point in the history
  • Loading branch information
warface1234455 committed Dec 10, 2024
1 parent 8404cfe commit f1c99b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion code/modules/reagents/chemistry/reagents/gas_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,18 @@
organs.applyOrganDamage(-20)
if(organs.organ_flags & ORGAN_FAILING)
organs.organ_flags &= ~ORGAN_FAILING
if(L.stat == DEAD)
if(L.stat == DEAD) //Healium kicks harder if the body is dead
if(L.getBruteLoss() >= MAX_REVIVE_BRUTE_DAMAGE)
L.adjustBruteLoss(-(L.getBruteLoss() - MAX_REVIVE_FIRE_DAMAGE + 50))
if(L.getFireLoss() >= MAX_REVIVE_FIRE_DAMAGE)
L.adjustFireLoss(-(L.getFireLoss() - MAX_REVIVE_FIRE_DAMAGE + 50))
if(health <= HEALTH_THRESHOLD_DEAD)

Check failure on line 263 in code/modules/reagents/chemistry/reagents/gas_reagents.dm

View workflow job for this annotation

GitHub Actions / Lints

undefined var: "health"
if(L.getOxyLoss())
L.adjustOxyLoss(-50)
if(L.getToxLoss())
L.adjustToxLoss(-50)
if(L.getCloneLoss())
L.adjustCloneLoss(-50)
ADD_TRAIT(L, TRAIT_PRESERVED_ORGANS, "healium")

/datum/reagent/gas/healium/on_mob_delete(mob/living/carbon/L)
Expand Down

0 comments on commit f1c99b1

Please sign in to comment.