mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fix to breathing in bad air.
This commit is contained in:
@@ -560,8 +560,7 @@
|
||||
if(toxins_pp > safe_toxins_max)
|
||||
var/ratio = (poison/safe_toxins_max) * 10
|
||||
if(reagents)
|
||||
//TODO: Fix Ravensdale's shit, make toxins toxins again instead of phoron.
|
||||
reagents.add_reagent("phoron", Clamp(ratio, MIN_TOXIN_DAMAGE, MAX_TOXIN_DAMAGE))
|
||||
reagents.add_reagent("toxin", Clamp(ratio, MIN_TOXIN_DAMAGE, MAX_TOXIN_DAMAGE))
|
||||
phoron_alert = max(phoron_alert, 1)
|
||||
else
|
||||
phoron_alert = 0
|
||||
|
||||
@@ -364,7 +364,7 @@
|
||||
var/ratio = (breath.phoron/safe_phoron_max) * 10
|
||||
//adjustToxLoss(Clamp(ratio, MIN_PLASMA_DAMAGE, MAX_PLASMA_DAMAGE)) //Limit amount of damage toxin exposure can do per second
|
||||
if(reagents)
|
||||
reagents.add_reagent("phoron", Clamp(ratio, MIN_TOXIN_DAMAGE, MAX_TOXIN_DAMAGE))
|
||||
reagents.add_reagent("toxin", Clamp(ratio, MIN_TOXIN_DAMAGE, MAX_TOXIN_DAMAGE))
|
||||
phoron_alert = max(phoron_alert, 1)
|
||||
else
|
||||
phoron_alert = 0
|
||||
|
||||
Reference in New Issue
Block a user