Merge pull request #2595 from Fox-McCloud/painkiller-movement

Painkillers and Movement Speed
This commit is contained in:
TheDZD
2015-11-19 20:13:14 -05:00
2 changed files with 6 additions and 2 deletions
@@ -14,6 +14,10 @@
var/health_deficiency = (100 - health + staminaloss)
if(reagents)
for(var/datum/reagent/R in reagents.reagent_list)
if(R.shock_reduction)
health_deficiency -= R.shock_reduction
if(health_deficiency >= 40)
tally += (health_deficiency / 25)
+2 -2
View File
@@ -278,7 +278,7 @@ datum/reagent/sal_acid
description = "This is a is a standard salicylate pain reliever and fever reducer."
reagent_state = LIQUID
color = "#B3B3B3"
shock_reduction = 40
shock_reduction = 25
overdose_threshold = 25
datum/reagent/sal_acid/on_mob_life(var/mob/living/M as mob)
@@ -444,7 +444,7 @@ datum/reagent/morphine
color = "#C8A5DC"
overdose_threshold = 30
addiction_threshold = 25
shock_reduction = 60
shock_reduction = 50
datum/reagent/morphine/on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom