Skip to content

Commit

Permalink
Update limbs.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers committed Jan 16, 2024
1 parent 6d9d36b commit 2966039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/organs/limbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ treat_grafted var tells it to apply to grafted but unsalved wounds, for burn kit

//if the chance was not set by what called fracture(), the endurance check is done instead
if(bonebreak_probability == null) //bone break chance is based on endurance, 25% for survivors, erts, 100% for most everyone else.
bonebreak_probability = 100 / Clamp(owner.skills?.get_skill_level(SKILL_ENDURANCE)-1,1,100) //can't be zero
bonebreak_probability = 100 / clamp(owner.skills?.get_skill_level(SKILL_ENDURANCE)-1,1,100) //can't be zero

var/list/bonebreak_data = list("bonebreak_probability" = bonebreak_probability)
SEND_SIGNAL(owner, COMSIG_HUMAN_BONEBREAK_PROBABILITY, bonebreak_data)
Expand Down

0 comments on commit 2966039

Please sign in to comment.