Compile safe.

This commit is contained in:
Fermi
2019-05-25 05:35:03 +01:00
parent e2c1eb1d7c
commit 4b8cb81752
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -310,9 +310,8 @@
blood_ratio -= value
/mob/living/proc/ResetBloodVol()
if(ishuman(src))
if src.has_quirk(/datum/quirk/BloodPressure)
blood_ratio = 1.2
if(ishuman(src) && src.has_trait(TRAIT_HIGH_BLOOD))
blood_ratio = 1.2
blood_ratio = 1
/mob/living/proc/AdjustBloodVol(var/value)
@@ -154,10 +154,10 @@
o.remove_movespeed_modifier("hugedick")
o.AdjustBloodVol(bloodCalc)
if(22 to INFINITY)
if(prob(2))
to_chat(o, "<span class='warning'>Your indulgent johnson is so substantial, it's taking all your blood and affecting your movements!</b></span>")
o.add_movespeed_modifier("hugedick", TRUE, 100, NONE, override = TRUE, multiplicative_slowdown = moveCalc)
o.AdjustBloodVol(bloodCalc)
if(prob(2))
to_chat(o, "<span class='warning'>Your indulgent johnson is so substantial, it's taking all your blood and affecting your movements!</b></span>")
o.add_movespeed_modifier("hugedick", TRUE, 100, NONE, override = TRUE, multiplicative_slowdown = moveCalc)
o.AdjustBloodVol(bloodCalc)
..()
/datum/status_effect/chem/PElarger/on_remove(mob/living/carbon/human/o)