luciensadi / AwakeMUD

The Community Edition fork of the 'Awakened Worlds' Shadowrun 3 MUD codebase.
Other
55 stars 30 forks source link

Minor fixes #737

Closed jdevnull closed 4 months ago

jdevnull commented 4 months ago

Repair costs at Jim's FixIt were scaling by current condition percentage (i.e., the more damaged the item, the cheaper the repair cost). PR changes this to scale by the actual damage percentage.

For vehicle repairs, get_skill was being called before determining the TN from vehicle damage and other modifiers, meaning that a character could always default regardless of the TN. PR swaps the order of operations so that repairing wrecks require actually having the appropriate skill.

luciensadi commented 4 months ago

LGTM, thanks!