Skip to content

Commit

Permalink
Fixed the time multiples so it doesn't nerf anyon
Browse files Browse the repository at this point in the history
  • Loading branch information
Katskan committed Jul 3, 2023
1 parent 1a81cf0 commit ddc8f0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/surgery/surgery_steps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ affected_limb, or location vars. Also, in that case there may be a wait between

if(ispath(tool_type)) //Tool speed modifier. This means hand & any item are 100% efficient as surgical tools.
tool_modifier = tools[tool_type]
if(skillcheck(user, SKILL_IMPROVISATION_SKILLED))
step_duration *= 1 + (tool_modifier - 1 * get_skill_duration_multiplier(SKILL_IMPROVISATION))
if(skillcheck(user, SKILL_IMPROVISATION, SKILL_IMPROVISATION_SKILLED))
step_duration *= 1 + (tool_modifier * user.get_skill_duration_multiplier(SKILL_IMPROVISATION))

if(surgery.lying_required) //Surgery surface modifier.
surface_modifier = target.buckled?.surgery_duration_multiplier //If they're buckled, use the surface modifier of the thing they're buckled to.
Expand All @@ -112,8 +112,8 @@ affected_limb, or location vars. Also, in that case there may be a wait between
for(var/obj/surface in get_turf(target)) //Otherwise, get the lowest surface modifier of objects on their turf.
if(surface_modifier > surface.surgery_duration_multiplier)
surface_modifier = surface.surgery_duration_multiplier
if(skillcheck(user, SKILL_IMPROVISATION_MASTER))
step_duration *= 1 + (surface_modifier - 1 * get_skill_duration_multiplier(SKILL_IMPROVISATION + 0.25))
if(skillcheck(user, SKILL_IMPROVISATION, SKILL_IMPROVISATION_MASTER))
step_duration *= 1 + (surface_modifier * user.get_skill_duration_multiplier(SKILL_IMPROVISATION))

var/list/human_modifiers = list("surgery_speed" = 1.0, "pain_reduction" = 0)
SEND_SIGNAL(user, COMSIG_HUMAN_SURGERY_APPLY_MODIFIERS, human_modifiers)
Expand Down

0 comments on commit ddc8f0e

Please sign in to comment.