Skip to content

Commit

Permalink
Leg tally fix (#8226)
Browse files Browse the repository at this point in the history
  • Loading branch information
Humonitarian committed Jun 30, 2023
1 parent f79fb0c commit 83ac3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/organs/external/_external.dm
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@
if(status & ORGAN_SPLINTED)
. += 0.5

var/muscle_eff = owner.get_specific_organ_efficiency(OP_MUSCLE, organ_tag)
var/nerve_eff = max(owner.get_specific_organ_efficiency(OP_NERVE, organ_tag),1)
var/muscle_eff = max(owner.get_specific_organ_efficiency(OP_MUSCLE, organ_tag), 50)
var/nerve_eff = max(owner.get_specific_organ_efficiency(OP_NERVE, organ_tag), 100)
muscle_eff = (muscle_eff/100) - (muscle_eff/nerve_eff) //Need more nerves to control those new muscles
if(muscle_eff)
. -= 0.6 * muscle_eff / (muscle_eff + 0.4) // Diminishing returns with a hard cap of 0.6 and soft cap of 0.5
Expand Down

0 comments on commit 83ac3a4

Please sign in to comment.