mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
Merge pull request #2595 from Fox-McCloud/painkiller-movement
Painkillers and Movement Speed
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user