[MoM] Jmathify and variable-ize power learning times #73529
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Mods "[MoM] Jmathify and variable-ize power learning times"
Purpose of change
Someone suggested that intelligence and proficiencies should make learning new powers easier, and that's a completely reasonable request.
Implements #73519
Describe the solution
Replace the numeric values in the insight EoC and the variable power-learning EoCs with Jmath and variables. Variables are initiated on game start and as a one-time EoC that runs for existing games.
The values are the same as previously (tier 1 power EoCs run every 12 to 24 hours, insight is gained once every 12 to 168 hours, etc), but are now affected by various factors. Insight is gained 3% faster per point of intelligence above 10 (capped at 60% faster at 30 Intelligence) and 5% faster per point of Metaphysics above 5. The power-learning EoCs for each path run 3% faster per point of intelligence above 10 (capped at 60% faster as before) with a flat 20% bonus if you know the insight proficiency for that path.
Insight proficiencies have been reduced to requiring 32 h of practice.
Describe alternatives you've considered
Testing
EoCs still run, some observed times were lower than previous possible minima.
Loaded into a game made before the changes, EoCs still functioned.
Additional context
Man it sure is fun to test things in a mod based on unpredictable outcomes