Skip to content

Commit

Permalink
Update shrapnel_removal.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Dec 1, 2024
1 parent 012e4ca commit 9b2530e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/datums/elements/shrapnel_removal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
if(skill < SKILL_MEDICAL_PRACTICED)
user.visible_message(span_notice("[user] fumbles around with the [removaltool]."),
span_notice("You fumble around figuring out how to use [removaltool]."))
if(skill > SKILL_MEDICAL_UNTRAINED)
fumble_duration * 0.5 // let's not fuck around with absurd formulas
if(!do_after(user, fumble_duration, NONE, target, BUSY_ICON_UNSKILLED))
if(!do_after(user, fumble_duration - (fumble_duration * 0.5 * skill), NONE, target, BUSY_ICON_UNSKILLED))
return
user.visible_message(span_green("[user] starts searching for shrapnel in [target] with the [removaltool]."), span_green("You start searching for shrapnel in [target] with the [removaltool]."))
if(!do_after(user, do_after_time, NONE, target, BUSY_ICON_FRIENDLY, BUSY_ICON_MEDICAL))
Expand Down

0 comments on commit 9b2530e

Please sign in to comment.