Skip to content

Commit

Permalink
makes the start of damage slowdown percent based (#10380)
Browse files Browse the repository at this point in the history
* makes damage slowdown percent based

* Update species.dm
  • Loading branch information
SomeguyManperson committed Nov 14, 2020
1 parent 3ff494f commit 2f7345a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ GLOBAL_LIST_EMPTY(mentor_races)
. += I.slowdown
if(!HAS_TRAIT(H, TRAIT_IGNOREDAMAGESLOWDOWN))
var/health_deficiency = max(H.maxHealth - H.health, H.staminaloss)
if(health_deficiency >= 40)
if(health_deficiency >= H.maxHealth * 0.4)
if(flight)
. += (health_deficiency / 75)
else
Expand Down

0 comments on commit 2f7345a

Please sign in to comment.