mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Proper MaxHealth checks and Crit Point (#10881)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
901dc552fc
commit
4ce45f8cc4
@@ -37,7 +37,7 @@
|
||||
C.does_not_breathe = 0 //This means they don't autoheal the oxy damage from the next step
|
||||
|
||||
if(C.stat != DEAD)
|
||||
C.adjustOxyLoss(C.maxHealth * 2)
|
||||
C.adjustOxyLoss(C.getMaxHealth() * 2)
|
||||
|
||||
C.forbid_seeing_deadchat = TRUE
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
var/mob/living/carbon/human/C = src
|
||||
var/healing_amount = 40
|
||||
if(src.mind.changeling.recursive_enhancement)
|
||||
healing_amount = C.maxHealth
|
||||
healing_amount = C.getMaxHealth()
|
||||
to_chat(src, span_notice("We completely heal ourselves."))
|
||||
spawn(0)
|
||||
C.adjustBruteLoss(-healing_amount)
|
||||
|
||||
Reference in New Issue
Block a user