luciensadi / AwakeMUD

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

Fix get_bioover math, rebalance bioover recovery penalty #698

Closed jdevnull closed 1 year ago

jdevnull commented 1 year ago

Per M&M pg 78, all excessive bioware penalties are based on "points (or part thereof) their Bio Index exceeds their Essence Index". So we want to round up, whereas integer division truncates towards zero. So this fixes all the get_bioover related math.

Related to this, the current recovery penalty for excessive bioware doesn't kick in until get_bioover = 2, at which point it causes a massive drop, cutting recovery in half. So with the above fix, this would cause the recovery penalty to be cut in half when at 1.01 over instead of at 2 over. This request changes the penalty calculation to be -10% per point of get_bioover, which makes for a smoother drop and more closely resembles the rules written in M&M pg 78.

luciensadi commented 1 year ago

Merged, thank you!