mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
Chemical Improvements & Tweaks: Side-effects, overdoses, and more. (#9708)
This commit is contained in:
@@ -120,10 +120,13 @@
|
||||
|
||||
var/can_heal = damage && damage < max_damage && (damage % damage_threshold_value || owner.chem_effects[CE_BRAIN_REGEN] || (!past_damage_threshold(3) && owner.chem_effects[CE_STABLE]))
|
||||
var/damprob
|
||||
var/brain_regen_amount = owner.chem_effects[CE_BRAIN_REGEN] / 10
|
||||
//Effects of bloodloss
|
||||
switch(blood_volume)
|
||||
if(BLOOD_VOLUME_SAFE to INFINITY)
|
||||
if(can_heal)
|
||||
if(can_heal && owner.chem_effects[CE_BRAIN_REGEN])
|
||||
damage = max(damage - brain_regen_amount, 0)
|
||||
else if(can_heal)
|
||||
damage = max(damage-1, 0)
|
||||
if(BLOOD_VOLUME_OKAY to BLOOD_VOLUME_SAFE)
|
||||
if(prob(1))
|
||||
|
||||
Reference in New Issue
Block a user