mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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
@@ -50,7 +50,7 @@
|
||||
/obj/item/inserted_spell/asphyxiation/on_expire()
|
||||
..()
|
||||
|
||||
// if((getOxyLoss() > (species.total_health/2)) || (health <= config.health_threshold_crit))
|
||||
// if((getOxyLoss() > (species.total_health/2)) || (health <= get_crit_point())
|
||||
|
||||
/obj/item/inserted_spell/asphyxiation/proc/predict_crit(var/pulses_remaining, var/mob/living/carbon/human/victim, var/previous_damage = 0)
|
||||
if(pulses_remaining <= 0) // Infinite loop protection
|
||||
|
||||
Reference in New Issue
Block a user