Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit f1c99b1

Browse files
preserve!
1 parent 8404cfe commit f1c99b1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

code/modules/reagents/chemistry/reagents/gas_reagents.dm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,18 @@
255255
organs.applyOrganDamage(-20)
256256
if(organs.organ_flags & ORGAN_FAILING)
257257
organs.organ_flags &= ~ORGAN_FAILING
258-
if(L.stat == DEAD)
258+
if(L.stat == DEAD) //Healium kicks harder if the body is dead
259259
if(L.getBruteLoss() >= MAX_REVIVE_BRUTE_DAMAGE)
260260
L.adjustBruteLoss(-(L.getBruteLoss() - MAX_REVIVE_FIRE_DAMAGE + 50))
261261
if(L.getFireLoss() >= MAX_REVIVE_FIRE_DAMAGE)
262262
L.adjustFireLoss(-(L.getFireLoss() - MAX_REVIVE_FIRE_DAMAGE + 50))
263+
if(health <= HEALTH_THRESHOLD_DEAD)
264+
if(L.getOxyLoss())
265+
L.adjustOxyLoss(-50)
266+
if(L.getToxLoss())
267+
L.adjustToxLoss(-50)
268+
if(L.getCloneLoss())
269+
L.adjustCloneLoss(-50)
263270
ADD_TRAIT(L, TRAIT_PRESERVED_ORGANS, "healium")
264271

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

0 commit comments

Comments
 (0)