-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[XEDRA] Adjust dream magic xp requirements to jmath #79126
Conversation
FYI the idea is that dream magic cannot be learned from books, but there are few more underlying issues with it, like difficulty field makes it impossible for low lvl caster to cast a spell any reliably (probably can be fixed nowadays by moving difficulty formula to magic type), and approach of "you train spells when you cast them" incentivizes people to just abuse spells that do not need a target, keybinding it and then just repeating spell casting over and over and over side note, there was #78665, so i suspect some magic mods may want to have fail_effect defined in magic type |
I can expand the magic_type field in this PR to add some extra things such as fail cost + plus maybe a fail EOC and difficulty formula. I don't have any good ideas for the repeatedly casting spells on yourself over and over again though, unfortunately. |
That's an issues of xedra dream magic design, it's not something you can, or need, to solve, worry not |
Sinister laughter echoes in the distance
If it is at all possible to grind, regardless of how tedious it is, people will do it. We haven't solved that in 50 years of video game design (other than designing games that have no improvable stats), and it's probably not solvable. |
I understand if this is out of scope, but maybe JSONifying the exp-granted-per-cast formula would be a way to solve this? I admit this is a selfish request, though, because I want to adjust it for MoM psionics (so you get more if your Nether Attunement is higher). |
…cast and add a simple use for dream magic
Alright, I think something went wrong with my conflict fix which broke the labeling, but the actual PR content is fully functional |
Summary
Mods "[XEDRA] Adjust dream magic XP requirements to jmath"
Purpose of change
Currently dream magic uses EOCs to reduce the amount of effort required to level the spells. This approach does lead to some strangeness that I feel adjusting the xp formulas would fix.
Describe the solution
Dream Magic Adjustments:
Adjust the spell xp formulas using the magic_type
Add max_book_level field to magic type and individual spell definitions.
Add casting_xp_formula_id to magic type
Add failure_cost_percent to magic type
add failure_exp_percent to magic type
Add failure_eocs to magic type
Also give the adjusted xp formulas to inventor and dreamsmith since they're also 'dream' magic.
Describe alternatives you've considered
Different exp costs to level. I felt that 3 casts per level was a nice average from the prior numbers though.
Different numbers for the other new values, like failure cost. These numbers are fairly arbitrary.
Splitting eater and dreamer/inventor/dreamsmith xp requirements since eater spells tend to be more costly
Testing
Everything compiled, etc.
Saw that the spells formulas are adjusted as intended
Saw that artifacts were not usable past 0
Saw that xp was still 100 even at spell fail
Saw that some mana was still consumed even on spell failure.
Added the ethereal wings initiate eoc to test and saw that spell failures toggled the wings.
Additional context
For existing saves, this PR would permanently max out pretty much any already learned dream magic spells since they'd still have the same xp which is then calculated with the new formulas. However, leveling the spells was already pretty easy so its likely that most are already pretty close to max level. I don't think that this is too much of an issue.