Closed jdevnull closed 11 months ago
Oops, can't assign null to a pointer to a struct. What's the best way to fix this for the adrenal pump?
Oh, wait, that does work. Nevermind...
Thanks! This one will take a long time to review just because of how important-yet-spaghettified that particular section of the code is and how difficult it is to test / validate properly.
I'm now thinking that soft-capping total attributes at the end of everything is better than having to differentiate between "permanent" and "temporary" bonuses. Closing this.
Previously, some permanent bonuses (i.e., those that are untimed) were not subject to caps, and some temporary bonuses (i.e., those with time limits and typically have some type of crash effect when the boost wears off) were subject to caps. This makes it so that all permanent modifiers are calculated before caps and all temporary modifiers are calculated after caps.
This fixes nerve strike so that it can now disable somebody that has adept improved quickness.
This does negatively impact troll/giant/cyclops adepts that could previously reach 21/22/23 permanent strength (adept improved strength 6, muscle augmentation 4, and a suprathyroid gland), but would now be capped to 20. Question: do we want to increase the cap to support these character types?
While we're at it, this also fixes the troll/minotaur dermal skin bonus, which should provide +1 body, not impact (SR3, pg 56).